From 30141f30085997012fd458661ef8ee59926a81eb Mon Sep 17 00:00:00 2001 From: David Maloney Date: Thu, 22 Dec 2011 10:47:57 -0500 Subject: [PATCH] Fix typo in the oracle enum aux module The password grace time query was not checking the right value, spotted by user bNull in the IRC channel. --- modules/auxiliary/admin/oracle/oraenum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/admin/oracle/oraenum.rb b/modules/auxiliary/admin/oracle/oraenum.rb index a5ec625311..3020658c79 100644 --- a/modules/auxiliary/admin/oracle/oraenum.rb +++ b/modules/auxiliary/admin/oracle/oraenum.rb @@ -262,7 +262,7 @@ class Metasploit3 < Msf::Auxiliary query = %Q| SELECT limit FROM dba_profiles - WHERE resource_name = 'FAILED_LOGIN_ATTEMPTS' + WHERE resource_name = 'PASSWORD_GRACE_TIME' AND profile = 'DEFAULT' | grace_time = prepare_exec(query)