Land #10989, Coerce DisablePayloadHandler into a Boolean string
parent
d8e0b17777
commit
a0dd7903d4
|
@ -119,7 +119,7 @@ module Common
|
|||
if (p)
|
||||
p_opt = Serializer::ReadableText.dump_options(p, ' ')
|
||||
print("\nPayload options (#{mod.datastore['PAYLOAD']}):\n\n#{p_opt}\n") if (p_opt and p_opt.length > 0)
|
||||
print(" **DisablePayloadHandler: True (RHOST and RPORT settings will be ignored!)**\n\n") if mod.datastore['DisablePayloadHandler']
|
||||
print(" **DisablePayloadHandler: True (RHOST and RPORT settings will be ignored!)**\n\n") if mod.datastore['DisablePayloadHandler'].to_s == 'true'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue