From efc5b17b5252db87f2f4b28647aef247d30c7ad5 Mon Sep 17 00:00:00 2001 From: Kapil Sharma Date: Thu, 28 Mar 2024 16:53:48 +0530 Subject: [PATCH] Update events/syscall/launch_suspicious_network_tool_on_host.go Co-authored-by: Federico Di Pierro Signed-off-by: Kapil Sharma --- events/syscall/launch_suspicious_network_tool_on_host.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/syscall/launch_suspicious_network_tool_on_host.go b/events/syscall/launch_suspicious_network_tool_on_host.go index 590c3530..79f6c891 100644 --- a/events/syscall/launch_suspicious_network_tool_on_host.go +++ b/events/syscall/launch_suspicious_network_tool_on_host.go @@ -29,7 +29,7 @@ func LaunchSuspiciousNetworkToolOnHost(h events.Helper) error { return err } - cmd := exec.Command("nmap", "-sn", "192.168.1.0/24") + cmd := exec.Command(nmap, "-sn", "192.168.1.0/24") h.Log().Infof("Network tool launched in host") if err := cmd.Run(); err != nil {