1
0
mirror of https://github.com/ivRodriguezCA/RE-iOS-Apps synced 2026-01-09 18:42:49 +00:00

- Moved Module 3 solutions to a new file.

- Added some troubleshooting for cycript errors.
- Fixed some typos.
This commit is contained in:
Ivan Rodriguez
2019-05-23 08:48:50 -07:00
parent 7a17c5d300
commit a70d653b9a
4 changed files with 43 additions and 25 deletions

View File

@@ -282,6 +282,21 @@ Since you need a jailbroken device for this exercise, I'm assuming you've been u
cycript -r <Device-IP>:1337
```
- You have now an interactive console that you can use to send commands to the `CoinZa` application.
- If you get the followign error:
```bash
dyld: Library not loaded: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib
Referenced from: /usr/local/bin/Cycript.lib/cycript-apl
Reason: image not found
Abort trap: 6
```
- Install Ruby 2.0:
```bash
brew install ruby@2.0
```
- Copy the library to `Cycript.lib`
```bash
cp /usr/local/Cellar/ruby\@2.0/2.0.0-p648_7/lib/libruby.2.0.0.dylib /usr/local/bin/Cycript.lib/
```
**Any version of iOS**
- Now that you have an interactive console via `Cycript` we can start by removing that annoying popup. First we are going to use the `choose` function to get all the instances of the `UIAlertController` class. The `choose` function reads the provided class signature and searches the memory for objects that have a similar signature and returns an array of all the objects it can find: