SHARE
TWEET

Untitled

a guest May 31st, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function genRandomString($maxLength) {
  3.     for($i=0; $i < $maxLength; $i++) {
  4.         if($i == ($maxLength/2)) $str .= "___0x31337___";
  5.         $str .= chr(rand(33,126));
  6.     }
  7.     return $str;
  8. }
  9.  
  10. $url = "some URL";
  11.  
  12.  
  13. $ch = curl_init();
  14. print("<pre>");
  15. while(1) {
  16.  
  17.     curl_setopt($ch, CURLOPT_URL,$url);
  18.  
  19.     curl_setopt($ch, CURLOPT_POST, 1);
  20.    
  21.     $u = genRandomString(rand(5,40));
  22.     $p = genRandomString(rand(8,64));
  23.        
  24.     curl_setopt($ch, CURLOPT_POSTFIELDS,"user=".$u."&pass=".$p."");
  25.  
  26.     $result= curl_exec ($ch);
  27.    
  28.    
  29.     print $result."\n";
  30.  
  31. }
  32. print("</pre>");
  33. curl_close ($ch);
  34.  
  35. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top