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

Report error #49

Open
ddr01d3k4 opened this issue Aug 12, 2020 · 0 comments
Open

Report error #49

ddr01d3k4 opened this issue Aug 12, 2020 · 0 comments

Comments

@ddr01d3k4
Copy link

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'

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

1 participant