Add load ports feedback and fix bugs.(#7625)

This commit is contained in:
Nicolo Maio 2023-08-02 09:46:35 +00:00
parent e427cdafbc
commit 9828ec3606
7 changed files with 15 additions and 18 deletions

View file

@ -16,6 +16,7 @@ local scan_ports = _GET["scan_ports"]
if isEmptyString(host) or isEmptyString(scan_type) then
rest_utils.answer(rest_utils.consts.err.bad_content)
return
end
local result = vs_utils.save_host_to_scan(scan_type, host, nil, nil, nil, 5, scan_ports)