File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed
lib/msf/core/exploit/remote Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,22 @@ def connect_icpr(tree)
129129 )
130130 vprint_good ( 'Bound to \\cert' )
131131
132+ report_service (
133+ name : 'ICertPassage' ,
134+ resource : { dcerpc : { pipe : 'cert' } } ,
135+ host : tree . client . dispatcher . tcp_socket . peerhost ,
136+ port : tree . client . dispatcher . tcp_socket . peerport ,
137+ proto : 'tcp' ,
138+ parents : {
139+ name : 'dcerpc' ,
140+ info : "Module: #{ fullname } " ,
141+ host : tree . client . dispatcher . tcp_socket . peerhost ,
142+ port : tree . client . dispatcher . tcp_socket . peerport ,
143+ proto : 'tcp' ,
144+ resource : { smb : { share : 'IPC$' } }
145+ }
146+ )
147+
132148 icpr
133149 end
134150
Original file line number Diff line number Diff line change @@ -34,12 +34,19 @@ def connect_ipc
3434 end
3535
3636 report_service (
37+ name : 'dcerpc' ,
38+ info : "Module: #{ fullname } " ,
3739 host : simple . peerhost ,
3840 port : simple . peerport ,
39- host_name : simple . client . default_name ,
4041 proto : 'tcp' ,
41- name : 'smb' ,
42- info : "Module: #{ fullname } , last negotiated version: SMBv#{ simple . client . negotiated_smb_version } (dialect = #{ simple . client . dialect } )"
42+ resource : { smb : { share : 'IPC$' } } ,
43+ parents : {
44+ name : 'smb' ,
45+ host : simple . peerhost ,
46+ port : simple . peerport ,
47+ proto : 'tcp' ,
48+ info : "Module: #{ fullname } , last negotiated version: SMBv#{ simple . client . negotiated_smb_version } (dialect = #{ simple . client . dialect } )"
49+ }
4350 )
4451
4552 ipc_tree
You can’t perform that action at this time.
0 commit comments