better error for failures w/fromuser only

git-svn-id: file:///home/svn/framework3/trunk@11143 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-11-25 06:08:02 +00:00
parent 778040ec5b
commit 14432f7087
1 changed files with 4 additions and 1 deletions

View File

@ -237,7 +237,10 @@ class Metasploit3 < Msf::Auxiliary
end end
# no password to try, give up if luser isnt enough. # no password to try, give up if luser isnt enough.
return :fail if not pass if not pass
vprint_error("#{target_host}:#{rport}, rlogin '#{user}' from '#{luser}' failed (no password to try)")
return :fail
end
recvd_sample = @recvd.dup recvd_sample = @recvd.dup
# Allow for slow echos # Allow for slow echos