HttpCanary-Android
WARNING
It is not working again on some devices, I don't know why ╮(╯▽╰)╭
Please use Charles if HttpCanary failed.
Once you installed CA cert, you don't need PC anymore.
For Android 6 or lower:
- Install CA cert in HttpCanary
- start sniffing
adb
For Android 7-10(root required) 0. Turn on Developer Mode and Debugging Mode in Android Settings
Install CA cert in HttpCanary
download adb from https://developer.android.com/studio/releases/platform-tools, add it to Path(environment variable)
open CMD or PowerShell, make sure
adb
or./adb
worksconnect mobile phone via USB, or connect emulator via
adb connect 127.0.0.1:xxxx
xxxx is the emulator port, it depends on what emulator you are using, search it. Do connect one device or emulator at one.
adb devices
to check connected devices.Run
adb shell su mount -o rw,remount / cp -f /data/data/com.guoshi.httpcanary/cache/HttpCanary.pem /system/etc/security/cacerts/87bc3517.0 chmod 644 /system/etc/security/cacerts/87bc3517.0 touch /data/data/com.guoshi.httpcanary/cache/HttpCanary.jks chmod 600 /data/data/com.guoshi.httpcanary/cache/HttpCanary.jks
reopen HttpCanary and start sniffing
Some Emulator ports
May be different with actual port ╮(╯▽╰)╭
- NetEase MuMu 7555
- Nox 62001
- BlueStacks 5555 (ps:There is no network/cert related settings?)
Magisk+JustTrustMe
Also need root.
Install Magisk
In Magisk, install JustTrustMe or MagiskTrustUserCerts module
Install HttpCanary CA cert as user cert.
Restart phone, the module will auto move user cert to system cert
(Android 11+?) create this file and give 600 permission
/data/data/com.guoshi.httpcanary/cache/HttpCanary.jks
start sniffing
Target Https Request
It's the login request:
- JP:
https://game.fate-go.jp/login/top?_userId=xxxx
- NA:
https://game.fate-go.us/login/top?_userId=xxxx
- CN: where
line3-s2-ios-fate
may change, the key point is_key=toplogin
https://line3-s2-ios-fate.bilibiligame.net/rongame_beta//rgfate/60_1001/ac.php?_userId=xxxx&_key=toplogin
- TW: similar with CN, but its domain is
https://line3-s1-all.fate-go.com.tw
Notes
I don't try much for this method, please google it for more details.