ilya-kozyr / android-ssl-pinning-bypass Goto Github PK
View Code? Open in Web Editor NEWThe script allows to bypass SSL pinning on Android >= 7 and makes APK file ready for HTTPS traffic inspection
The script allows to bypass SSL pinning on Android >= 7 and makes APK file ready for HTTPS traffic inspection
Command : python3 apk-rebuild.py tttt.apk
File "C:\Users\ddddddd\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 524, in list2cmdline
needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: argument of type 'WindowsPath' is not iterable
I am trying to bypass SSL Pinning on Instagram instagram-289-0-0-25-49.apk
but this tool doesn't seems to work,
showing me this response
[apk-rebuild.py:INFO] Processing instagram-289-0-0-25-49.apk
[apk-rebuild.py:INFO] Decompiling the .apk file
I: Using Apktool 2.6.1 on instagram-289-0-0-25-49.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x15fd0e05
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000045
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x15fd0e05
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\v1r4l\AppData\Local\apktool\framework\1.apk
I get this error when I run bash.exe apk-rebuild.sh "com.example.android_21.12.2-218_minAPI22.apk"
[apk-rebuild.sh:ERROR] keystore is missing
In the end it says the APK was processed successfully but on installing and testing through mitmproxy the app is still blocked. How do I get this working?
Everything works fine but I'm not able to locate the apk
Failure during Google Maps patching.
W: error: failed processing manifest.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_148859400766068911754294268045452863990.tmp, link, -o, /tmp/APKTOOL10674697484223829283.tmp, --package-id, 127, --min-sdk-version, 23, --target-sdk-version, 33, --version-code, 1066792231, --version-name, 11.58.0701, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -e, /tmp/APKTOOL4905093270083484979.tmp, -0, arsc, -I, /home/user/.local/share/apktool/framework/1.apk, --manifest, /home/user/android-ssl-pinning-bypass/maps.apk-decompiled/AndroidManifest.xml, /home/user/android-ssl-pinning-bypass/maps.apk-decompiled/build/resources.zip]
[apk-rebuild.py:INFO] Signing the new .apk file
provided apk path or file '/home/user/android-ssl-pinning-bypass/maps.apk-patched.apk' does not exist
It generates the apk without any error and can install it on a device but it still uses own CA certificate. Doesnt trust user CA certs. Inspected by HTTPCANARY
Using Apktool 2.6.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-decompiled\AndroidManifest.xml:13: error: attribute android:localeConfig not found.
W: error: failed processing manifest.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Jirkus\AppData\Local\Temp\brut_util_Jar_16086923759569500953624343672266716861.tmp, link, -o, C:\Users\Jirkus\AppData\Local\Temp\APKTOOL3665511037796386887.tmp, --package-id, 127, --min-sdk-version, 19, --target-sdk-version, 31, --version-code, 38, --version-name, 1.0.13, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -e, C:\Users\Jirkus\AppData\Local\Temp\APKTOOL5088375278458652300.tmp, -0, arsc, -I, C:\Users\Jirkus\AppData\Local\apktool\framework\1.apk, --manifest, C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-decompiled\AndroidManifest.xml, C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-decompiled\build\resources.zip]
[rebuild.py:INFO] Signing the new .apk file
provided apk path or file 'C:\Program Files\Microvirt\MEmu\com.app_1.0.13.apk-patched.apk' does not exist
Run with '--debug' parameter to get additional information.
what does he want and how to fix it?
app: https://dropmefiles.com/nxhEY
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.