limneos / weak_classdump Goto Github PK
View Code? Open in Web Editor NEWCycript real-time classdump . An alternative for encrypted binaries
Cycript real-time classdump . An alternative for encrypted binaries
Hi guys.
I tried use weak_classdump_bundle
to new google chrome app.
It showed does not implement error and abort message in syslog.
*** NSInvocation: warning: object 0x6e0e24 of class 'NI_FIX_CATEGORY_BUG_NSDataNimbusCore' does not implement methodSignatureForSelector: -- trouble ahead
*** NSInvocation: warning: object 0x6e0e24 of class 'NI_FIX_CATEGORY_BUG_NSDataNimbusCore' does not implement doesNotRecognizeSelector: -- abort
So, I add one line for temporary fix.
for (var i = 0; i < permittedNames.length; i++) {
try {
while ([permittedNames[i] hasPrefix:@"NI_FIX"]) i++;
results.push(weak_classdump(objc_getClass(permittedNames[i]), false, outputdir));
} catch (e) {
}
}
Can you fix this abort issue without hard-coding (like above) ?
commonTypes, structParser, constructTypeAndName, NSNotFound, compareString1, compareString2, propertyTranslator, propertyLineGenerator, parSet, attrArr, etc.
I would send a pull request to remedy this, but it would touch more lines than not, so I'll leave it in your hands.
Hence it fails to dump all headers. Anyone has the same issue?
I type in the following commands, as soon as I open Terminal:
su
cd /
cycript -p SpringBoard weak_classdump.cy; cycript -p SpringBoard
weak_classdump_bundle([NSBundle mainBundle],@"/var/mobile/Documents/SpringBoard")
Like you can see, I'm trying to dump the SpringBoard Headers using cycript (playing around, nothing official). But after I put in those commands, it's like it freezes. It stays frozen for a few minutes and then finally it resprings the whole phone. While the phone is frozen, nothing works: Can't input new commands, home button disabled, etc..
Maybe it's because I'm specifically trying to dump SpringBoard. There's something I need to see so I kinda need to dump SB with this script for that. In the end there are no headers in my path so I assume it's entering some sort of infinite loop without actually dumping anything.
iPhone:~ root# cycript -p XXXX weak_classdump.cy
'Added weak_classdump to "XXXX" (8088)'
iPhone:~ root# cycript -p XXXX
cy# ?debug
debug == true
cy# weak_classdump(KBNewAppDelegate, "/var/root/test");
cy= weak_classdump(KBNewAppDelegate,"/var/root/test")
Application received signal SIGSEGV
hi all,
I have been trying to dump the class information for two apps. One app is a mix of Objective C and Swift and the other is pure Swift (2.0). The jailbroken iPhone is o/s version 9.0.2.
When I run the: cycript -p 1021 weak_classdump.cy; cycript -p 1021
I get the following error:
throw new TypeError("undefined is not an object (evaluating 'NSProcessInfo.processInfo.processName.toString')")
I can never attach to the process. Any tips? Sorry, if it is a basic question. I am a first time user of weak_classdump.
When I run this:
cycript -p coinoffers weak_classdump.cy
I get this output:
{message:"*** _assert(*name != NULL):sig/parse.cpp(44):Parse_ [errno=2]",line:1,sourceId:6726464}
However if I run it in Skype, it works fine.
I thank is a good idea to dump class header.
This git is a long time.
Here is the Error msg I see, I cant test it success.
iPhone:~ root# cycript -p CallRecorder weak_dumpclass.cy
throw new TypeError("undefined is not an object (evaluating 'NSProcessInfo.processInfo.processName.toString')")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.