diff --git a/nmap_xml_parser.py b/nmap_xml_parser.py index 2f6c917..3740794 100644 --- a/nmap_xml_parser.py +++ b/nmap_xml_parser.py @@ -237,12 +237,14 @@ def main(): print("\n[-] The file {} cannot be found or you do not have permission to open the file.".format(filename)) continue - # Read the file and check for entities - with open(filename) as fh: - contents = fh.read() - if '