Skip to content

Commit 8c1630b

Browse files
Normalized output of InternetDB (part of #42)
1 parent 3e5d68e commit 8c1630b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datagather_modules/networking_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def query_internetdb(ip, report_file_extension):
7272
if report_file_extension == 'pdf':
7373
return ports, hostnames, cpes, tags, vulns
7474
elif report_file_extension == 'xlsx':
75-
return ports, ', '.join(hostnames), ', '.join(cpes), ', '.join(tags), vulns
75+
return ports, hostnames, cpes, tags, vulns
7676
else:
7777
print(Fore.RED + "No information was found on InternetDB" + Style.RESET_ALL)
7878
ports = hostnames = cpes = tags = vulns = ["No info about this web resource on InternetDB"]

0 commit comments

Comments
 (0)