Как подделать адрес электронной почты

Сообщения
2,839
Реакции
17,494
Баллы
113
Как подделать адрес электронной почты

[THANKS]
The easiest way
There is a site like deadfake that describes itself as "a site that lets you send fake emails to anyone you like for free" or anonymailer.net or spoofbox.com. There are dozens of them. Many of them are free, some cost a little money to send mail.

Go to any of them. Then:

Enter the recipient's email address in the "To" field.

Enter any email you want in the sender field.

Compose your message and click "Send Now"

UNIX command line
If you have a computer with mail services installed / you can telnet or SSH to a computer with mail, then you can spoof the address from one line.

We just enter this:

Code:
mail -a From: [email protected]

This command creates the message "[email protected]" in the "Sender" field. Enter the subject line and the rest of the message, press Ctrl-D when done and the message will disappear.

This does not work on every version of Unix, and whether it works at all depends on how your system is configured (whether it is connected to Sendmail, etc.). However, this is the basic idea, and it works on many systems.

PHP
Since I am not very good at programming, I use PHP when I need to code things for my personal websites. It's fast, easy, and used by about 90% of people (like me) who don't know more about programming than they might have found out through google searches and steal snippets of code posted on various public forums. (This is why PHP is often accused of being insecure.)

Without going into all the pros and cons of PHP, I will say that it is perfect for email. You can spoof emails with five lines of very simple PHP code:

Code:
<? php
$ to = '[email protected]';
$ subject = 'the subject';
$ message = 'hello';
$ headers = 'From: [email protected]'. "\ r \ n";
mail ($ to, $ subject, $ message, $ headers);
?>

Email is built on trust
Until recently, the world of email was completely insecure.

Regardless of who I am, if I use the Unix mail command or PHP mail (), the email is sent to the Internet, and the services deliver it to anyone with the headers specified earlier. Nobody checks if I have the address I used in the from field. Nobody cares.

Well, almost no one.
[/THANKS]
 
Сверху Снизу