Updated code based on feedback...again

GSoC/Meterpreter_Web_Console
g0tmi1k 2018-06-01 12:55:37 +01:00
parent 24d92b1a8f
commit 5ba8467933
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ module Msf
if chosen_platform.platforms.empty? if chosen_platform.platforms.empty?
chosen_platform = mod.platform chosen_platform = mod.platform
cli_print "[-] No --platform was selected, choosing #{chosen_platform.platforms.first} from the payload" cli_print "[-] No platform was selected, choosing #{chosen_platform.platforms.first} from the payload"
@platform = mod.platform.platforms.first.to_s.split("::").last @platform = mod.platform.platforms.first.to_s.split("::").last
elsif (chosen_platform & mod.platform).empty? elsif (chosen_platform & mod.platform).empty?
chosen_platform = Msf::Module::PlatformList.new chosen_platform = Msf::Module::PlatformList.new