If exploit list is empty, have the option to return content

bug/bundler_fix
wchen-r7 2015-06-05 21:03:24 -05:00
parent fb8abe54fc
commit a7fa434e89
1 changed files with 6 additions and 2 deletions

View File

@ -762,8 +762,12 @@ module Msf
end
elsif exploit_list.empty?
print_status("No suitable exploits to send.")
send_not_found(cli)
return ''
if datastore['Content'].blank?
send_not_found(cli)
return ''
else
return datastore['Content']
end
end