29.09.2015 Views

Legal Disclaimer

Hacking-For-Beginners-a-beginners-guide-for-learning-ethical-hacking

Hacking-For-Beginners-a-beginners-guide-for-learning-ethical-hacking

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Hacking For Beginners – Manthan Desai 2010<br />

11. How to Check The email is original or Not<br />

First of all let us see How email system is working over internet.<br />

The email is sent on internet as shown in below picture<br />

So Here The Sender i.e abc@server1.com is sending a mail to xyz@server2.in. so the sender will type the mail and click on<br />

send button and the mail will go to SERVER1.com whereSERVER1.com will forward the mail over internet and the internet<br />

will search the xyz@server2.in email ids server and send it to SERVER2.in and the the SERVER2.in will search for<br />

the xyz@server2.in in their own database and then the mail will be forwarded to xyz@server2.in and when the XYZ user<br />

login to their account they will see an email in their inbox which is from abc@server1.com.<br />

Now How To send the fake mail<br />

To send fake mail We need to Bypass the abc@server1.com and SERVER1.com both and directly send an email over<br />

internet .<br />

So for that we will use a .php script as php has a function mail(); which can send email to any one without the<br />

SERVER1.com and directly delivering the mail to SERVER2.in and then SERVER2.in will search for the xyz@server2.in in<br />

their own database and then the mail will be forwarded to xyz@server2.in and when the XYZ user login to their account<br />

they will see an email in their inbox which is from abc@server1.com.<br />

w w w . h a c k i n g t e c h . c o . t v Page 113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!