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:
parent
c7129e063c
commit
1a66786d1b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user