Proxy traffic on a rooted virtual android device using Burpsuite
Set up a rooted virtual device to properly proxy traffic through the Burpsuite.
Tools -> Proxy -> Proxy listeners -> Add -> All interfaces -> Bind to port (8082)$adb shell settings put global http_proxy 10.0.2.2:8082
$adb shell settings get global http_proxy # Confirm the proxy
$adb shell settings delete global http_proxy # Clear the proxyTools -> Proxy -> Proxy listeners -> Export CA certificate -> Certificate in DER formatopenssl x509 -inform DER -in BurpCA.cer -out BurpCA.pem$openssl x509 -inform PEM -subject_hash_old -in BurpCA.pem | head -1
9a5ba575Last updated