Jump to content

11 posts in this topic

Recommended Posts

Posted

 i have cracked the binary of an app and when i try to thin it the terminal wrote that it's not a FAT file so it's already thinned but when i try to remove ASLR withe removePIE terminal says that it's not a mach -o file.. so what can i do if it's already thinned but it says that... help please ((

Posted

Even easier if you dont have a high cap net, use 'remove aslr' app. Then you need to sign the binary with 'ldid -s binaryname' in Mterminal.

 

LASTLY, set permissions to 755/777.

 

Alternative method :

 

If you use GDB, use 'info address _mh_execute_header' and save the value. In IDA, see where _mh_execute_header is, usually it is 4000 and at the top.

For LLDB, use image list and scroll to the top (VERY LONG)

 

Assuming the address you get is HEXADRESS, and your aslr value from gdb is ASLR, and the actual address is HEXINIDA use a hex calculator (just google) and do

 

HEXADRESS - ASLR + HEXINIDA.

This is your true address.

 

Note: As it is hex. simply subtracting 4000 from a value like 100000 or so DOES NOT GIVE YOU REAL VALUE. IT DOES NOT BECOME 96000.

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