default payload is NOT text based, so do nothing with it.

bug/bundler_fix
Scott Davis 2016-06-23 07:00:14 -07:00
parent 47e4321424
commit 579a3bcf7c
1 changed files with 0 additions and 4 deletions

View File

@ -140,10 +140,6 @@ class MetasploitModule < Msf::Exploit::Remote
wrapped_payload = datastore['PAYLOAD_PREFIX'] +
p + datastore['PAYLOAD_SUFFIX']
datastore[datastore['PAYLOAD_LOC']] = wrapped_payload
else
wrapped_payload = datastore['PAYLOAD_PREFIX'] +
payload.encoded + datastore['PAYLOAD_SUFFIX']
datastore[datastore['PAYLOAD_LOC']] = wrapped_payload
end
end