Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://onlinewebtool.com/class/cmsdetector.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "url=http%\"3A\"%\"2F\"%\"2F'.$url.'\"%\"2F\"");
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
- $headers = array();
- $headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0';
- $headers[] = 'Accept: */*';
- $headers[] = 'Accept-Language: id,en-US;q=0.7,en;q=0.3';
- $headers[] = 'Referer: http://onlinewebtool.com/cmsdetector.php';
- $headers[] = 'Content-Type: application/x-www-form-urlencoded';
- $headers[] = 'X-Requested-With: XMLHttpRequest';
- $headers[] = 'Proxy-Authorization: Digest username=\"58845099\"\",';
- $headers[] = 'Connection: keep-alive';
- $headers[] = 'Cookie: __cfduid=d99fdaa4b63ffb202f6a927b23d9e06661552742175; __utma=106887645.184595732.1552742193.1552833216.1553100318.3; __utmz=106887645.1552742193.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); cf_clearance=67010406af29e512a4bdce45758965db935febc8-1553100299-900-150; PHPSESSID=5fvtco3ip4c2gknl4vrkh235d1; hu=1; __utmb=106887645.2.10.1553100318; __utmc=106887645; __utmt=1';
- curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
- $result = curl_exec($ch);
- if (curl_errno($ch)) {
- echo 'Error:' . curl_error($ch);
- }
- curl_close ($ch);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement