iOS逆向 - 如何在 iPhone 中使用 RevealLoader Reveal apps

iOS逆向 - 如何在 iPhone 中使用 RevealLoader Reveal apps

  1. 确保你的 iPhone 和 Mac 在同一个 WIFI 网络下
  2. 安装 OpenSSH
  3. 安装 RevealLoader
  4. 使用 Reveal (笔者使用的 Reveal 版本是 v1.6.3).

确保你的 iPhone 和 Mac 在同一个 WIFI 网络下

安装 OpenSSH

可参考 《# iOS逆向 - 安装 OpenSSH 并修改密码》

安装 RevealLoader

在 Cydia 中搜索并安装 RevealLoader

如果搜索不到,可能是没有添加 BigBoss 软件源。添加软件源,请参考《iOS逆向 - 添加 Cydia 软件源(中文版)》

替换 libReveal.dylib

RevealLoader 中的 Reveal 动态库 libReveal.dylib 比较旧,可能和你当前的 Reveal 版本不一致。建议先删除,然后再重新上传一份 Mac 上安装的 Reveal 的 libReveal.dylib 动态库。

Likid$ ssh [email protected] *// ssh to your iPhone*
[email protected]'s password: *// enter your password, default is `alpine`*
MyIPhone:~ root# cd /Library/RHRevealLoader/
MyIPhone:/Library/RHRevealLoader root# ls
libReveal.dylib
MyIPhone:/Library/RHRevealLoader root# rm libReveal.dylib *// remove old libReveal.dylib*

拷贝新的 libReveal.dylib 到 RevealLoader

打开一个新的 Terminal 窗口,使用 scp 命令拷贝本机上的 libReveal.dylib 到 RevealLoader 上。

Likid$ scp /Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib [email protected]:/Library/RHRevealLoader/
[email protected]'s password: 
libReveal.dylib                               100% 4282KB   4.2MB/s   00:01    

使用 Reveal

设置 -> Reveal -> Enabled Applications 中打开你想要 debug 的 apps。打开你想要 debug 的 app,使用 Reveal 就可以在你的 Mac 中看到相应的界面。(你可能需要退出并重启你要 debug 的 app)

RevealLoader 原文如下:

Open 'Settings > Reveal > Enabled Applications' and toggle the application or applications that you want to debug to on.
Launch the target application and it should appear inside Reveal.app on your Mac.
(You will likely need to quit and relaunch the target application)

ref:

  1. https://github.com/heardrwt/RevealLoader
  2. 《iOS应用逆向工程(第2版)》

ps: 在写这篇文章的时候,为了避免在中英文中切换,一开始是用英文写的,怕不方便检索和查看,又“翻译”成了中文。英文版附在后面,如下。


iOSRe - How To Use RevealLoader to Reveal apps in IPhone

  1. Be sure your Mac and iPhone is connected to same WIFI.
  2. Install OpenSSH
  3. Install RevealLoader
  4. Use Reveal (My Reveal is v1.6.3).

**Be sure your Mac and iPhone is connected to same WIFI. **

Install OpenSSH

ref: 《# iOS逆向 - 安装 OpenSSH 并修改密码》

Install RevealLoader

Search and Install RevealLoader in Cydia.

If no found, add the BigBoss apt, ref: 《iOS逆向 - 添加 Cydia 软件源(中文版)》

replace libReveal.dylib

The libReveal.dylib in RevealLoader may be too old to use, and not match your Reveal app, so we need to replace it with the new one. Remove it and upload the libReveal.dylib in your Reveal app.

Likid$ ssh [email protected] *// ssh to your iPhone*
[email protected]'s password: *// enter your password, default is `alpine`*
MyIPhone:~ root# cd /Library/RHRevealLoader/
MyIPhone:/Library/RHRevealLoader root# ls
libReveal.dylib
MyIPhone:/Library/RHRevealLoader root# rm libReveal.dylib *// remove old libReveal.dylib*

copy your new libReveal.dylib to RevealLoader

Open New Terminal Tab, use scp command to copy your local libReveal.dylib to RevealLoader.

Likid$ scp /Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib [email protected]:/Library/RHRevealLoader/
[email protected]'s password:
libReveal.dylib 100% 4282KB 4.2MB/s 00:01

Use Reveal

Open 'Settings > Reveal > Enabled Applications' and toggle the application or applications that you want to debug to on.
Launch the target application and it should appear inside Reveal.app on your Mac.
(You will likely need to quit and relaunch the target application)

ref: https://github.com/heardrwt/RevealLoader

你可能感兴趣的:(iOS逆向 - 如何在 iPhone 中使用 RevealLoader Reveal apps)