Created
May 17, 2023 03:56
-
-
Save rmdhfz/d8a60c7c94b14be25b64ef62bba23673 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$UA = $_SERVER["HTTP_USER_AGENT"]; | |
private function ProtectWebCopier(){ | |
global $UA; | |
$state = false; | |
if (preg_match("/webzip|httrack|wget|FlickBot|downloader|production | |
bot|superbot|PersonaPilot|NPBot|WebCopier|vayala|imagefetch| | |
Microsoft URL Control|mac finder| | |
emailreaper|emailsiphon|emailwolf|emailmagnet|emailsweeper| | |
Indy Library|FrontPage|cherry picker|WebCopier|netzip| | |
Share Program|TurnitinBot|full web bot|zeus/i",$UA)){ | |
$state = true; | |
print "sorry :)"; | |
exit(); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment