CI / contracts (push) Canceled after 0s
Website / deploy (push) Canceled after 0s
CI / test (macos-latest) (push) Canceled after 0s
CI / test (ubuntu-24.04) (push) Canceled after 0s
CI / test (ubuntu-24.04-arm) (push) Canceled after 0s
CI / test (windows-latest) (push) Canceled after 0s
CI / Compact real-tool fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Compact real-tool fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Code analysis fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Code analysis fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Web engine fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Web engine fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / Chromium operation fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Chromium operation fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
CI / operation-readiness (push) Canceled after 0s
CI / Supply chain fixtures (ubuntu-24.04) (push) Canceled after 0s
CI / Supply chain fixtures (ubuntu-24.04-arm) (push) Canceled after 0s
26 lines
805 B
Bash
26 lines
805 B
Bash
#!/bin/sh
|
|
set -eu
|
|
action="${1:-help}"
|
|
shift || true
|
|
case "$action" in
|
|
cybot) exec /opt/cybot/bin/cybot "$@" ;;
|
|
exec) exec "$@" ;;
|
|
shell) exec /bin/sh "$@" ;;
|
|
health)
|
|
for tool in cybot httpx ffuf gobuster whatweb wafw00f corscanner dirsearch ruby python3; do
|
|
command -v "$tool" >/dev/null || { echo "Missing web runtime dependency: $tool" >&2; exit 1; }
|
|
done
|
|
echo 'Web runtime executables are present; real operation validation is separate.' ;;
|
|
versions)
|
|
cybot --version
|
|
httpx -version
|
|
ffuf -V
|
|
gobuster --version
|
|
whatweb --version
|
|
wafw00f --version
|
|
corscanner --version
|
|
dirsearch --version ;;
|
|
help) echo 'CYBOT web toolbox: cybot | exec | health | versions | shell' ;;
|
|
*) echo "Unsupported web entrypoint action: $action" >&2; exit 2 ;;
|
|
esac
|