diff --git a/modules/auxiliary/scanner/vnc/vnc_login.rb b/modules/auxiliary/scanner/vnc/vnc_login.rb index 1224e55047..a9964f0ff0 100644 --- a/modules/auxiliary/scanner/vnc/vnc_login.rb +++ b/modules/auxiliary/scanner/vnc/vnc_login.rb @@ -67,6 +67,10 @@ class Metasploit3 < Msf::Auxiliary vprint_status("Retrying in #{delay} seconds...") select(nil, nil, nil, delay) } + # If we tried all these attempts, and we still got a retry condition, + # we'll just give up.. Must be that nasty blacklist algorithm kicking + # our butt. + return :abort if ret == :retry ret } rescue ::Rex::ConnectionError