Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 14:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



help with register

Discussion on help with register within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Hatish's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 87
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?
Hatish is offline  
Old 09/29/2012, 13:26   #2
 
lolkop's Avatar
 
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
lolkop is offline  
Thanks
1 User
Old 09/29/2012, 13:51   #3
 
Hatish's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 87
Received Thanks: 12
Quote:
Originally Posted by lolkop View Post
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?
Hatish is offline  
Old 09/30/2012, 16:32   #4
 
Hatish's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 87
Received Thanks: 12
push
Hatish is offline  
Old 09/30/2012, 18:20   #5
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,876
Quote:
Originally Posted by Hatish View Post
you can do a simple example of script?
Use my UDF and just Inject some ASM-Code which modifies your register:
Shadow992 is offline  
Thanks
1 User
Old 09/30/2012, 22:10   #6
 
Hatish's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 87
Received Thanks: 12
I read your udf but i need an example of script if possible
Hatish is offline  
Old 09/30/2012, 22:34   #7
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,876
Quote:
Originally Posted by Hatish View Post
I read your udf but i need an example of script if possible
Where is the problem?
PHP Code:
$size=Size of Opcodes overwrittenwill be different from 5 for sure
$open
=_MemoryManipulationOpen($process)
_InjectASMAtAddress($open0x0034534$size"MOV eax, 1000"
Shadow992 is offline  
Thanks
1 User
Old 10/01/2012, 15:09   #8
 
Hatish's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 87
Received Thanks: 12
$size need or i can jump it? PS: i trie to do a script but dont add eax at addres
Hatish is offline  
Old 10/01/2012, 18:00   #9
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,876
Quote:
Originally Posted by Hatish View Post
$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.
Shadow992 is offline  
Thanks
1 User
Reply


Similar Threads 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 +1. The time now is 14:17.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.