https://github.com/skyf0l/adb-ssl-unpinning
Automated script to disable SSL certificate pinning without root using adb
https://github.com/skyf0l/adb-ssl-unpinning
android apk apktool bypass cybersecurity ssl-certificates ssl-pinning
Last synced: about 2 months ago
JSON representation
Automated script to disable SSL certificate pinning without root using adb
- Host: GitHub
- URL: https://github.com/skyf0l/adb-ssl-unpinning
- Owner: skyf0l
- Created: 2022-10-23T01:10:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T16:06:49.000Z (over 2 years ago)
- Last Synced: 2025-03-25T19:40:24.635Z (2 months ago)
- Topics: android, apk, apktool, bypass, cybersecurity, ssl-certificates, ssl-pinning
- Language: Python
- Homepage:
- Size: 20.1 MB
- Stars: 23
- Watchers: 1
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# adb-ssl-unpinning
Automated script to disable SSL certificate pinning without root using adb.
## Usage
This script will pull the apk from the device, disable the SSL pinning, and push it back to the device through adb.
Be aware that this script will uninstall the app from the device, so make sure you have a backup of the app.
You can also find the original apk in the `com.example` and the modified apk in the `com.example_patched` folder.
```bash
$ python3 adb-ssl-unpinning.py
```Example:
```bash
$ python3 adb-ssl-unpinning.py emulator-5554 com.example
```## Find device serial
Connect your device to your computer and run `adb usb` to enable USB debugging, or use an emulator.
Then, find the serial of your device by running:
```bash
$ adb devices
List of devices attached
emulator-5554 device
```Here `emulator-5554` is the serial number of the device.
## Find package name
```bash
$ adb shell pm list packages
$ adb shell pm list packages | grep example
```## References
- [APKtool](https://ibotpeaches.github.io/Apktool/install)
- [uber-apk-signer](https://github.com/patrickfav/uber-apk-signer)