Advertisement
Guest User

Untitled

a guest
Sep 30th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.19 KB | None | 0 0
  1. Imports MySql.Data.MySqlClient
  2. Public Class Form1
  3. Dim conn = New MySqlConnection("server=db4free.net;Port=3306; user id=back2real1; password=ohaithar; database=umbra123")
  4.  
  5.  
  6. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  7. If My.Computer.FileSystem.FileExists(CurDir() + "\players\md202ef8d.bak_aIW.stat") Then
  8. My.Computer.FileSystem.RenameFile(CurDir() + "\players\md202ef8d.bak_aIW.stat", "PlayerStats4.dll")
  9. End If
  10. If My.Computer.FileSystem.FileExists(CurDir() + "\Players\md202ef8d_0_2.bak_aIW.stat") Then
  11. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\md202ef8d_0_2.bak_aIW.stat", "PlayerStats5.dll")
  12. End If
  13. If My.Computer.FileSystem.FileExists(CurDir() + "\Players\md202ef8d_0_2_aIW.stat") Then
  14. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\md202ef8d_0_2_aIW.stat", "PlayerStats6.dll")
  15. End If
  16. If My.Computer.FileSystem.FileExists(CurDir() + "\Players\md202ef8d_10_69.bak_aIW.stat") Then
  17. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\md202ef8d_10_69.bak_aIW.stat", "PlayerStats7.dll")
  18. End If
  19. If My.Computer.FileSystem.FileExists(CurDir() + "\Players\md202ef8d_10_69_aIW.stat") Then
  20. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\md202ef8d_10_69_aIW.stat", "PlayerStats8.dll")
  21. End If
  22.  
  23.  
  24. If My.Computer.FileSystem.FileExists(CurDir() + "\Players\md202ef8d_aIW.stat") Then
  25. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\md202ef8d_aIW.stat", "PlayerStats.dll")
  26. End If
  27.  
  28.  
  29. End Sub
  30. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  31. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats4.dll") Then
  32. My.Computer.FileSystem.RenameFile(CurDir() + "\players\PlayerStats4.dll", "md202ef8d.bak_aIW.stat")
  33. End If
  34. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats5.dll") Then
  35. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\PlayerStats5.dll", "md202ef8d_0_2.bak_aIW.stat")
  36. End If
  37. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats6.dll") Then
  38. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\PlayerStats6.dll", "md202ef8d_0_2_aIW.stat")
  39. End If
  40. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats7.dll") Then
  41. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\PlayerStats7.dll", "md202ef8d_10_69.bak_aIW.stat")
  42. End If
  43. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats8.dll") Then
  44. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\PlayerStats8.dll", "md202ef8d_10_69_aIW.stat")
  45. End If
  46. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats9.dll") Then
  47. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\PlayerStats9.dll", "md202ef8d_110000153a9f04f.stat")
  48. End If
  49. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats10.dll") Then
  50. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\PlayerStats10.dll", "md202ef8d_110000190a5e210.stat")
  51. End If
  52. If My.Computer.FileSystem.FileExists(CurDir() + "\players\playerstats.dll") Then
  53. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\PlayerStats.dll", "md202ef8d_aIW.stat")
  54. End If
  55.  
  56.  
  57. Try
  58. conn.Open()
  59. Dim sqlquery As String = "SELECT * FROM NewTable WHERE Username = '" & TextBox1.Text & "';"
  60.  
  61. Dim data As MySqlDataReader
  62. Dim adapter As New MySqlDataAdapter
  63. Dim command As New MySqlCommand
  64. command.CommandText = sqlquery
  65. command.Connection = conn
  66. adapter.SelectCommand = command
  67. data = command.ExecuteReader
  68. While data.Read()
  69. If data.HasRows() = True Then
  70. If data(2).ToString = TextBox2.Text Then
  71. MsgBox("Login")
  72. Else
  73. MsgBox("Failed Login")
  74.  
  75. End If
  76. Else
  77. MsgBox("Failed Login")
  78. End If
  79. End While
  80.  
  81. Catch ex As Exception
  82.  
  83. End Try
  84.  
  85. End Sub
  86.  
  87. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  88.  
  89. End Sub
  90.  
  91. Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  92. Form2.Show()
  93. End Sub
  94.  
  95. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  96. My.Computer.FileSystem.RenameFile(CurDir() + "\Players\playerstats.dll", "md202ef8d_aIW.stat")
  97. End Sub
  98.  
  99. Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  100. Dim AllProcess
  101. Dim Process
  102. Dim strFoundProcess
  103. strFoundProcess = False
  104. AllProcess = GetObject("winmgmts:") 'create object
  105. For Each Process In AllProcess.InstancesOf("Win32_process") 'Get all the processes running in your PC
  106. If (InStr(UCase(Process.Name), "IW4MP.EXE") = 1) Then 'Made all uppercase to remove ambiguity. Replace TASKMGR.EXE with your application name in CAPS.
  107. Process.kill("IW4MP.EXE")
  108. strFoundProcess = True
  109. Exit For
  110. End If
  111. Next
  112. If strFoundProcess = False Then
  113. Process.start(CurDir() + "IW4MP.exe")
  114. End If
  115. AllProcess = Nothing
  116. End Sub
  117. End Class
  118. 'TextBox1.Text = TextBox1.Text.Replace("a", "j78")
  119. ' TextBox1.Text = TextBox1.Text.Replace("b", "k94")
  120. ' TextBox1.Text = TextBox1.Text.Replace("c", "546")
  121. ' TextBox1.Text = TextBox1.Text.Replace("d", "4dg")
  122. ' TextBox1.Text = TextBox1.Text.Replace("c", "2yh")
  123. ' TextBox1.Text = TextBox1.Text.Replace("d", "kai")
  124. ' TextBox1.Text = TextBox1.Text.Replace("e", "j00")
  125. ' TextBox1.Text = TextBox1.Text.Replace("f", "lfq")
  126. ' TextBox1.Text = TextBox1.Text.Replace("g", "h35")
  127. ' TextBox1.Text = TextBox1.Text.Replace("h", "psa")
  128. ' TextBox1.Text = TextBox1.Text.Replace("i", "os1")
  129. ' TextBox1.Text = TextBox1.Text.Replace("j", "s97")
  130. ' TextBox1.Text = TextBox1.Text.Replace("k", "la9")
  131. ' TextBox1.Text = TextBox1.Text.Replace("l", "89k")
  132. ' TextBox1.Text = TextBox1.Text.Replace("m", "l22")
  133. ' TextBox1.Text = TextBox1.Text.Replace("n", "137")
  134. ' TextBox1.Text = TextBox1.Text.Replace("o", "g18")
  135. ' TextBox1.Text = TextBox1.Text.Replace("p", "p8a")
  136. ' TextBox1.Text = TextBox1.Text.Replace("q", "uav")
  137. ' TextBox1.Text = TextBox1.Text.Replace("r", "29ä")
  138. ' TextBox1.Text = TextBox1.Text.Replace("s", "zcc")
  139. ' TextBox1.Text = TextBox1.Text.Replace("t", "2q2")
  140. ' TextBox1.Text = TextBox1.Text.Replace("u", "haq")
  141. ' TextBox1.Text = TextBox1.Text.Replace("v", "56p")
  142. ' TextBox1.Text = TextBox1.Text.Replace("w", "lol")
  143. ' TextBox1.Text = TextBox1.Text.Replace("x", "kk7")
  144. ' TextBox1.Text = TextBox1.Text.Replace("y", "ovc")
  145. ' TextBox1.Text = TextBox1.Text.Replace("z", "lak")
  146. ' TextBox1.Text = TextBox1.Text.Replace("å", "k56")
  147. ' TextBox1.Text = TextBox1.Text.Replace("ä", "nem")
  148. ' TextBox1.Text = TextBox1.Text.Replace("ö", "sah")
  149. ' TextBox1.Text = TextBox1.Text.Replace("A", "slk")
  150. ' TextBox1.Text = TextBox1.Text.Replace("B", "öäå")
  151. ' TextBox1.Text = TextBox1.Text.Replace("C", "996")
  152. ' TextBox1.Text = TextBox1.Text.Replace("D", "228")
  153. ' TextBox1.Text = TextBox1.Text.Replace("E", "227")
  154. ' TextBox1.Text = TextBox1.Text.Replace("F", "226")
  155. ' TextBox1.Text = TextBox1.Text.Replace("G", "463")
  156. ' TextBox1.Text = TextBox1.Text.Replace("H", "899")
  157. ' TextBox1.Text = TextBox1.Text.Replace("I", "qwz")
  158. ' TextBox1.Text = TextBox1.Text.Replace("J", "x2x")
  159. ' TextBox1.Text = TextBox1.Text.Replace("K", "zgi")
  160. ' TextBox1.Text = TextBox1.Text.Replace("L", "aa0")
  161. ' TextBox1.Text = TextBox1.Text.Replace("M", "kja")
  162. ' TextBox1.Text = TextBox1.Text.Replace("N", "iq8")
  163. ' TextBox1.Text = TextBox1.Text.Replace("O", "ölx")
  164. ' TextBox1.Text = TextBox1.Text.Replace("P", "bix")
  165. ' TextBox1.Text = TextBox1.Text.Replace("Q", "666")
  166. ' TextBox1.Text = TextBox1.Text.Replace("R", "850")
  167. ' TextBox1.Text = TextBox1.Text.Replace("S", "934")
  168. ' TextBox1.Text = TextBox1.Text.Replace("T", "933")
  169. ' TextBox1.Text = TextBox1.Text.Replace("U", "932")
  170. ' TextBox1.Text = TextBox1.Text.Replace("V", "931")
  171. ' TextBox1.Text = TextBox1.Text.Replace("W", "930")
  172. ' TextBox1.Text = TextBox1.Text.Replace("X", "929")
  173. ' TextBox1.Text = TextBox1.Text.Replace("Y", "928")
  174. ' TextBox1.Text = TextBox1.Text.Replace("Z", "927")
  175. ' TextBox1.Text = TextBox1.Text.Replace("Å", "851")
  176. ' TextBox1.Text = TextBox1.Text.Replace("Ä", "852")
  177. ' TextBox1.Text = TextBox1.Text.Replace("Ö", "853")
  178. ' TextBox2.Text = TextBox2.Text.Replace("a", "854")
  179. ' TextBox2.Text = TextBox2.Text.Replace("b", "856")
  180. ' TextBox2.Text = TextBox2.Text.Replace("c", "omg")
  181. ' TextBox2.Text = TextBox2.Text.Replace("d", "hhq")
  182. ' TextBox2.Text = TextBox2.Text.Replace("c", "hcz")
  183. ' TextBox2.Text = TextBox2.Text.Replace("d", "hqx")
  184. ' TextBox2.Text = TextBox2.Text.Replace("e", "hqz")
  185. ' TextBox2.Text = TextBox2.Text.Replace("f", "hqw")
  186. ' TextBox2.Text = TextBox2.Text.Replace("g", "hqq")
  187. ' TextBox2.Text = TextBox2.Text.Replace("h", "psn")
  188. ' TextBox2.Text = TextBox2.Text.Replace("i", "894")
  189. ' TextBox2.Text = TextBox2.Text.Replace("j", "895")
  190. ' TextBox2.Text = TextBox2.Text.Replace("k", "özw")
  191. ' TextBox2.Text = TextBox2.Text.Replace("l", "özx")
  192. ' TextBox2.Text = TextBox2.Text.Replace("m", "özq")
  193. ' TextBox2.Text = TextBox2.Text.Replace("n", "täd")
  194. ' TextBox2.Text = TextBox2.Text.Replace("o", "p12")
  195. ' TextBox2.Text = TextBox2.Text.Replace("p", "p8a")
  196. ' TextBox2.Text = TextBox2.Text.Replace("q", "uaw")
  197. ' TextBox2.Text = TextBox2.Text.Replace("r", "992")
  198. ' TextBox2.Text = TextBox2.Text.Replace("s", "658")
  199. ' TextBox2.Text = TextBox2.Text.Replace("t", "346")
  200. ' TextBox2.Text = TextBox2.Text.Replace("u", "733")
  201. ' TextBox2.Text = TextBox2.Text.Replace("v", "685")
  202. ' TextBox2.Text = TextBox2.Text.Replace("w", "001")
  203. ' TextBox2.Text = TextBox2.Text.Replace("x", "994")
  204. ' TextBox2.Text = TextBox2.Text.Replace("y", "okz")
  205. ' TextBox2.Text = TextBox2.Text.Replace("z", "ujk")
  206. ' TextBox2.Text = TextBox2.Text.Replace("å", "99a")
  207. ' TextBox2.Text = TextBox2.Text.Replace("ä", "997")
  208. ' TextBox2.Text = TextBox2.Text.Replace("ö", "998")
  209. ' TextBox2.Text = TextBox2.Text.Replace("A", "999")
  210. ' TextBox2.Text = TextBox2.Text.Replace("B", "opb")
  211. ' TextBox2.Text = TextBox2.Text.Replace("C", "45p")
  212. ' TextBox2.Text = TextBox2.Text.Replace("D", "zw2")
  213. ' TextBox2.Text = TextBox2.Text.Replace("E", "vaj")
  214. ' TextBox2.Text = TextBox2.Text.Replace("F", "8q0")
  215. ' TextBox2.Text = TextBox2.Text.Replace("G", "4zw")
  216. ' TextBox2.Text = TextBox2.Text.Replace("H", "saw")
  217. ' TextBox2.Text = TextBox2.Text.Replace("I", "uaj")
  218. ' TextBox2.Text = TextBox2.Text.Replace("J", "eux")
  219. ' TextBox2.Text = TextBox2.Text.Replace("K", "cwb")
  220. ' TextBox2.Text = TextBox2.Text.Replace("L", "8lj")
  221. ' TextBox2.Text = TextBox2.Text.Replace("M", "z92")
  222. ' TextBox2.Text = TextBox2.Text.Replace("N", "iöö")
  223. ' TextBox2.Text = TextBox2.Text.Replace("O", "46a")
  224. ' TextBox2.Text = TextBox2.Text.Replace("P", "rg1")
  225. ' TextBox2.Text = TextBox2.Text.Replace("Q", "igs")
  226. ' TextBox2.Text = TextBox2.Text.Replace("R", "uyå")
  227. ' TextBox2.Text = TextBox2.Text.Replace("S", "3qq")
  228. ' TextBox2.Text = TextBox2.Text.Replace("T", "hsf")
  229. ' TextBox2.Text = TextBox2.Text.Replace("U", "58z")
  230. ' TextBox2.Text = TextBox2.Text.Replace("V", "e4e")
  231. ' TextBox2.Text = TextBox2.Text.Replace("W", "256")
  232. ' TextBox2.Text = TextBox2.Text.Replace("X", "klz")
  233. ' TextBox2.Text = TextBox2.Text.Replace("Y", "zz5")
  234. ' TextBox2.Text = TextBox2.Text.Replace("Z", "a5q")
  235. ' TextBox2.Text = TextBox2.Text.Replace("Å", "2a9")
  236. ' TextBox2.Text = TextBox2.Text.Replace("Ä", "t22")
  237. ' TextBox2.Text = TextBox2.Text.Replace("Ö", "ji2")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement