KratosKnife icon indicating copy to clipboard operation
KratosKnife copied to clipboard

cant generate

Open jesse234 opened this issue 3 years ago • 5 comments

pretty much looks like a good tool but does not generate exe , i am currently having a traceback in Generator.py

jesse234 avatar Mar 07 '21 18:03 jesse234

thanks for your response , i get these traceback on kali linux when i try to run generator.py

/bin/sh: 1: where: not found Traceback (most recent call last): File "/root/Desktop/KratosKnife/Botnet-Generator/Generator.py", line 160, in PYTHON_PYINSTALLER_PATH = get_python_pyinstaller_path() File "/root/Desktop/KratosKnife/Botnet-Generator/Generator.py", line 35, in get_python_pyinstaller_path python_path = subprocess.check_output("where python", shell=True) File "/usr/lib/python3.9/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'where python' returned non-zero exit status 127.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/Desktop/KratosKnife/Botnet-Generator/Generator.py", line 248, in del_junk_file(file_name) NameError: name 'file_name' is not defined

this was my command : python3 Generator.py -s http://xxxxxxxxxxxxxxx.com/panel -o book --icon icon/book.ico

on the output i have even tried .exe on book.exe i still get thesame error

And kratosknife runs currently on python3

jesse234 avatar Mar 10 '21 16:03 jesse234

Create payload from windows machine, as this botnet is for windows only

On Wed, 10 Mar, 2021, 9:49 pm jesse234, [email protected] wrote:

thanks for your response , i get these traceback on kali linux when i try to run generator.py

/bin/sh: 1: where: not found Traceback (most recent call last): File "/root/Desktop/KratosKnife/Botnet-Generator/Generator.py", line 160, in PYTHON_PYINSTALLER_PATH = get_python_pyinstaller_path() File "/root/Desktop/KratosKnife/Botnet-Generator/Generator.py", line 35, in get_python_pyinstaller_path python_path = subprocess.check_output("where python", shell=True) File "/usr/lib/python3.9/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'where python' returned non-zero exit status 127.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/Desktop/KratosKnife/Botnet-Generator/Generator.py", line 248, in del_junk_file(file_name) NameError: name 'file_name' is not defined

this was my command : python3 Generator.py -s http://xxxxxxxxxxxxxxx.com/panel -o book --icon icon/book.ico

on the output i have even tried .exe on book.exe i still get thesame error

And kratosknife runs currently on python3

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PushpenderIndia/KratosKnife/issues/9#issuecomment-795679402, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYIXUWRJG7LVWR7XLGETTC6L2HANCNFSM4YYDK6ZA .

PushpenderIndia avatar Mar 11 '21 02:03 PushpenderIndia

cool bro and thanks for the response, please i have an issue when running generator.py on windows i get this error 'C:/Users/user' is not recognized as an internal or external command, operable program or batch file. pls could you suggest to me on how to get this error cleared ? tnks bro

jesse234 avatar Mar 12 '21 20:03 jesse234

cool bro and thanks for the response, please i have an issue when running generator.py on windows i get this error 'C:/Users/user' is not recognized as an internal or external command, operable program or batch file. pls could you suggest to me on how to get this error cleared ? tnks bro

jesse234 avatar Mar 16 '21 16:03 jesse234

sorry bro your botnet dont work alot of errors , and edit your readme to add pyinstaller path on generator.py but still much errors . thanks anyways not bad of an effort

jesse234 avatar Mar 20 '21 19:03 jesse234