Remove assigned but unused local vars

bug/bundler_fix
James Lee 2015-06-01 16:45:36 -05:00
parent 7133f0a68e
commit d03ee5667b
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class Metasploit3 < Msf::Exploit::Local
def get_security_token(lenovo_directory)
unless client.railgun.get_dll('tvsutil')
client.railgun.add_dll('tvsutil', "#{lenovo_directory}\\tvsutil.dll")
client.railgun.add_function('tvsutil', 'GetSystemInfoData', 'DWORD', [['PWCHAR', 'systeminfo', 'out']], windows_name = nil, calling_conv = 'cdecl')
client.railgun.add_function('tvsutil', 'GetSystemInfoData', 'DWORD', [['PWCHAR', 'systeminfo', 'out']], nil, 'cdecl')
end
dll_response = client.railgun.tvsutil.GetSystemInfoData(256)