mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Prototype changes in VS modules
This commit is contained in:
parent
426b0bf966
commit
c78b5c0f3f
7 changed files with 8 additions and 8 deletions
|
|
@ -1751,7 +1751,7 @@ end
|
|||
|
||||
-- **********************************************************
|
||||
|
||||
function vs_utils.nmap_scan_host(command, host_ip, ports, use_coroutines)
|
||||
function vs_utils.nmap_scan_host(command, host_ip, ports, use_coroutines, module_name)
|
||||
local scan_command
|
||||
local debug_me = false
|
||||
|
||||
|
|
@ -1774,7 +1774,7 @@ function vs_utils.nmap_scan_host(command, host_ip, ports, use_coroutines)
|
|||
local tcp_ports
|
||||
local udp_ports
|
||||
|
||||
result, num_open_ports, num_vulnerabilities_found, cve, udp_ports, tcp_ports = vs_utils.cleanup_nmap_result(result, self.name)
|
||||
result, num_open_ports, num_vulnerabilities_found, cve, udp_ports, tcp_ports = vs_utils.cleanup_nmap_result(result, module_name)
|
||||
return begin_epoch, result, duration, scan_ok, num_open_ports, num_vulnerabilities_found, cve, udp_ports, tcp_ports
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue