Error occurs
opened this issue · comments
root@kali-linux:~/Binance/adb-ssl-unpinning# python3 adb-ssl-unpinning.py ce70a47c0721 com.binance.dev --debug
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
I: Using Apktool 2.6.1 on split_trade.apk
I: Copying raw manifest...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
I: Using Apktool 2.6.1
W: Could not find sources
[Fatal Error] :1:1: Content is not allowed in prolog.
I: Checking whether resources has changed...
I: Building AndroidManifest.xml...
W: /root/Binance/adb-ssl-unpinning/com.binance.dev_patched/split_trade/AndroidManifest.xml:1: error: Error parsing XML: not well-formed (invalid token)
W:
W: Parse AndroidManifest.xml failed, treat it as raw file.
I: Copying raw AndroidManifest.xml...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
source:
/root/Binance/adb-ssl-unpinning/com.binance.dev_patched
zipalign location: PATH
/usr/bin/zipalign
keystore:
[0] 161a0018 /tmp/temp_14159699821941363948_debug.keystore (DEBUG_EMBEDDED)
01. split_trade.repack.apk
SIGN
file: /root/Binance/adb-ssl-unpinning/com.binance.dev_patched/split_trade.repack.apk (0.0 MiB)
checksum: e22fcc1cefe4a7b376ec17542303b8d7389b2b2405ef6a2f432b5cb599616909 (sha256)
- could not align
could not execute zipalign
Run with '--debug' parameter to get additional information.
Traceback (most recent call last):
File "/root/Binance/adb-ssl-unpinning/adb-ssl-unpinning.py", line 132, in <module>
patch_package(device, package_name)
File "/root/Binance/adb-ssl-unpinning/adb-ssl-unpinning.py", line 108, in patch_package
os.rename(signed_apk_path, patched_apk_path)
FileNotFoundError: [Errno 2] No such file or directory: 'com.binance.dev_patched/split_trade.repack-aligned-debugSigned.apk' -> 'com.binance.dev_patched/split_trade_patched.apk'