fix include -> include?

GSoC/Meterpreter_Web_Console
Tim W 2019-02-09 18:46:35 +08:00
parent c959c98161
commit 5c1f4a4703
1 changed files with 1 additions and 1 deletions

View File

@ -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>