Jump to content

Script Error


Account
 Share

Recommended Posts

Hello idk if im in the good place...i tryed to make a *hack* and i got an error...hack need to be undetected but ....

I only want it to work...its only a test not a *hack*

here is the source :

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Test", 332, 174, 192, 124)
$Button1 = GUICtrlCreateButton("Start", 48, 64, 89, 33)
$Checkbox1 = GUICtrlCreateCheckbox("A CheckBox", 32, 16, 121, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
; Process Suspend/Resume
; $Process = Name of process to Suspend/Resume like "Notepad.exe"
; For trying it out start Notepad or Editor and freeze the Exe. Then check the Window.
;Example - Run ur Editor/Notepad first.
$Process = "Editor/Notepad.exe" ;Check ur Taskmanager for the right one
_ProcessSuspend($Process)
Sleep(30000)
_ProcessResume($Process)
_memoryclose($pid)
Exit
;Will freeze it for 30sec.
Func _ProcessSuspend($Process)
$processid = ProcessExists($Process)
If $processid Then
  $ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $processid)
  $i_sucess = DllCall("ntdll.dll", "int", "NtSuspendProcess", "int", $ai_Handle[0])
  DllCall('kernel32.dll', 'ptr', 'CloseHandle', 'ptr', $ai_Handle)
  If IsArray($i_sucess) Then
   Return 1
  Else
   SetError(1)
   Return 0
  EndIf
Else
  SetError(2)
  Return 0
EndIf
EndFunc   ;==>_ProcessSuspend
Func _ProcessResume($Process)
$processid = ProcessExists($Process)
If $processid Then
  $ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $processid)
  $i_sucess = DllCall("ntdll.dll", "int", "NtResumeProcess", "int", $ai_Handle[0])
  DllCall('kernel32.dll', 'ptr', 'CloseHandle', 'ptr', $ai_Handle)
  If IsArray($i_sucess) Then
   Return 1
  Else
   SetError(1)
   Return 0
  EndIf
Else
  SetError(2)
  Return 0
EndIf
EndFunc   ;==>_ProcessResume
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#include-once
#region _Memory
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Hack() ; <=It's the function of the button when u click it!
EndSwitch
WEnd
Func Hack()
   _ProcessSuspend("HGWC.exe")
ToolTip("Start S4 League!",0,0)
$PID = ProcessWait("S4Client.exe")
$OPEN = _MemoryOpen ($PID)
If GUICtrlRead($Checkbox1) = 1 then
_MemoryWrite(0x00455C3E, $OPEN, "10000", "Float")
EndIf
Exit
EndFunc

If I'm wrong just tell me whats the issue and how to fix it if u can ...

Here is the Screen Error:

post-70086-0-43454500-1328531469_thumb.p

Edited by Account
Link to comment
Share on other sites

  • Moderators

Account,

hack need to be undetected

Not the sort of thing we encourage here. Please only post again if you have something which does not infringe the Forum Rules. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...