From ce5355d6197c2127d1b9465e12b3068a399f402e Mon Sep 17 00:00:00 2001 From: Jake Miller Date: Thu, 11 Jan 2018 10:57:40 -0600 Subject: [PATCH] Update nmap_xml_parser.py --- nmap_xml_parser.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/nmap_xml_parser.py b/nmap_xml_parser.py index 4224119..3f45d64 100644 --- a/nmap_xml_parser.py +++ b/nmap_xml_parser.py @@ -158,12 +158,13 @@ def print_web_ports(data): # searching for http on th following website: # https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers http_port_list = ['80', '81', '591', '593', '2080', '2480' '3080', - '4080', '4567', '5080', '5104', '5800' '6080', - '7001', '7080', '8000', '8008', '8042', '8080', - '8081', '8082', '8088', '8222', '8280', '8281', - '8530', '8887', '9000', '9080', '9090', '16080'] - https_port_list = ['832', '981', '1311', '7002', '8333', '8531', - '8888'] + '4080', '4567', '5080', '5104', '5800', '6080', + '7001', '7080', '7777', '8000', '8008', '8042', + '8080', '8081', '8082', '8088', '8180', '8222', + '8280', '8281', '8530', '8887', '9000', '9080', + '9090', '16080'] + https_port_list = ['832', '981', '1311', '7002', '7021', '7023', + '7025', '7777', '8333', '8531','8888'] for item in data: ip = item[0] @@ -250,4 +251,4 @@ if __name__ == '__main__': exit() csv_name = args.csv - main() \ No newline at end of file + main()