Skip to content

Commit c721cb6

Browse files
committed
Land rapid7#5448, fix author name typo
2 parents 83ca0fe + d03ee56 commit c721cb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/local/lenovo_systemupdate.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def initialize(info={})
2626
'License' => MSF_LICENSE,
2727
'Author' =>
2828
[
29-
'Micahel Milvich', # vulnerability discovery, advisory
29+
'Michael Milvich', # vulnerability discovery, advisory
3030
'Sofiane Talmat', # vulnerability discovery, advisory
3131
'h0ng10' # Metasploit module
3232
],
@@ -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)