Advertisement
iJorgePc

formhack

Jun 1st, 2021
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.10 KB | None | 0 0
  1. Public Class FormHack
  2.  
  3. Dim NewPoint As New System.Drawing.Point
  4. Dim X, Y As Integer
  5. Private Sub Panel1_MouseDown(sender As Object, e As MouseEventArgs) Handles Panel1.MouseDown, Label1.MouseDown
  6. X = Control.MousePosition.X - Me.Location.X
  7. Y = Control.MousePosition.Y - Me.Location.Y
  8. End Sub
  9.  
  10. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  11. TabControl1.SelectedTab = TabPage1
  12. End Sub
  13.  
  14. Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
  15. TabControl1.SelectedTab = TabPage2
  16. End Sub
  17.  
  18. Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
  19. TabControl1.SelectedTab = TabPage3
  20. End Sub
  21.  
  22. Private Sub TimerCrossHair_Tick(sender As Object, e As EventArgs) Handles TimerCrossHair.Tick
  23. Try
  24. If ComboBox1.Text = "x1" Then
  25. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 111)
  26. ElseIf ComboBox1.Text = "x2" Then
  27. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 2)
  28. ElseIf ComboBox1.Text = "x3" Then
  29. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 71)
  30. ElseIf ComboBox1.Text = "x4" Then
  31. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 4444)
  32. ElseIf ComboBox1.Text = "x5" Then
  33. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 66)
  34. ElseIf ComboBox1.Text = "x6" Then
  35. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 88)
  36. ElseIf ComboBox1.Text = "x7" Then
  37. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 123)
  38. ElseIf ComboBox1.Text = "x8" Then
  39. ReadWritingMemory.WriteLong("Wolfteam.bin", GetCSH() + &H7DE668, 555)
  40. End If
  41. Catch expr_37 As Exception
  42.  
  43. End Try
  44. End Sub
  45.  
  46. Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox1.CheckedChanged
  47. If CheckBox1.Checked = True Then
  48. TimerCrossHair.Start()
  49. Else
  50. TimerCrossHair.Stop()
  51. End If
  52. End Sub
  53.  
  54. Private Sub CheckBox2_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox2.CheckedChanged
  55. If CheckBox2.Checked = True Then
  56. Timer3rd.Start()
  57. Else
  58. Timer3rd.Stop()
  59. WritePointerInteger("Wolfteam.bin", GetCSH() + &H7DE318, "0", &H54) ' OFF
  60. End If
  61. End Sub
  62.  
  63. Private Sub Timer3rd_Tick(sender As Object, e As EventArgs) Handles Timer3rd.Tick
  64. Try
  65. WritePointerInteger("Wolfteam.bin", GetCSH() + &H7DE318, "1", &H54) ' ON
  66. Catch ex As Exception
  67.  
  68. End Try
  69. End Sub
  70.  
  71. Private Sub CheckBox3_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox3.CheckedChanged
  72. Try
  73. If CheckBox3.Checked = True Then
  74. ReadWritingMemory.WriteLong("Wolfteam.bin", GetBIN() + &H1CF86A, 1967244534) 'On
  75. Else
  76. ReadWritingMemory.WriteLong("Wolfteam.bin", GetBIN() + &H1CF86A, 1950467318) ' OFF
  77. End If
  78. Catch ex As Exception
  79.  
  80. End Try
  81. End Sub
  82.  
  83. Private Sub CheckBox4_CheckedChanged(sender As Object, e As EventArgs) Handles CheckBox4.CheckedChanged
  84. Try
  85. If CheckBox4.Checked = True Then
  86. ReadWritingMemory.WriteLong("Wolfteam.bin", GetBIN() + &H1A171, 5) 'On
  87. Else
  88. ReadWritingMemory.WriteLong("Wolfteam.bin", GetBIN() + &H1A171, 1967244534) ' OFF
  89. End If
  90. Catch ex As Exception
  91.  
  92. End Try
  93. End Sub
  94. Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
  95. Private Sub TimerOpenHack_Tick(sender As Object, e As EventArgs) Handles TimerOpenHack.Tick
  96. Dim game As Process() = Process.GetProcessesByName("Wolfteam.bin")
  97. On Error Resume Next
  98. Dim Hotkey As Boolean
  99. Hotkey = GetAsyncKeyState(Keys.Insert)
  100. If Hotkey = True Then
  101. If Panel1.Visible = False Then
  102. Panel1.Visible = True
  103. SuspendProcess(game(0))
  104. Me.Show()
  105. Exit Sub
  106. End If
  107. If Panel1.Visible = True Then
  108. Panel1.Visible = False
  109. Me.Hide()
  110. ResumeProcess(game(0))
  111. Exit Sub
  112. End If
  113. End If
  114. End Sub
  115. Private Sub SuspendProcess(ByVal process As System.Diagnostics.Process)
  116. For Each t As ProcessThread In process.Threads
  117. Dim th As IntPtr
  118. th = OpenThread(ThreadAccess.SUSPEND_RESUME, True, t.Id)
  119. If th <> IntPtr.Zero Then
  120. SuspendThread(th)
  121. CloseHandle(th)
  122. End If
  123. Next
  124. End Sub
  125.  
  126. Private Sub ResumeProcess(ByVal process As System.Diagnostics.Process)
  127. For Each t As ProcessThread In process.Threads
  128. Dim th As IntPtr
  129. th = OpenThread(ThreadAccess.SUSPEND_RESUME, True, t.Id)
  130. If th <> IntPtr.Zero Then
  131. ResumeThread(th)
  132. CloseHandle(th)
  133. End If
  134. Next
  135. End Sub
  136.  
  137. Private Sub OffHacks_Tick(sender As Object, e As EventArgs) Handles OffHacks.Tick
  138. Try
  139. Dim TargetProcess As Process() = Process.GetProcessesByName("Wolfteam.bin")
  140. If TargetProcess.Length = 0 Then
  141. OffHacks.Stop()
  142. Process.Start("https://www.facebook.com/iDCHacks/")
  143. Application.Exit()
  144. Else
  145. End If
  146. Catch ex As Exception
  147.  
  148. End Try
  149. End Sub
  150.  
  151. Private Sub Panel1_MouseMove(sender As Object, e As MouseEventArgs) Handles Panel1.MouseMove, Label1.MouseMove
  152. If e.Button = MouseButtons.Left Then
  153. NewPoint = Control.MousePosition
  154. NewPoint.Y -= (Y)
  155. NewPoint.X -= (X)
  156. Me.Location = NewPoint
  157. End If
  158. End Sub
  159. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement