So nun Kommt der haupt Teil das Coden dazu fügen wir die NomadMeory.au3 in den AutoIT Ordner ein.
Wie geht das ?
Geh in den AutoIT Ordner dann auf Include und ziehe dort die NomadMemory.au3 rein
Nun müsste unser Script ungefähr so aussehen (Komt darauf an wie ihr die Buttons usw Positioniert habt)
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Hack", 227, 69, 192, 154)
$Input1 = GUICtrlCreateInput("Input1", 8, 8, 121, 21)
$Label1 = GUICtrlCreateLabel("@?As?", 8, 40, 39, 17)
$Button1 = GUICtrlCreateButton("hacken", 136, 8, 75, 49, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
So nun fügen wir dies ganz am anfang unseres Scriptes ein:
Quote:
#include <NomadMemory.au3>
#RequireAdmin
|
Und dies am schluss unseres Sciptes:
Quote:
Func _Write
$ValueEnde = GUICtrlRead($Input1)
SetPrivilege("SeDebugPrivilege", 1)
$Open = _memoryopen(ProcessExists(""))
$Adresse = 0x
$Read = _MemoryRead($Adresse , $Open, 'dword')
$write = _MemoryWrite($Adresse, $Open,$ValueEnde, 'dword')
EndFunc
|
So nun sollte unser Script so ausehen:
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Hack", 227, 69, 192, 154)
$Input1 = GUICtrlCreateInput("Input1", 8, 8, 121, 21)
$Label1 = GUICtrlCreateLabel("@?As?", 8, 40, 39, 17)
$Button1 = GUICtrlCreateButton("hacken", 136, 8, 75, 49, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func _Write
$ValueEnde = GUICtrlRead($Input1)
SetPrivilege("SeDebugPrivilege", 1)
$Open = _memoryopen(ProcessExists(""))
$Adresse = 0x
$Read = _MemoryRead($Adresse , $Open, 'dword')
$write = _MemoryWrite($Adresse, $Open,$ValueEnde, 'dword')
EndFunc
So wenn wir das haben fügen wir noch dies dort ein wo jetzt die Bäume stehen
Quote:
Hier der Ort wo ihr das einfügt mit den Bäumchen gekenzeichnet:
Quote:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Hack", 227, 69, 192, 154)
$Input1 = GUICtrlCreateInput("Input1", 8, 8, 121, 21)
$Label1 = GUICtrlCreateLabel("@?As?", 8, 40, 39, 17)
$Button1 = GUICtrlCreateButton("hacken", 136, 8, 75, 49, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣♣
EndSwitch
WEnd
Func _Write
$ValueEnde = GUICtrlRead($Input1)
SetPrivilege("SeDebugPrivilege", 1)
$Open = _memoryopen(ProcessExists(""))
$Adresse = 0x
$Read = _MemoryRead($Adresse , $Open, 'dword')
$write = _MemoryWrite($Adresse, $Open,$ValueEnde, 'dword')
EndFunc
|