1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

Fix Nmap XML parser for tunnel attribute

This commit is contained in:
William Vu 2015-04-20 17:04:19 -05:00
parent c7129e063c
commit 1a66786d1b

View File

@ -277,6 +277,8 @@ module Rex
port_hash[:state] = determine_port_state(v)
when "name"
port_hash[:name] = v
when "tunnel"
port_hash[:name] = "#{v}/#{port_hash[:name] || 'unknown'}"
when "reason"
port_hash[:reason] = v
when "product"