Skip to content

Instantly share code, notes, and snippets.

@BitTheByte
Created September 28, 2020 08:01
Show Gist options
  • Save BitTheByte/e40cc3100d8b07c162eee420caee5a45 to your computer and use it in GitHub Desktop.
Save BitTheByte/e40cc3100d8b07c162eee420caee5a45 to your computer and use it in GitHub Desktop.

Revisions

  1. BitTheByte created this gist Sep 28, 2020.
    5 changes: 5 additions & 0 deletions burpandroid.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    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"