add retry for vnc4server
git-svn-id: file:///home/svn/framework3/trunk@11259 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2742475ae0
commit
f788425865
|
@ -98,9 +98,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
if not vnc.authenticate(pass)
|
||||
vprint_error("#{target_host}:#{rport}, #{vnc.error}")
|
||||
if vnc.error =~ /connection has been rejected/
|
||||
return :retry
|
||||
end
|
||||
return :retry if vnc.error =~ /connection has been rejected/ # UltraVNC
|
||||
return :retry if vnc.error =~ /Too many security failures/ # vnc4server
|
||||
return :fail
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue