mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix show vs result and various bug fix on modal. (#7625)
This commit is contained in:
parent
00184f9bd5
commit
c1bd2186c5
9 changed files with 269 additions and 45 deletions
|
|
@ -141,7 +141,7 @@ end
|
|||
-- Function to save host configuration
|
||||
function vs_utils.save_host_to_scan(scan_type, host, scan_result, last_scan_time, last_duration,
|
||||
is_ok_last_scan, ports, scan_frequency, num_open_ports,
|
||||
num_vulnerabilities_found, cve)
|
||||
num_vulnerabilities_found, cve)
|
||||
local saved_hosts_string = ntop.getCache(host_to_scan_key)
|
||||
local saved_hosts = {}
|
||||
|
||||
|
|
@ -316,7 +316,7 @@ function vs_utils.scan_host(scan_type, host, ports)
|
|||
local result,duration,scan_result,num_open_ports,num_vulnerabilities_found, cve = scan_module:scan_host(host, ports)
|
||||
|
||||
vs_utils.save_host_to_scan(scan_type, host, result, now, duration, scan_result,
|
||||
ports, num_open_ports, num_vulnerabilities_found, cve)
|
||||
ports, nil, num_open_ports, num_vulnerabilities_found, cve)
|
||||
|
||||
return true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue