Skip to content

Commit e97056a

Browse files
committed
When the port state is open|filtered should be unknown, no open
1 parent d7887b5 commit e97056a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rex/parser/nmap_nokogiri.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def determine_port_state(v)
1717
Msf::ServiceState::Closed
1818
when "filtered"
1919
Msf::ServiceState::Filtered
20-
when "unknown"
20+
else
2121
Msf::ServiceState::Unknown
2222
end
2323
end

0 commit comments

Comments
 (0)