| Server IP : 104.21.94.62 / Your IP : 216.73.216.41 Web Server : Apache System : Linux semi1.us.cloudlogin.co 5.10.244-xeon-hst #1 SMP Sun Sep 14 17:09:20 UTC 2025 x86_64 User : xessglobal ( 271017) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : ON Directory : /proc/self/root/usr/local/ei2/ |
Upload File : |
#!/usr/local/php7.3/bin/php
<?php
$full_path = $argv[1];
$path = $argv[2];
$cmd = `cp -a /home/www/shared/laravel/$full_path/public/* .`;
$cmd = `(cd /home/www/shared/laravel/$full_path; /usr/local/php7.3/bin/php artisan key:generate) &> /home/www/log.txt.1`;
$index = file_get_contents('index.php');
$index = str_replace('__DIR__', "'/home/www/shared/laravel/$full_path/'", $index);
$index = str_replace('/../', "/", $index);
file_put_contents('index.php', $index);
/*
file_put_contents('index.php', <<<OUTPUT
<?php
require('/home/www/shared/laravel/$path/public/index.php');
OUTPUT
);
file_put_contents('.htaccess', <<<OUTPUT
RewriteEngine On
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
OUTPUT
);
*/