Skip to content

Commit

Permalink
same as admin panel, full batch functionaility has been implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
ekultek committed Nov 10, 2017
1 parent d5575b5 commit 33ac2f9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/attacks/xss_scan/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,17 @@ def main_xss(start_url, verbose=False, proxy=None, agent=None, tamper=None, batc
lib.core.settings.logger.error(lib.core.settings.set_color(
"host '{}' does not appear to be vulnerable to XSS attacks...".format(start_url)
))
question_msg = "would you like to keep the URL's saved for further testing"
if not batch:
save = lib.core.settings.prompt(
"would you like to keep the URL's saved for further testing", opts="yN"
question_msg, opts="yN"
)
if save.lower().startswith("n"):
os.remove(filename)
else:
save = lib.core.settings.prompt(
question_msg, opts="yN", default="n"
)

if save.lower().startswith("n"):
os.remove(filename)
else:
os.remove(filename)

0 comments on commit 33ac2f9

Please sign in to comment.