Add comments

bug/bundler_fix
William Vu 2017-05-28 23:45:09 -05:00
parent 7a2944d113
commit 42b14a93b8
1 changed files with 4 additions and 4 deletions

View File

@ -257,8 +257,8 @@ class MetasploitModule < Msf::Exploit::Remote
return true if !datastore['VerifyArch']
pkt = Rex::Proto::DCERPC::Packet.make_bind(
'e1af8308-5d1f-11c9-91a4-08002b14a0fa', '3.0',
'71710533-beba-4937-8319-b5dbef9ccc36', '1.0'
'e1af8308-5d1f-11c9-91a4-08002b14a0fa', '3.0', # Abstract Syntax: EPMv4 V3.0
'71710533-beba-4937-8319-b5dbef9ccc36', '1.0' # Transfer Syntax[1]: 64bit NDR V1
).first
sock = connect(false,
@ -274,9 +274,9 @@ class MetasploitModule < Msf::Exploit::Remote
case target_arch.first
when ARCH_X64
(ret = true) if res[36] == "\x00"
(ret = true) if res[36] == "\x00" # Ack result: Acceptance (0)
when ARCH_X86
(ret = true) if res[36] != "\x00"
(ret = true) if res[36] != "\x00" # Ack result: Provider rejection (2)
end
if ret