From 759a8d47c1ec7d960db72b9c276a3f2d6a665a86 Mon Sep 17 00:00:00 2001 From: ekultek Date: Mon, 25 Sep 2017 11:27:56 -0500 Subject: [PATCH] added a flag for nmap arguments, will also display a reference to sqlmap and nmap option man page if you have any questions --- lib/settings.py | 6 +++++- zeus.py | 29 ++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/lib/settings.py b/lib/settings.py index 96c9b21..9da534e 100644 --- a/lib/settings.py +++ b/lib/settings.py @@ -22,7 +22,7 @@ except NameError: # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version -VERSION = "1.0.15.676c" +VERSION = "1.0.16" # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30} # version string formatting @@ -76,6 +76,10 @@ SPIDER_LOG_PATH = "{}/log/blackwidow-log".format(os.getcwd()) CURRENT_LOG_FILE_PATH = "{}/log".format(os.getcwd()) # intel me amt ports AMT_PORTS = (16992, 16993, 16994, 16995, 623, 664) +# nmap's manual page for their options +NMAP_MAN_PAGE_URL = "https://nmap.org/book/man-briefoptions.html" +# sqlmap's manual page for their options +SQLMAP_MAN_PAGE_URL = "https://github.com/sqlmapproject/sqlmap/wiki/Usage" # search engines that the application can use AUTHORIZED_SEARCH_ENGINES = { "aol": "http://aol.com", diff --git a/zeus.py b/zeus.py index f655308..c713141 100644 --- a/zeus.py +++ b/zeus.py @@ -37,7 +37,9 @@ from lib.settings import ( get_random_dork, update_zeus, VERSION_STRING, - URL_REGEX, URL_QUERY_REGEX + URL_REGEX, URL_QUERY_REGEX, + NMAP_MAN_PAGE_URL, + SQLMAP_MAN_PAGE_URL ) @@ -155,6 +157,31 @@ if __name__ == "__main__": print( "[*] {}".format(arg) ) + print("\n") + logger.info(set_color( + "for more information about sqlmap arguments, see here '{}'...".format( + SQLMAP_MAN_PAGE_URL + ) + )) + shutdown() + + if opt.showNmapArgs: + logger.info(set_color( + "there are a total of {} arguments understood by nmap, they include:".format( + len(NMAP_API_OPTS) + ) + )) + print("\n") + for arg in NMAP_API_OPTS: + print( + "[*] {}".format(arg) + ) + print("\n") + logger.info(set_color( + "for more information on what the arguments do please see here '{}'...".format( + NMAP_MAN_PAGE_URL + ) + )) shutdown() # update the program