Jump to content

[TUTORIAL] How To Hack Using Mobile Substrate (Method Hooking)


180 posts in this topic

Recommended Posts

Posted

just wanna point out, that for some people you need to add 

 

#import <UIKit/UIKit.h>
and not just the makefile

Why?

  • Like 1
Posted

bb4eeef59075da31ec0e3e75048173ab.jpg

 

So in this case instead of AppDelegate,

I use iglIphoneAppDelegate?

We can't see the image :3

 

But I'm guessing yeah, that's what you should do. :)

Posted

So a header is what say Target class on Flex 2?

 

:-) i am trying to learn and later on contribute :-)

Like this:

 

 

%hook BlaApplication             //Target Class on Flex
 
-(int)coins {                 //Target method on Flex
return 999999;               //Return Value on Flex
}
%end
Posted

So a header is what say Target class on Flex 2?

 

:-) i am trying to learn and later on contribute :-)

 

Exactly. When you dump a binary you will get the headers and in FLEX they are already disassembled.

Posted

I am getting this error when compilling

Did you copy paste the exact code into the Tweak.xm and added the MYPROJECT_FRAMEWORKS = UIKit in Makefile?

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