403Webshell
Server IP : 104.26.5.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/aurointeriors/public_html/wp-content/plugins/mailin/wonderpush-php-lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/aurointeriors/public_html/wp-content/plugins/mailin/wonderpush-php-lib/build.php
#!/usr/bin/env php
<?php
chdir(__DIR__);

$autoload = (int)$argv[1];
$returnStatus = null;

$composerOriginalRaw = file_get_contents('composer.json');
if (!$autoload) {
  // Modify composer to not autoload WonderPush
  $composer = json_decode($composerOriginalRaw, true);
  unset($composer['autoload']);
  file_put_contents('composer.json', json_encode($composer));
}

passthru('composer install', $returnStatus);
if (!$autoload) {
  // Revert rewrite
  file_put_contents('composer.json', $composerOriginalRaw);
}
if ($returnStatus !== 0) {
  exit(1);
}


$config = $autoload ? 'phpunit.xml' : 'phpunit.no_autoload.xml';
passthru("./vendor/bin/phpunit -c $config", $returnStatus);
if (!$autoload) {
  // Revert autoloader modifications made earlier
  passthru('composer dump-autoload');
}
if ($returnStatus !== 0) {
  exit(1);
}

Youez - 2016 - github.com/yon3zu
LinuXploit