If exploit list is empty, have the option to return content
parent
fb8abe54fc
commit
a7fa434e89
|
@ -762,8 +762,12 @@ module Msf
|
|||
end
|
||||
elsif exploit_list.empty?
|
||||
print_status("No suitable exploits to send.")
|
||||
if datastore['Content'].blank?
|
||||
send_not_found(cli)
|
||||
return ''
|
||||
else
|
||||
return datastore['Content']
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue