Jump to content

How To Script A Code Injection?


Go to solution Solved by Rook,

7 posts in this topic

Recommended Posts

Posted (edited)

Hey, and I know the first thing you are going to say!

 

"Search the forum" well I did and found a tut from AIRMAX but it is not IDA noob friendly!!!

 

I could obviously use  DiDa's patcher template.

 

But that is not the part that gets me confused!

 

as seen here:

jzaRnXx.png

 

The "hex value function" and "offset" really overheat my head :/

 

They sound familiar but can someone give me an example in that formula?

 

And once I do it right, how will I be able to make them like "kStars" 

 

I am new to write data and IDA :3

Updated by Crosby
Posted
 
%ctor
if(GetPrefBool(@"kStars")) {
writeData(0xOFFSET, 0xNEWHEX)
}
 

thank you so much, now all i need is a example on how I would do the

"0xOFFSET, 0xNEWHEX"

kinda confused

Posted

thank you so much, now all i need is a example on how I would do the

"0xOFFSET, 0xNEWHEX"

kinda confused

 

 
writeData(0xOFFSET, 0xNEWHEX);
 
If you want to MOV R0, R7 BX LR, you do this:
 
writeData(0xOFFSET, 0x381C7047);
 
Posted

k thanks <3 <3 <3

 

What would I be without you guys :happycry:

 

any example of "0xOFFSET, 0xNEWHEX" ?

 

is 0xOFFSET the original one and 0xNEWHEX the hacked one?

 
writeData(0xOFFSET, 0xNEWHEX);
 
If you want to MOV R0, R7 BX LR, you do this:
 
writeData(0xOFFSET, 0x381C7047);
 

THANK YOU SO MUCH MAN!!!!

Posted

k thanks <3 <3 <3

 

What would I be without you guys :happycry:

 

any example of "0xOFFSET, 0xNEWHEX" ?

 

is 0xOFFSET the original one and 0xNEWHEX the hacked one?

THANK YOU SO MUCH MAN!!!!

Yes, 0xOFFSET is the original, and 0xNEWHEX is the hacked one

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines