Skip to content

Commit 7586145

Browse files
committed
Fix nmap XML parser when looking for ftp service
1 parent 72fee6a commit 7586145

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/parsers/nmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# right now we are only referencing the port numbers, not the service name, but this should be sufficient for 99% cases
55
protocol_dict = {
6-
"Ftp": {"ports": [21], "services": ["Ftp"]},
6+
"ftp": {"ports": [21], "services": ["ftp"]},
77
"ssh": {"ports": [22, 2222], "services": ["ssh"]},
88
"smb": {"ports": [139, 445], "services": ["netbios-ssn", "microsoft-ds"]},
99
"ldap": {"ports": [389, 636], "services": ["ldap", "ldaps"]},

0 commit comments

Comments
 (0)