Last active
June 17, 2024 21:54
-
-
Save cihanmehmet/b8da8b4abfee89f013ddcacfc464c68b to your computer and use it in GitHub Desktop.
Andorid 7-10 Burpsuite Certificate İnstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
wget -e use_proxy=yes -e http_proxy=127.0.0.1:8080 http://burp/cert -O cacert.der #open burp suite | Proxy > Options > CA Certificate > Export in DER format | |
#openssl x509 -inform DER -in cacert.der -out cacert.pem | |
cp cacert.pem $(openssl x509 -inform PEM -subject_hash_old -in cacert.pem | head -1)".0" #9a5ba575.0 | |
#-------------------------------------------------------------------------------------------------------- | |
adb root | |
adb remount | |
adb push 9a5ba575.0 /sdcard/ | |
#-------------------------------------------------------------------------------------------------------- | |
adb shell cp /sdcard/9a5ba575.0 /system/etc/security/cacerts/ | |
adb shell chmod 644 /system/etc/security/cacerts/9a5ba575.0 | |
#mv /sdcard/9a5ba575.0 /system/etc/security/cacerts/ | |
#chmod 644 /system/etc/security/cacerts/9a5ba575.0 | |
adb shell reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Emulator Connect
Android Burp Cert Add
Frida Android Install
Process Emulator Frida