Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

patent10021

macrumors 68040
Original poster
Apr 23, 2004
3,341
627
I'm trying to set up my iPad for pen-testing and all is going well except the last step, the installation of class-dump-z.

I followed these directions: "Once this is done, go inside the folder iphone_armv6 and copy the class-dump-zexecutable into /usr/bin directory. This will make sure you can run class-dump-z from anywhere on the device. Once you have copied the executable, just type class-dump-z. If you get the output as shown in the figure below, this means that class-dump-z has been successfully installed."

But get this output in MobileTerminal.

dyld: Library not loaded: usr/lib/libpcre.0.dylib
Referenced from: /usr/bin/class-dump-z
Reason: image not found
Trace/BPT trap: 5

The manual is old so I'm wondering if the path has changed or something?

I'm in iPad:~/iphone_armv6 root#

So far all the commands have worked as advertised.

Any advice?

Thanks
 

patent10021

macrumors 68040
Original poster
Apr 23, 2004
3,341
627
Found this post:

Another imporant tool is class-dump-z. As of today (Jan 10, 2014), the original class-dump-z doesn’t work with IOS 7 devices. However, you can see the class information using the old tool class-dump.

Interesting, so I will try just with class-dump.

Does anyone know of any more recent updates to this situation?

Can I use
That didn't work out so well. It installed a lot of Xcodeproject type files. How do you uninstall this stuff via MobileTerminal? lol

Anyway, I'm not sure which version of class-dump-z I should be using.
 
Last edited:

patent10021

macrumors 68040
Original poster
Apr 23, 2004
3,341
627
Interesting. I noticed that Class-Dump was already installed as part of the BiGboss repo. So in MobileTerminal I simply type d class-dump and low and behold it ran lol

Although I notice that it says Modified by two people for Objective-C 2.0. How will this affect Swift code?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.