mirror of
https://github.com/NetsecExplained/Nmap-XML-to-CSV.git
synced 2026-08-27 08:20:12 +03:00
Update nmap_xml_parser.py
This commit is contained in:
parent
92a993089a
commit
694763aacc
@ -144,7 +144,7 @@ def list_ip_addresses(data):
|
||||
"""Parses the input data to display only the IP address information"""
|
||||
ip_list = [item[0] for item in data]
|
||||
sorted_set = sorted(set(ip_list))
|
||||
addr_list = [ip for up in sorted_set]
|
||||
addr_list = [ip for ip in sorted_set]
|
||||
return addr_list
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user