You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, when using 'report' command inside jok3r framework, I get the following error:
[] Taking web page screenshots for HTTP services (total: 1)...
[] [1/1] Screenshot already in database for https://
Traceback (most recent call last):
File "/home/XXXXXXXX/.local/lib/python3.8/site-packages/cmd2/cmd2.py", line 1646, in onecmd_plus_hooks
stop = self.onecmd(statement, add_to_history=add_to_history)
File "/home/XXXXXXXX/.local/lib/python3.8/site-packages/cmd2/cmd2.py", line 2075, in onecmd
stop = func(statement)
File "/home/XXXXXXXX/.local/lib/python3.8/site-packages/cmd2/decorators.py", line 270, in cmd_wrapper
return func(cmd2_app, args, **kwargs)
File "/home/XXXXXXXX//jok3r/lib/controller/DbController.py", line 1737, in do_report
reporter.run()
File "/home/XXXXXXXX/jok3r/lib/reporter/Reporter.py", line 101, in run
html = self.__generate_index()
File "/home/XXXXXXXX/jok3r/lib/reporter/Reporter.py", line 147, in __generate_index
tpl = FileUtils.read(REPORT_TPL_DIR + '/index.tpl.html')
File "/home/XXXXXXXX/jok3r/lib/utils/FileUtils.py", line 41, in read
result += line
TypeError: can only concatenate str (not "bytes") to str
EXCEPTION of type 'TypeError' occurred with message: 'can only concatenate str (not "bytes") to str'
The text was updated successfully, but these errors were encountered:
In some cases, when using 'report' command inside jok3r framework, I get the following error:
[] Taking web page screenshots for HTTP services (total: 1)...
[] [1/1] Screenshot already in database for https://
Traceback (most recent call last):
File "/home/XXXXXXXX/.local/lib/python3.8/site-packages/cmd2/cmd2.py", line 1646, in onecmd_plus_hooks
stop = self.onecmd(statement, add_to_history=add_to_history)
File "/home/XXXXXXXX/.local/lib/python3.8/site-packages/cmd2/cmd2.py", line 2075, in onecmd
stop = func(statement)
File "/home/XXXXXXXX/.local/lib/python3.8/site-packages/cmd2/decorators.py", line 270, in cmd_wrapper
return func(cmd2_app, args, **kwargs)
File "/home/XXXXXXXX//jok3r/lib/controller/DbController.py", line 1737, in do_report
reporter.run()
File "/home/XXXXXXXX/jok3r/lib/reporter/Reporter.py", line 101, in run
html = self.__generate_index()
File "/home/XXXXXXXX/jok3r/lib/reporter/Reporter.py", line 147, in __generate_index
tpl = FileUtils.read(REPORT_TPL_DIR + '/index.tpl.html')
File "/home/XXXXXXXX/jok3r/lib/utils/FileUtils.py", line 41, in read
result += line
TypeError: can only concatenate str (not "bytes") to str
EXCEPTION of type 'TypeError' occurred with message: 'can only concatenate str (not "bytes") to str'
The text was updated successfully, but these errors were encountered: