GitXplorerGitXplorer
l

weak_classdump

public
246 stars
46 forks
6 issues

Commits

List of commits on branch master.
Unverified
ea45b8535157408cf89c4b3c1d4ee42ed764a773

Added 64bit support, fixed several errors.

llimneos committed 10 years ago
Unverified
8c73e27125458361ea694d28361ec474be168753

Removed #!/usr/bin/cycript as its no longer valid

llimneos committed 11 years ago
Unverified
497ebfeacb8f833bf28c2c076aae713b11c187ad

Update fixes an 64bit NSLog issue

llimneos committed 11 years ago
Unverified
f4eb9db1e5ede17b0153989e83233ab5baa1c2ee

Added automatic protocol header generation if found

llimneos committed 12 years ago
Unverified
45c384c023474cc3b897d0ec6770aec724e99ddf

Minor usage example additions

llimneos committed 12 years ago
Unverified
f49e7868d511f097a9d1faf9e6bbaa077294a6b6

Fixed crash when dumping big bundles

llimneos committed 12 years ago

README

The README file for this repository.

weak_classdump

A Cycript script that generates a header file for the class passed to the function.

Most useful when you cannot classdump , when binaries are encrypted etc.


Usage examples :

root# cycript -p Skype weak_classdump.cy; cycript -p Skype
'Added weak_classdump to "Skype" (1685)'

cy# UIApp
"<HellcatApplication: 0x1734e0>"

cy# weak_classdump(HellcatApplication);
"Wrote file to /tmp/HellcatApplication.h"

cy# UIApp.delegate
"<SkypeAppDelegate: 0x194db0>"

cy# weak_classdump(SkypeAppDelegate,"/someDirWithWriteAccess/");
"Wrote file to /someDirWithWriteAccess/SkypeAppDelegate.h"
      
root# cycript -p iapd weak_classdump.cy; cycript -p iapd
'Added weak_classdump to "iapd" (1127)'

cy# weak_classdump(IAPPortManager)
"Wrote file to /tmp/IAPPortManager.h"

Thanks to Ryan Petrich , you can now use weak_classdump_bundle to dump all headers within a bundle.

root# cycript -p MobilePhone weak_classdump.cy; cycript -p MobilePhone
'Added weak_classdump to "MobilePhone" (385)'

#cy weak_classdump_bundle([NSBundle mainBundle],"/tmp/MobilePhone")

by Elias Limneos

web: limneos.net

email: iphone (at) limneos (dot) net

twitter: @limneos

Issues

Thanks to Ryan Petrich, currently no issues.

Licence

weak_classdump is open source. Feel free to help improving it if you like.

Environment

weak_classdump works under Cycript. Visit cycript.org for more info.