mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
same as admin panel, full batch functionaility has been implemented
This commit is contained in:
parent
d5575b51ec
commit
33ac2f961a
1 changed files with 9 additions and 3 deletions
|
|
@ -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(
|
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)
|
||||||
))
|
))
|
||||||
|
question_msg = "would you like to keep the URL's saved for further testing"
|
||||||
if not batch:
|
if not batch:
|
||||||
save = lib.core.settings.prompt(
|
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"):
|
else:
|
||||||
os.remove(filename)
|
save = lib.core.settings.prompt(
|
||||||
|
question_msg, opts="yN", default="n"
|
||||||
|
)
|
||||||
|
|
||||||
|
if save.lower().startswith("n"):
|
||||||
|
os.remove(filename)
|
||||||
else:
|
else:
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
Loading…
Reference in a new issue