Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!!!! ERROR IN 'initialize' method #38

Open
insidevoid opened this issue Dec 21, 2018 · 3 comments
Open

!!!! ERROR IN 'initialize' method #38

insidevoid opened this issue Dec 21, 2018 · 3 comments

Comments

@insidevoid
Copy link

[*] DECOMPILING TARGET APK
!!!! ERROR IN 'initialize' method
[Errno 2] No such file or directory
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@Kingkhunt
Copy link

Hey mate just check line 3 from here in your kwetza.py script.

def initialize():
print "[*] DECOMPILING TARGET APK"
command = ["apktool", "--version"]
p = subprocess.Popen(command, stdout=subprocess.PIPE)
theResult = p.communicate()[0]

that should clear your ERR2. im still having this effin drama with initialize though :(

_ __ ___ _ __ ___ _ __ ___ _ __ ___ | | ____ | | ______ _ ) || | | |
| '
_ \| '_ _ | '
_ \| '_ _ \ | |/ /\ \ /\ / / _ \ | / ` | / / | | | |
| | | | | | | | | | | | | | | | | | | | | | < \ V V / _/ | / / (
| | / /
| || |
|
| || ||| || ||| || ||| || || ||_\ _/_/ _
|_/_,| |()/

[*] DECOMPILING TARGET APK
[+] ENDPOINT IP: 10.0.0.0
[+] ENDPOINT PORT: 8080
[+] APKTOOL DECOMPILED SUCCESS
!!!! ERROR IN 'initialize' method
substring not found
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
root@gingerbreadboy:~/kwetza# sudo python2 kwetza.py coinmaster tcp 10.0.0.0 8080 no no
_ _ ___ ___
| | | | |__ \ / _ \
_ __ ___ _ __ ___ _ __ ___ _ __ ___ | | ____ | | ______ _ ) || | | |
| '
_ \| '_ _ | '
_ \| '_ _ \ | |/ /\ \ /\ / / _ \ | / ` | / / | | | |
| | | | | | | | | | | | | | | | | | | | | | < \ V V / _/ | / / (
| | / /
| || |
|
| || ||| || ||| || ||| || || ||_\ _/_/ _
|_/_,| |()/

[*] DECOMPILING TARGET APK
[+] ENDPOINT IP: 10.0.0.0
[+] ENDPOINT PORT: 8080
[+] APKTOOL DECOMPILED SUCCESS
!!!! ERROR IN 'initialize' method
substring not found
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
root@gingerbreadboy:/kwetza# nano kwetza.py
root@gingerbreadboy:
/kwetza#

if anyone wants to help out :)###

@penguinxparrot
Copy link

Do you have apktool installed? just to be on the safe side i would run the command "apt install apktool" and try it again

@bxl520
Copy link

bxl520 commented Jul 5, 2022

[*] DECOMPILING TARGET APK !!!! ERROR IN 'initialize' method [Errno 2] No such file or directory !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
run 'apt install apktool' and try it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants