![]() |
|
[TUT] How to EASILY send e-Mail from ANY address through Terminal/CMD prompt [TUT] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47) +----- Thread: [TUT] How to EASILY send e-Mail from ANY address through Terminal/CMD prompt [TUT] (/showthread.php?tid=4223077) |
[TUT] How to EASILY send e-Mail from ANY address through Terminal/CMD prompt [TUT] - FormerlyS - May 11, 2014 Hello HF, today I'll be showing you a tutorial to spoof an email address and send mail from it, trough the terminal. Let's Start! First off, we need to have a valid SMTP server to connect to. An SMTP server is basically a post office that handles the mail received and sent, and the addresses they're coming from. You can look up the SMTP server of your ISP on Google, or find one of a website. Important is that the SMTP server should have no authentication, or that you're already authenticated, like with your own ISP's SMTP server. Step 1 Here's how to find the SMTP server of a website. Type this in terminal: Code nslookupCode set type=mxCode (url of your website, something like) www.google.comYou should get something like this: Code Non-authoritative answer:Type ctrl+c to escape from the nslookup Step 2 Now the mailing can begin. Code telnet aspmx.l.google.com 25If you can't connect to it, repeat step 1 until you find a valid SMTP server. You should get a response like: Code 220 CPSMTPM-CMT104.kpnxchange.com kpnxchange.com Sun, 11 May 2014 11:41:52 +0200Code helo TR2000Code 250 CPSMTPM-CMT104.kpnxchange.com Hello [xx.xx.xxx.xxx]Code mail from: [email protected]Code 250 2.1.0 [email protected] OKThen define the recipient (who you want to send the mail to): Code rcpt to: [email protected]Respond should be: Code 250 2.1.5 [email protected]Step 3 After that, we can begin writing our mail. Type: Code dataThe subject is of course the subject. Note: the receiver won't see the headers, (they're called headers), but you have to write them Then type a double return and write your message, you can use returns too. Then, to send your message, type a dot on a single line. The CMD prompt should respond with: Code 250 2.6.0 <[email protected]> Queued mail for delivery![]() Now, to quit, simply press ctrl+c or type quit. I hope you enjoyed my tutorial, if you have any questions, feel free to ask them 🤝 Troubleshooting: If your mail is denied, try choosing another server * - Yelsdnah - May 11, 2014 Didn't work for me... shame.. Worth a go I guess * - FormerlyS - May 11, 2014 (May 11, 2014 03:01 AM)Yelsdnah Wrote: Didn't work for me... shame.. What was the error you got? It works for me... If this tutorial worked for you, please comment to keep the thread alive, thank you. |