Fail with NoAccess

bug/bundler_fix
jvazquez-r7 2014-11-10 09:50:26 -06:00
parent 9c033492d2
commit 635df2f233
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class Metasploit3 < Msf::Auxiliary
version = get_version
@cookie = login(datastore['USERNAME'], datastore['PASSWORD'])
if @cookie == nil
fail_with(Failure::Unknown, "#{peer} - Failed to authenticate.")
fail_with(Failure::NoAccess, "#{peer} - Failed to authenticate.")
end
creds = inject_sql(version < 7000 ? true : false)