| @@ -10,16 +10,18 @@ The current acquisition API is | |||
| | 英语(en) | https://api-na-adrv2.padsv.gungho.jp/api.php?action=download_card_data<br>https://api-na-adrv2.padsv.gungho.jp/api.php?action=download_skill_data | | |||
| | 韩语(ko) | https://api-kr-adrv2.padsv.gungho.jp/api.php?action=download_card_data<br>https://api-kr-adrv2.padsv.gungho.jp/api.php?action=download_skill_data | | |||
| * 但是有加密的参数,我不知道如何生成,所以我只能从游戏的下载过程截获。 | |||
| * 但是有加密的参数,我不知道如何生成,所以我只能从游戏的下载过程截获。 | |||
| But there are encrypted parameters that I don't know how to generate. So I intercepted from the game's download process. | |||
| * 以[夜神模拟器](https://www.bignox.com/)为例,在安卓7里安装智龙迷城。 | |||
| Take the [Nox Player](https://www.bignox.com/), for example. Install PAD in Android 7. | |||
| * 使用[Fidder](https://www.telerik.com/download/fiddler),执行*HTTPS中间人攻击*从游戏内抓包获得怪物信息。 | |||
| Use [Fidder](https://www.telerik.com/download/fiddler), do *HTTPS man-in-the-middle attack* to capture monster information from in-game capture. | |||
| 1. 参考/Reference: https://www.jianshu.com/p/035f7d7a0f7e | |||
| * 安卓5可以直接在安卓系统里安装 *CER* 证书,但安卓7开始,系统不再信任用户证书。 | |||
| Android 5 can install *CER* certificates directly in Android. Starting with Android 7, the system no longer trusts user certificates. | |||
| * 如果你的模拟器需要安卓7才能玩智龙迷城。以[夜神模拟器](https://www.bignox.com/)为例,在安卓7里安装智龙迷城。 | |||
| If your simulator needs Android 7 to play PAD. Take the [Nox Player](https://www.bignox.com/) for example. Install PAD in Android 7. | |||
| 1. 将 Fidder 根证书导出到桌面 | |||
| Export the Fidder Root Certificate to desktop | |||
| 1. 在电脑上找一个 **openssl.exe** 程序 | |||
| @@ -40,13 +42,18 @@ Use [Fidder](https://www.telerik.com/download/fiddler), do *HTTPS man-in-the-mid | |||
| **Restart** the Android simulator | |||
| 1. 关闭安卓模拟器的 **Root** | |||
| Turn off the **Root** of the Android simulator | |||
| 1. 将安卓模拟器内的 WiFi 代理设置到 Fidder 上 | |||
| Set up the WiFi proxy in the Android emulator to Fidder | |||
| 1. 打开 Fidder 的 HTTPS 解密,和 GZIP 解码 | |||
| Turn on Fidder's HTTPS decrypt and GZIP decode | |||
| * 现在你运行模拟器内的游戏,Fidder 就能够截获和解密智龙迷城的数据了。 | |||
| Now that you're running the game inside the simulator, Fidder will be able to intercept and decrypt the data from the PAD. | |||
| 参考/Reference: https://www.jianshu.com/p/035f7d7a0f7e | |||
| * 将安卓模拟器内的 WiFi 代理设置到 Fidder 上 | |||
| Set up the WiFi proxy in the Android emulator to Fidder | |||
| * 打开 Fidder 的 HTTPS 解密,和 GZIP 解码 | |||
| Turn on Fidder's HTTPS decrypt and GZIP decode | |||
| * 现在你运行模拟器内的游戏,Fidder 就能够截获和解密智龙迷城的数据了。将返回的 JSON 数据保存为文件。 | |||
| Now that you're running the game inside the simulator, Fidder will be able to intercept and decrypt the data from the PAD. Save the response JSON data as a file. | |||
| * 将以下代码加入 Fidder 的自定义代码的`OnBeforeResponse`中就可以每次自动保存文件了。 | |||
| Add the following code to `OnBeforeResponse` of Fidder's **Customize Rules** to save the file automatically each time. | |||