跳到主要内容

安卓7抓https包

burp 导出der证书(xray:xray genca)

openssl x509 -inform DER -in burp.der -out burp.pem

openssl x509 -inform PEM -subject_hash_old -in burp.pem

取第一行

mv burp.pem 9a5ba575.0

adb connect x.x.x.x:62001

adb devices

adb root

adb shell mount -o rw,remount /system

adb push 9a5ba575.0 /system/etc/security/cacerts

adb shell chmod 644 /system/etc/security/cacerts/9a5ba575.0