mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
Patch to fix vuln reporting by swtornio
git-svn-id: file:///home/svn/framework3/trunk@11375 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
a8311fd71d
commit
3f7809ca5a
@ -66,7 +66,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||
print_good("#{rhost}:#{rport} Successfully authenticated to this device")
|
||||
|
||||
# Report a vulnerability only if no password was specified
|
||||
if datastore['BasicAuthPass'].to_s.length > 0
|
||||
if datastore['BasicAuthPass'].to_s.length == 0
|
||||
report_vuln(
|
||||
:host => rhost,
|
||||
:port => rport,
|
||||
|
Loading…
Reference in New Issue
Block a user