Skip to content

Commit

Permalink
Update events/syscall/launch_suspicious_network_tool_on_host.go
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Di Pierro <[email protected]>
Signed-off-by: Kapil Sharma <[email protected]>
  • Loading branch information
2 people authored and poiana committed Mar 28, 2024
1 parent df80b6f commit efc5b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/syscall/launch_suspicious_network_tool_on_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit efc5b17

Please sign in to comment.