-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
The statically compiled nmap is especially useful in restricted environments, like containers. However, the run-nmap.sh script only works when bash is available, which isn't always the case. Especially in the mentioned restricted environments, like for example in an Alpine container.
So I think it is useful to have the wrapper script being compatible with /bin/sh like this:
#!/bin/sh
SCRIPT_DIR="$(dirname "$(readlink -f -- "$0")")"
NMAPDIR="$SCRIPT_DIR/data" "$SCRIPT_DIR/nmap" "$@" I don't know if this repository is still maintained and welcomes patches? If yes, I would be happy to submit a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels