using r['ErrorMessage']
parent
f7d2e2a27a
commit
1205c0045f
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue