Skip to content

Instantly share code, notes, and snippets.

@sathishshan
Last active April 15, 2024 04:46
Show Gist options
  • Save sathishshan/dd763f769647cddd60ea18c066e9d322 to your computer and use it in GitHub Desktop.
Save sathishshan/dd763f769647cddd60ea18c066e9d322 to your computer and use it in GitHub Desktop.
openssl x509 -inform der -in cacert.der -out burp.pem
openssl x509 -inform pem -subject_hash_old -in burp.pem
openssl x509 -inform pem -subject -in 9a5ba575.0
mv burp.pem 93f6f67f.0
adb push 93f6f67f.0 /system/etc/security/cacerts
adb shell
su -> If needed
mount -o remount,rw /
mount -t tmpfs tmpfs /system/etc/security/cacerts
Set Proxy:
adb shell settings put global http_proxy localhost:8080
Unset Proxy:
adb shell settings put global http_proxy :0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment