青花瓷运用->下载历史版本App
1.软件准备
-
【必备】Charles4.0.1 下载密码: jfnk
-
【不需要,配合Charles食用效果更佳】Paw2.3.1 下载密码: t3my
2.正式开始
2.1 打开Charles青花瓷
![](http://upload-images.jianshu.io/upload_images/3352035-3a83bf149ba2c77e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp1.png
2.2 安装证书以便能够拦截解析HTTPS请求数据
![](http://upload-images.jianshu.io/upload_images/3352035-e61c416b8d46010e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp2.png
2.2.1 如果是选择本地安装证书的话,记住保存格式选择.cer
![](http://upload-images.jianshu.io/upload_images/3352035-60e08772d2280840.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp3.png
2.2.2 双击下载好的证书
![](http://upload-images.jianshu.io/upload_images/3352035-c4fdf5049dfc668a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp4.png
2.2.3 右键点击证书
![](http://upload-images.jianshu.io/upload_images/3352035-c14484076e076162.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp5.png
2.2.4 信任证书
![](http://upload-images.jianshu.io/upload_images/3352035-7f4abd8ac46f7b1d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp6.png
2.2.5 ssl代理证书配置完成
![](http://upload-images.jianshu.io/upload_images/3352035-143274212da9c160.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp7.png
2.3 打开iTunes
![](http://upload-images.jianshu.io/upload_images/3352035-9222818a8e3c4d6a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp8.png
2.4 单击编辑左上角以便能够出现应用
这个选项
![](http://upload-images.jianshu.io/upload_images/3352035-2d6da2d7d4075093.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp9.png
2.5 在下拉选项中勾选应用
![](http://upload-images.jianshu.io/upload_images/3352035-711252b5e84a977c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp10.png
2.6 单击正上方的App Store
![](http://upload-images.jianshu.io/upload_images/3352035-1459811a71caac3d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp11.png
2.7 搜索需要下载历史版本的App,这里我以IT之家为例
![](http://upload-images.jianshu.io/upload_images/3352035-fd466de4153850c9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp12.png
2.8 点击获取按钮,就会变成正在下载
![](http://upload-images.jianshu.io/upload_images/3352035-22de402265a4a3d4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp13.png
2.9 这时候查看Charles能够看到一大堆请求,看关键字p28-buy
,这个是Itunes的下载请求,而且是HTTPS加密的,链接旁边有一把小锁,不能查看里面的内容
![](http://upload-images.jianshu.io/upload_images/3352035-137dff14f783cf95.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp14.png
2.10 打开ssl代理并打断点拦截该请求
![](http://upload-images.jianshu.io/upload_images/3352035-dfbe88bae27b32a1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp15.png
2.11 进入iTunes删除刚才下载的App,因为刚才只是为了获取下载请求
![](http://upload-images.jianshu.io/upload_images/3352035-e0ee6c5b4052c5c0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp16.png
2.12 删除好App后刷新一下,重启Charles,再次点击iTunes的获取按钮
![](http://upload-images.jianshu.io/upload_images/3352035-9fe8ccdb4f18036d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp17.png
2.13 可以看到这时候已经能够查看HTTPS请求里面的内容了,点击图中相应位置
![](http://upload-images.jianshu.io/upload_images/3352035-0305ce5d6aa34a8c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp18.png
2.14 往下翻,可以查看到一大串数字,这些全都是该App的历史版本编号,我们只需要把想下载的历史版本的编号复制下来就好,后面会用到,这里我复制第一个11577427
,为该app的第一个版本
![](http://upload-images.jianshu.io/upload_images/3352035-3e3f668f4b339109.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp19.png
2.15 再次点击获取按钮,下载请求会被拦截,跳转到Charles
![](http://upload-images.jianshu.io/upload_images/3352035-55ed5ee704d10830.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp20.png
2.16 这时候把最新的版本号替换成刚才我们复制好的历史版本号
![](http://upload-images.jianshu.io/upload_images/3352035-74cc7b7aae496666.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp21.png
2.17 点击Excute
执行按钮,可能会来断点2次,除了第一次,后面的都直接点击Excute
执行按钮
![](http://upload-images.jianshu.io/upload_images/3352035-f42620589d481a06.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp22.png
2.18 大功告成!!!
![](http://upload-images.jianshu.io/upload_images/3352035-b7db8dbd4427e413.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp23.png
2.19 查看下载好的App的版本号
![](http://upload-images.jianshu.io/upload_images/3352035-047bc4306b67adb1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp24.png
![](http://upload-images.jianshu.io/upload_images/3352035-f4849251d1e73655.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp25.png
![](http://upload-images.jianshu.io/upload_images/3352035-080d063768dc5925.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp26.png
3.安装旧版本App
旧版本的App下载好了,接下来我们要安装到手机上才是王道,或者进行其他用途,这里介绍下2种安装到iPhone上的方法。
-
1.利用iTunes安装
手机链接电脑,iTunes自动弹出,然后会进行同步,刚才电脑上下载好的应用会自动安装到iPhone上。 -
2.利用iTools安装
![](http://upload-images.jianshu.io/upload_images/3352035-3a8d33465b548c7f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp27.png
![](http://upload-images.jianshu.io/upload_images/3352035-d7bc672ecfe7b0c3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
historyApp28.png
Write the code ,change the world!