Skip to content

Instantly share code, notes, and snippets.

@interference-security
Created August 13, 2018 13:26
Show Gist options
  • Save interference-security/fbe9718f58cb2c143dce18f534aa1f2d to your computer and use it in GitHub Desktop.
Save interference-security/fbe9718f58cb2c143dce18f534aa1f2d to your computer and use it in GitHub Desktop.
Proxy in Android N and above
#Source: https://blog.ropnop.com/configuring-burp-suite-with-android-nougat/
openssl x509 -inform DER -in cacert.der -out cacert.pem
mv cacert.pem `openssl x509 -inform PEM -subject_hash_old -in cacert.pem |head -1`.0
adb root
adb remount
adb push <cert>.0 /sdcard/
mv /sdcard/<cert>.0 /system/etc/security/cacerts/
chmod 644 /system/etc/security/cacerts/<cert>.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment