Prototype changes in VS modules

This commit is contained in:
Luca Deri 2023-10-23 16:42:55 +02:00
parent 426b0bf966
commit c78b5c0f3f
7 changed files with 8 additions and 8 deletions

View file

@ -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