added a flag for nmap arguments, will also display a reference to sqlmap and nmap option man page if you have any questions

This commit is contained in:
ekultek 2017-09-25 11:27:56 -05:00
parent 6875605c98
commit 759a8d47c1
2 changed files with 33 additions and 2 deletions

View file

@ -22,7 +22,7 @@ except NameError:
# clone link
CLONE = "https://github.com/ekultek/zeus-scanner.git"
# current version <major.minor.commit.patch ID>
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",

29
zeus.py
View file

@ -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