bettola/assets/scripts/bin/nmap.lua

10 lines
280 B
Lua

-- /bin/nmap - Network exploration tool and security/port scanner.
local target_ip = arg[1]
if not target_ip then
return "nmap: requires a target host to be specified"
end
-- TODO: Add args such as -sV for version detection etc.
return { action = "scan", target = target_ip }