Skip to content

Instantly share code, notes, and snippets.

@iMushlih
Forked from BitTheByte/burpandroid.sh
Created June 8, 2024 15:59
Show Gist options
  • Select an option

  • Save iMushlih/761938173e2dd46ee0b092cbbdc6f6a9 to your computer and use it in GitHub Desktop.

Select an option

Save iMushlih/761938173e2dd46ee0b092cbbdc6f6a9 to your computer and use it in GitHub Desktop.
Convert burp.pem to Android certificate
openssl x509 -inform der -in ca.der -out burp.pem
name=$(openssl x509 -inform PEM -subject_hash_old -in burp.pem | head -1)
cp burp.pem "$name.0"
rm burp.pem
echo "[~] Run using adb: adb push $name.0 /system/etc/security/cacerts/$name.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment