kwetza
kwetza copied to clipboard
ERROR !!!
Hi, there Please advise on this Error..................
[] DECOMPILING TARGET APK [+] ENDPOINT IP: *** *** ** *** [+] ENDPOINT PORT: 4467 [+] APKTOOL DECOMPILED SUCCESS [] BYTING HTTPS COMMS [*] ANALYZING ANDROID MANIFEST !!! ERROR IN 'parseAndroidManifest' method [Errno 2] No such file or directory: '/root/Desktop/Tool/kwetza/com/AndroidManifest.xml'
I have saw this issue on and you advise this.......
This appears to be a bug in the script. To workaround this in the meantime, place your target APK in the same directory as Kwetza.py
## However its strange cuz this apk file is in same Folder
root@kali:~/Desktop/Tool/kwetza# ls LICENSE README.md com.steam.photoeditor.apk kwetza.py payload
So please advise, appreciate your help.
## I have also small apk name ............... And got this!!
[] DECOMPILING TARGET APK [+] ENDPOINT IP: 27.34.44.82 [+] ENDPOINT PORT: 4444 [+] APKTOOL DECOMPILED SUCCESS [] BYTING TCP COMMS [] ANALYZING ANDROID MANIFEST [+] TARGET ACTIVIY: .asp [] PREPARING PAYLOADS !!! ERROR IN 'readPayloads' method [Errno 2] No such file or directory: '/root/Desktop/Tool/kwetza/patro/smali//asp.smali' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Look at your error code... root/Desktop/Tool/kwetza//root/Downloads/UC.apk) was not found or
Should you really be running Linux if you can’t spot that?? Thanks,
- Drew McGuire http://www.dbitsecurity.com M: 781-996-8929
On Nov 5, 2017, at 4:34 AM, kali64amd [email protected] wrote:
root/Desktop/Tool/kwetza//root/Downloads/UC.apk) was not found or w
ufffff root/Desktop/Tool/kwetza//root/Downloads/UC.apk) was not found or
This is only example....
i think i have the same problem.
[*] PREPARING PAYLOADS !!! ERROR IN 'readPayloads' method [Errno 2] No such file or directory: '/root/Schreibtisch/kwetza/Kik_v11/smali/com/moo/another/AssistActivity1.smali' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
does anyone have a solution for this problem? the apk is in the same folder.
I think I ran into this issue as well. Apparently the default setup for this kwetza script is to look in the TargetDirectory for a "smali" subfolder. I took a look at the decompiled apk I was working with and noticed there was not "smali" folder, instead there was a "smali_classes2" folder.
So I edited the kwetza.py and replaced all instances of "/smali/" with "smali_classes2" and was able to get the script to successfully execute past this breakpoint:
Now my final hurdle seems to be an issue with jarsigner being able to locate/sign the resulting apk:
Just want to point out that the above jarsigner issue does not have anything to do with the kwetza script itself but something "off" about my apktool/jdk/jarsigner configuration on the machine I was testing with. I tested on another machine running a fresh ARCH Linux install and apktool and jdk7 installed via pacman and it worked fine. I DID still have to make the above changes regarding the smali/smali_classes2 paths.
Hi, I got something similar error
[*] DECOMPILING TARGET APK !!! ERROR IN 'initialize' method [Errno 2] No such file or directory !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[] DECOMPILING TARGET APK [+] ENDPOINT IP: ... [+] ENDPOINT PORT: **** [+] APKTOOL DECOMPILED SUCCESS [] BYTING TCP COMMS [] ANALYZING ANDROID MANIFEST [DEBUG] Attempting to find MAIN !!! ERROR IN 'parseAndroidManifest' method Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! $
Wew
] DECOMPILING TARGET APK Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true [+] ENDPOINT IP: 192.168.10.129 [+] ENDPOINT PORT: no Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true [+] APKTOOL DECOMPILED SUCCESS [] BYTING TCP COMMS [*] ANALYZING ANDROID MANIFEST [DEBUG] Attempting to find MAIN !!! ERROR IN 'parseAndroidManifest' method Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Same issue as above^
when i wanto install i have problem root@kali:~/Desktop/kwetza# python kwetza.py install File "/root/Desktop/kwetza/kwetza.py", line 17 print "BYTING TCP COMMS" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("BYTING TCP COMMS")? root@kali:~/Desktop/kwetza#