![]() You can download a trial version here, it gives you 30min sessions but you cannot save your work. I've been using Hopper Disassembler for a few years now and I love it, it's perfect for beginners like me. We need to understand what is happening inside the methods? what are the rules that the application follows? and to do this we'll need a disassembler. Having the name of the classes, methods and instance variables is a great way to start RE an iOS app, but we are still missing the core of the application, its business logic. ![]() Starbucks app class dump Disassemble the Starbucks app using Hopper There might be some missing information because class-dump couldn't parse it. You can open the starbucks-dump.txt file in any text editor and you'll see most of the classes, methods and even instance variables.> class-dump-swift Starbucks > ~/Downloads/starbucks-dump.txt Run class-dump-swift on the binary and save the output in a file.Change directories to the folder where you have the Starbucks App binary you extracted following my previous post.> chmod +x /usr/local/bin/class-dump-swift Download the Swift version of class-dump, move it to /usr/local/bin ( this is to be able to execute it from any folder in the system) and give it execution permissions.The Starbucks app has swift code in it so you'll have to use the Swift version of class-dump. You can download them from here (Objc class-dump) and here (Swift class-dump). This means the tools we used before to dump iOS apps classes won't work when there is Swift code in the binary, because of this I have 2 versions of class-dump. As you probably know by now, iOS apps are no longer exclusively written in Objective-C, they now can also be written (and Apple is encouraging developers to do so) in Swift or a mix of both. One of the best ways to understand the behaviour of an iOS app is to read the interfaces exposed when dumping it's classes. Runtime manipulation using bfinject cycriptÄump Starbucks app's classes using class-dump.Disassemble the Starbucks app using Hopper.Dump Starbucks app's classes using class-dump.In this second and final part we'll learn how to: In the first part of the series we learned how to setup your phone on iOS 11 and how to decrypt an iOS app. This is the second part of the "Reverse Engineering iOS Apps - iOS 11 Edition" series.
0 Comments
Leave a Reply. |