colored output fix, error was not red, is now

This commit is contained in:
ekultek 2017-12-06 09:35:31 -06:00
parent 27fe53817d
commit d79296e4cc

View file

@ -246,7 +246,7 @@ def main_xss(start_url, proxy=None, agent=None, **kwargs):
lib.core.settings.create_tree(start_url, list(success))
else:
lib.core.settings.logger.error(lib.core.settings.set_color(
"host '{}' does not appear to be vulnerable to XSS attacks...".format(start_url)
"host '{}' does not appear to be vulnerable to XSS attacks...".format(start_url), level=40
))
question_msg = "would you like to keep the created URLs saved for further testing"
if not batch: