使用Reveal分析他人APP

2014-07-23 Xiaosong Gao 更多博文 » 博客 » GitHub »

Security

原文链接 https://gaoxiaosong.github.io/2014/07/23/reveal-analyze-app.html
注:以下为加速网络访问所做的原文缓存,经过重新格式化,可能存在格式方面的问题,或偶有遗漏信息,请以原文为准。


准备工作

  1. 已越狱的设备,并且已安装了OpenSSH,MobileSubstrate等实用工具(Cydia源里安装)。
  2. 本地已安装了Reveal。

操作步骤

1、拷贝framework和dylib到越狱机

scp -r /Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/Reveal.framework root@192.168.0.X:/System/Library/Frameworks
scp /Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib root@192.168.0.X:/Library/MobileSubstrate/DynamicLibraries

2、编辑libReveal.plist

a、可以ssh登录到越狱机上,并且越狱机已安装了编辑器工具例如nano,在/Library/MobileSubstrate/DynamicLibraries/下创建文件libReveal.plist,指定app的Bundle,可以指定多个。

{
  Filter = {
    Bundles = ("com.apple.AppStore");
  };
}

b、也可以在本地创建好libReveal.plist在scp到指定位置/Library/MobileSubstrate/DynamicLibraries/下。

3、重启越狱机

a、执行killall SpringBoard。

b、也可以重启设备。

然后就可以到Reveal看看别人的APP怎么布局的了,苹果的AppStore: