Skip to content

Commit 51c1cdd

Browse files
committed
Removed requirement for a host to have ports
1 parent 6985469 commit 51c1cdd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/rex/parser/nokogiri_doc_mixin.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ def host_is_okay
125125
if @args[:blacklist]
126126
return false if @args[:blacklist].include?(@report_data[:host])
127127
end
128-
return false unless @report_data[:ports]
129-
return false if @report_data[:ports].empty?
130128
return true
131129
end
132130

0 commit comments

Comments
 (0)