Skip to content

Commit d03ee56

Browse files
committed
Remove assigned but unused local vars
1 parent 7133f0a commit d03ee56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/local/lenovo_systemupdate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def write_named_pipe(pipe, command)
119119
def get_security_token(lenovo_directory)
120120
unless client.railgun.get_dll('tvsutil')
121121
client.railgun.add_dll('tvsutil', "#{lenovo_directory}\\tvsutil.dll")
122-
client.railgun.add_function('tvsutil', 'GetSystemInfoData', 'DWORD', [['PWCHAR', 'systeminfo', 'out']], windows_name = nil, calling_conv = 'cdecl')
122+
client.railgun.add_function('tvsutil', 'GetSystemInfoData', 'DWORD', [['PWCHAR', 'systeminfo', 'out']], nil, 'cdecl')
123123
end
124124

125125
dll_response = client.railgun.tvsutil.GetSystemInfoData(256)

0 commit comments

Comments
 (0)