Skip to content

Commit 65b858a

Browse files
committed
Fix issue 7610, cisco_ironport_enum falsely claimed connection failed.
Make sure we return 1 in check_conn method.
1 parent 3640e87 commit 65b858a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auxiliary/scanner/http/cisco_ironport_enum.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def check_conn?
6161
'method' => 'GET'
6262
})
6363
print_good("#{rhost}:#{rport} - Server is responsive...")
64+
return 1
6465
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout, ::Rex::ConnectionError, ::Errno::EPIPE
6566
return
6667
end

0 commit comments

Comments
 (0)