default payload is NOT text based, so do nothing with it.
parent
47e4321424
commit
579a3bcf7c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue