using r['ErrorMessage']

bug/bundler_fix
Bazin Danil 2015-01-31 04:37:16 +01:00
parent f7d2e2a27a
commit 1205c0045f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class Metasploit3 < Msf::Post
nil, "OPEN_EXISTING", "FILE_FLAG_WRITE_THROUGH", 0) nil, "OPEN_EXISTING", "FILE_FLAG_WRITE_THROUGH", 0)
if r['GetLastError'] != 0 if r['GetLastError'] != 0
print_error("Error opening #{drive} GetLastError=#{r['GetLastError']}") print_error("Error opening #{drive} GetLastError=#{r['ErrorMessage']}")
return nil return nil
end end
@handle = r['return'] @handle = r['return']