Home of Gamehacking - Archiv

Normale Version: Code Injection mit AutoIT
Sie sehen gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Guten Abend Leute,
ich habe ein kleines Problem, undzwar möchte ich gerne mit AutoIT einen Code in einen Prozess injecten. Derzeit habe ich in Cheat Engine folgendes Script welches gut funktioniert:

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
nop

exit:
jmp returnhere

"DunDefGame.exe"+364DC9:
jmp newmem
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"DunDefGame.exe"+364DC9:
movss [ebx+5C],xmm0
//Alt: db F3 0F 11 43 5C

Ich weiß, dass ich mit AutoIT einfach in die richtige Adresse "90 90 90 90 90 90" schreiben müsste, allerdings weiß ich nicht wie diese Adresse heißt, da im Disassembler nur

Code:
DunDefGame.GetOutermost+2AF029

steht. In welche Adresse muss ich nun schreiben?
Danke schonmal im Voraus!
MfG.
Schnieker

In der Menüzeile vom Memory Fenster in Cheat Engine die Adressangabe umstellen.
View -> Show Modul Addresses das Häkchen rausmachen...
Oder alternativ [STRG]+[M] drücken...