Honhar Engineer

Honhar Engineer
Thanks for visiting,stay connected for more updates !

Wednesday, February 19, 2014

E-mail Spoofing: Anonymous Mail Through php

        email
Hi friends! Few weeks back I have got few mails asking me to write on tracing anonymous mails. So I thought today to get started with the topic of anonymous mailing. Before you learn to trace an email you must know to create an anonymous mail. Using this technique you can email any user from any email service you wish. You don’t even need the access to the email id from which you want the email to be sent. Today I am gonna introduced to a website service and will give you a basic idea on how it works!
After reading this article you will be able to send an email from any email address. This is also known as Email Spoofing. This can be cone in many methods, in this post I will describe to do it with a fake mailer php script.
Note: If you send an email from an id of a particular server to the id that corresponds to the same server then your email may alert the user! That is, if you mail from a Gmail id to another Gmail id using fake mailer script then there would be a warning message that would be displayed at the bottom of the email.
So let’s start the email spoofing…!
  1. Go to http://emkei.cz
  2. Fill the From NameFrom Email and To fields.
  3. Write the message in the Text field.
  4. Enter the CAPTCHA and click Send!
  5. Agree the T&C and your mail is sent!
So what is happening here?
This webpage contains a PHP code similar to the one which is given below. This script generates an email that is to be sent with the provided from email address and then it confirms whether the mail is successfully sent or not.
echo” Enter the ’To’ email address:”;
$to = $_GET[email];
echo”Enter the ‘Subject’ of email”;
$subject = $_GET[header];
echo”Enter the ‘From’ email address:”;
$fake = $_GET[from];
echo”Enter the ‘Message’”;
$message = $_GET[message];
}
$headers = “MIME-Version: 1.0″ . “\r\n”;
$headers .= “Content-type:text/html;charset=iso-8859-1″ . “\r\n”;
$headers .= “From: ” . $fake . ” <” . $fake . “>” . “\r\n”;
if (mail($to, $subject, $message, $headers))
{
echo”The e-mail was successfully sent to ” . $to . “
\n”;
echo”From: ” . $fake . “
\n”;
echo”Subject: ” . $subject . “
\n”;
echo”Message:
\n”;
echo”” . $message . “
“;
}
else
{
echo”Opps there was a problem sending the email\n”;
}
?>
To get this script into action you will have to host this PHP script at a web hosting server. Then you have to make a webpage using HTML and in the form of action=fakemailer.php has to be written. The fakemailer.php is the name of the hosted PHP file with the above code.
Remember, the email which is sent will be associated with an IP address of the web server where you hosted your PHP script. Therefore this makes the fake make traceable!
A detailed description on creating such kind of webpages and tracing the anonymous mails will be provided in my upcoming articles.
Till then have fun experimenting with fake mailing!
Feel free to comment below… Your response is most precious to us!
Do you Like this story..?

Get Free Email Updates Daily!

Follow us!

No comments:

Post a Comment