From 61d25ec6be8e29858df4b873f490957ec0f0174c Mon Sep 17 00:00:00 2001 From: ekultek Date: Wed, 8 Nov 2017 20:00:27 -0600 Subject: [PATCH] minor tweaks to the output colors --- lib/attacks/nmap_scan/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/attacks/nmap_scan/__init__.py b/lib/attacks/nmap_scan/__init__.py index 3f34721..ab3a924 100644 --- a/lib/attacks/nmap_scan/__init__.py +++ b/lib/attacks/nmap_scan/__init__.py @@ -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: