Add DCERPC catch exception
parent
4a575d57ab
commit
bc4cb3febf
|
@ -112,7 +112,7 @@ module Exploit::Remote::SMB::Psexec
|
|||
NDR.wstring(service_description)
|
||||
begin
|
||||
response = dcerpc.call(0x25, stubdata)
|
||||
rescue ::Exception => e
|
||||
rescue Rex::Proto::DCERPC::Exceptions::Fault => e
|
||||
print_error("#{peer} - Error changing service description : #{e}")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue