fix include -> include?
parent
c959c98161
commit
5c1f4a4703
|
@ -101,7 +101,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
target_payload = get_payload(cli, target_info)
|
target_payload = get_payload(cli, target_info)
|
||||||
b64_payload = Rex::Text.encode_base64(target_payload)
|
b64_payload = Rex::Text.encode_base64(target_payload)
|
||||||
|
|
||||||
if target.name.include 'osx'
|
if target.name.include? 'osx'
|
||||||
platform_id = 'osx'
|
platform_id = 'osx'
|
||||||
end
|
end
|
||||||
html_template = %(<html>
|
html_template = %(<html>
|
||||||
|
|
Loading…
Reference in New Issue