伪造发件人之邮件地址之实现

写了一个利用Jmail组件发匿名邮件的ASP代码,前提是你的SMTP服务器没有验证发件人地址才是,很多虚拟主机的SMTP服务器就可以的。

代码如下:

 

 

<%if request("action")="send" then%>

<%

Dim strSubject,strEmail,strMailAdress,strSender,strContent,strFromer

strSubject = Request("title")

strContent = Request("content")

strSender = Request("Name")

strEmail = Request("to")

strMailAddress = Request("smtp")

strMailUser = Request("usr")

strMailPass = Request("pwd")

 

Set JMail = Server.CreateObject("JMail.Message")

JMail.Charset = "gb2312"

JMail.From = Request("From")

JMail.FromName = strSender

JMail.Subject =strSubject

JMail.MailServerUserName = strMailUser

JMail.MailServerPassword = strMailPass

JMail.Priority = 3

JMail.AddRecipient(strEmail)

JMail.Body = strContent

JMail.Send(strMailAddress)

%>

<%

else

%>

JMailSpoof v0.1

JMailSpoof by lake2

转载于:https://www.cnblogs.com/milantgh/p/3629131.html

你可能感兴趣的:(java,python,c#)