koutto / jok3r

Jok3r v3 BETA 2 - Network and Web Pentest Automation Framework

Home Page:https://www.jok3r-framework.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot create databse

Parshuram2 opened this issue · comments

The create database command python3 jok3r.py db gives the following error
Traceback (most recent call last):

File "jok3r.py", line 44, in init
controller.run()
File "/root/jok3r/lib/controller/MainController.py", line 23, in run
}.get(self.arguments.mode)(self.arguments, self.settings, self.sqlsess).run()
File "/root/jok3r/lib/controller/DbController.py", line 68, in init
del cmd2.Cmd.do_load
AttributeError: do_load

i have the same problem

commented

I faced the same issue. My guess is the cmd2 built-in commands do not exist. You can fix it by commenting or deleting lines 68 and 70 for "jok3r/DbController.py".

The 2 lines you need to comment/delete:
del cmd2.Cmd.do_load
del cmd2.Cmd.do_pyscript

Install package dependency cmd2 via python pip or python-cmd2 via your OS package manager

Comment/delete lines in "/root/jok3r/lib/controller/DbController.py" as dtql mentioned above is what resolved this issue.

I faced the same issue. My guess is the cmd2 built-in commands do not exist. You can fix it by commenting or deleting lines 68 and 70 for "jok3r/DbController.py".

The 2 lines you need to comment/delete:
del cmd2.Cmd.do_load
del cmd2.Cmd.do_pyscript

yes your trick working bro.... thank you so much ....

The solution that worked for some of you didn't work for me.