Forum: Win32/Win64 API (native code)
by k4ni,
31. Dez 2007
WriteProcessMemory(HandleWindow, ptr($006DF140), ptr($e8+buf), 2, Write);
Sollte also funktionieren?
tut es aber nicht. Jetzt schreibt er irgendwie nix...hmm. Wie soll ich das machen? bsp bitte.
Edit:
buf := integer(lulz);
Forum: Win32/Win64 API (native code)
by k4ni,
31. Dez 2007
also "e8" wäre call. Doch da ist wieder mein problem, wie kann ich den pointer (also lulz) in einen array (of byte) umwandeln und ablegen?
Forum: Win32/Win64 API (native code)
by k4ni,
31. Dez 2007
Also ich zeig dir mal den AA script des codes:
alloc(CSX,128)
alloc(CSY,128)
alloc(VACRange,4)
registerSymbol(VACRange)
VACRange:
dd 1E
Forum: Win32/Win64 API (native code)
by k4ni,
31. Dez 2007
Also das mit den opcodes versteh ich schon, ich mach das immer mit arrays.
also z.B:
Globaler wert:
ZoritaAllc1: Array of Byte =($A1, $98, $C8, $80, $00, $50, $8B, $80, $40, $06, $00, $00, $58, $8B, $80, $48);
Und reinschreiben:
WriteProcessMemory(HandleWindow, lulz, @ZoritaAllc1, 5, Write);
Aber der allocated die memory ja nicht immer auf der gleichen addresse also kann ich ja nicht...
Forum: Win32/Win64 API (native code)
by k4ni,
30. Dez 2007
Jap, nur ich weis nicht wie ich das machen soll
buf := 'call 'ptr(lulz);
WriteProcessMemory(HandleWindow, ptr($006DF140), buf, 2, Write);
Geht natürlich nicht. Ich müsste den code fuer "call" holen. aber auch dann wüsste ich nicht wie.
Hilfe bitte.
PS: irgend ne idee wegen dem dealloc dings?
lulz = lokal
Forum: Win32/Win64 API (native code)
by k4ni,
30. Dez 2007
Danke für die schnelle antwort.
Also zum 2. punkt: Also das ist ne checkbox der die das macht, man mus ja die checkbox ersteinmal anticken bevor man sie wieder wegticken kann. Also beim ersten mal anticken = allocate und des ganze zeug. dann kann man ja erst den hacken wegmachen. d.H wenn man den hacken wegmacht hat dar ja schon allocated. Also tut es dann deallocaten.
zum 3. punkt
Der...
Forum: Win32/Win64 API (native code)
by k4ni,
30. Dez 2007
Hey leute,
also ich arbeite seit vorgestern an einem trainer.
Hier erstmal der code worum es sich handelt damit ihr es besser versteht
if GMZoritaVAC.Checked = true
then
begin
// Allocating for CSEAX X
lulz := VirtualAllocEx(HandleWindow, nil, 128, MEM_RESERVE or MEM_COMMIT, PAGE_READWRITE);