Jump to content

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


180 posts in this topic

Recommended Posts

Posted

Hey, 

Im trying to create a deb file to a Flex Patch that i made,

This is the flex Function:

https://iosgods.com/topic/113616-diy-player-gr-offline-youtube-app-remove-video-ads/

i edit the Teawk.xm and i write this:

%hook ALVideoPlayer
  -(int)mediaSource {
  return NULL;
}
%end

and i trying to write make package and i got this error:

iPydtr0.jpg

you know what i need to do?

 

thank you!!!

Posted (edited)

 

Please help my in class-dump -H

Error is ⬇️👇⬇️👇

2020-01-11 04:42:26.872 class-dump[1299:40985] We don't support 64-bit Mach-O files.                   

class-dump: Input file (/var/mobile/bb/Payload/TrapAdv2.app/TrapAdv2) is neither a Mach-O file nor a fat archive.        

👆⬆️👆⬆️                                 

spacer.png

How fix it please

@DADi @0xSUBZ3R0 @EvillyG00d @Shner @KushKush420 @Crimson

@Laxus @tiesto33@C3FFF0E @ITz_kser @FMABGC @Basmal121 @Anonymonk

Updated by Khalidxs
Posted
On 7/22/2014 at 12:53 PM, EvillyG00d said:

%hook AppDelegate -(void)applicationDidBecomeActive:(id)argument { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"This is the Title" message:@"This is the Message" delegate:nil cancelButtonTitle:@"This is the Button Text" otherButtonTitles:nil]; [alert show]; [alert release]; } %end

We’re do I put this 

Posted

I did everything precisely like the tutorial said to do but for the life of me I can’t figure out how to compile the darn thing using the MTerminal. What is the right command? All is located in /Var/mobile/project/myhacks. How do I compile using MTerminal to create the Dylib??

Posted

thanks

On 5/18/2020 at 10:18 AM, Tullubanta said:

I did everything precisely like the tutorial said to do but for the life of me I can’t figure out how to compile the darn thing using the MTerminal. What is the right command? All is located in /Var/mobile/project/myhacks. How do I compile using MTerminal to create the Dylib??

then from MTerminal you cd to /var/mobile/project/myhacks and type: make package install 

it should be fine

Posted
On 1/11/2020 at 10:09 AM, Khalidxs said:

 

Please help my in class-dump -H

Error is ⬇️👇⬇️👇

2020-01-11 04:42:26.872 class-dump[1299:40985] We don't support 64-bit Mach-O files.                   

class-dump: Input file (/var/mobile/bb/Payload/TrapAdv2.app/TrapAdv2) is neither a Mach-O file nor a fat archive.        

👆⬆️👆⬆️                                 

spacer.png

How fix it please

@DADi @0xSUBZ3R0 @EvillyG00d @Shner @KushKush420 @Crimson

@Laxus @tiesto33@C3FFF0E @ITz_kser @FMABGC @Basmal121 @Anonymonk

it seems this class-dump binary not support for 64bit machO file, you can try other tool like Frida to dump class headers

On 11/15/2019 at 5:44 AM, yoelb00 said:

Hey, 

Im trying to create a deb file to a Flex Patch that i made,

This is the flex Function:

https://iosgods.com/topic/113616-diy-player-gr-offline-youtube-app-remove-video-ads/

i edit the Teawk.xm and i write this:


%hook ALVideoPlayer
  -(int)mediaSource {
  return NULL;
}
%end

and i trying to write make package and i got this error:

iPydtr0.jpg

you know what i need to do?

 

thank you!!!

NULL is not int type, you need to return valid number instead

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