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