Catch OpenDomain failures
git-svn-id: file:///home/svn/framework3/trunk@8428 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
48a159006a
commit
11e8710a60
|
@ -227,6 +227,12 @@ class Metasploit3 < Msf::Auxiliary
|
|||
dcerpc.call(7, stub)
|
||||
resp = dcerpc.last_response ? dcerpc.last_response.stub_data : nil
|
||||
dhandle = resp[0,20]
|
||||
derror = resp[20,4].unpack("V")[0]
|
||||
|
||||
# Catch access denied replies to OpenDomain
|
||||
if(derror != 0)
|
||||
next
|
||||
end
|
||||
|
||||
# Password information
|
||||
stub = dhandle + [0x01].pack('v')
|
||||
|
|
Loading…
Reference in New Issue