|
You last visited: Today at 18:47
Advertisement
help with register
Discussion on help with register within the AutoIt forum part of the Coders Den category.
09/29/2012, 12:03
|
#1
|
elite*gold: 0
Join Date: Jun 2011
Posts: 93
Received Thanks: 12
|
help with register
Hi how can i change register in specific addres?
for example i have this addres 0034534 and i want to change the register of eax
how can i do?
|
|
|
09/29/2012, 13:26
|
#2
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
that easily done via inline asm.
step 1: allocate some memory
step 2: write your asm logic into the allocation (mov eax, <value>; push <nextAdress>; retn)
step 3: place a jmp at your adress (0x0034534) pointing to your allocation
|
|
|
09/29/2012, 13:51
|
#3
|
elite*gold: 0
Join Date: Jun 2011
Posts: 93
Received Thanks: 12
|
Quote:
Originally Posted by lolkop
that easily done via inline asm.
step 1: allocate some memory
step 2: write your asm logic into the allocation (mov eax, <value>; push <nextAdress>; retn)
step 3: place a jmp at your adress (0x0034534) pointing to your allocation
|
you can do a simple example of script?
|
|
|
09/30/2012, 16:32
|
#4
|
elite*gold: 0
Join Date: Jun 2011
Posts: 93
Received Thanks: 12
|
push
|
|
|
09/30/2012, 18:20
|
#5
|
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
|
Quote:
Originally Posted by Hatish
you can do a simple example of script?
|
Use my UDF and just Inject some ASM-Code which modifies your register:
|
|
|
09/30/2012, 22:10
|
#6
|
elite*gold: 0
Join Date: Jun 2011
Posts: 93
Received Thanks: 12
|
I read your udf but i need an example of script  if possible
|
|
|
09/30/2012, 22:34
|
#7
|
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
|
Quote:
Originally Posted by Hatish
I read your udf but i need an example of script  if possible
|
Where is the problem?
PHP Code:
$size=5 ; Size of Opcodes overwritten, will be different from 5 for sure
$open=_MemoryManipulationOpen($process)
_InjectASMAtAddress($open, 0x0034534, $size, "MOV eax, 1000")
|
|
|
10/01/2012, 15:09
|
#8
|
elite*gold: 0
Join Date: Jun 2011
Posts: 93
Received Thanks: 12
|
$size need or i can jump it? PS: i trie to do a script but dont add eax at addres
|
|
|
10/01/2012, 18:00
|
#9
|
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
|
Quote:
Originally Posted by Hatish
$size need or i can jump it? PS: i trie to do a script but dont add eax at addres
|
$size is the size of opcode you are overwriting at the specific address, min. is 5 and you will need for sure not exactly 5 but 6 or more.
|
|
|
 |
Similar Threads
|
register here :)
05/29/2012 - Facebook - 0 Replies
Invision Power Board register here :) please! spread
underconstration pa pero register kyo jan please
|
Who can register kgc for me
05/13/2012 - Grand Chase - 1 Replies
please help me i want to play this alot of time
|
Inline Asm -> Wert aus Register in anderes Register schreiben
03/17/2012 - C/C++ - 17 Replies
Huhu,
die Frage klingt vielleicht etwas Blöd, aber ich würde gerne wissen, wie ich den Wert eines Registers in ein anderes schreiben kann.
Wenn ich mov verwende wird lediglich die Speicheradresse auf das andere Register geschrieben und ich brauche den Wert in die Speicheradresse die mein Register hält.
Mein Inline Asm Code sieht folgendermaßen aus:
char *command;
code = "insert 1";
_asm {
|
Register to PHI DOI
09/22/2010 - Ace Online / AirRivals - 3 Replies
I've download PHI DOI.
I can't play because i've not one account.
Please how to register one account to PHI DOI ?
Please send me one link.
|
register help?
04/20/2009 - SRO Private Server - 2 Replies
I need to fill in china adress and iff I copy then I get error iff I translot from please enter china prefered
|
All times are GMT +2. The time now is 18:51.
|
|