mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
minor tweaks to the output colors
This commit is contained in:
parent
1445ac4a2e
commit
61d25ec6be
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ def perform_port_scan(url, scanner=NmapHook, verbose=False, opts=None, **kwargs)
|
|||
))
|
||||
found_ip_address = socket.gethostbyname(url)
|
||||
lib.core.settings.logger.info(lib.core.settings.set_color(
|
||||
"found IP address for given URL -> '{}'...".format(found_ip_address)
|
||||
"found IP address for given URL -> '{}'...".format(found_ip_address), level=25
|
||||
))
|
||||
if verbose:
|
||||
lib.core.settings.logger.debug(lib.core.settings.set_color(
|
||||
|
|
@ -144,7 +144,7 @@ def perform_port_scan(url, scanner=NmapHook, verbose=False, opts=None, **kwargs)
|
|||
install_nmap_command = shlex.split("sudo sh {}".format(lib.core.settings.NMAP_INSTALLER_TOOL))
|
||||
subprocess.call(install_nmap_command)
|
||||
lib.core.settings.logger.info(lib.core.settings.set_color(
|
||||
"nmap has been successfully installed, re-running..."
|
||||
"nmap has been successfully installed, re-running...", level=25
|
||||
))
|
||||
perform_port_scan(url, verbose=verbose, opts=opts)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue