Files
s41r4j-cybot/scripts/toolbox-healthcheck.sh
T
s41r4j 0f03d49514
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
Initial commit
2026-11-01 09:14:18 +05:30

31 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
tools=(cybot subfinder dnsx naabu httpx katana nuclei amass ffuf gitleaks trufflehog gosec semgrep trivy syft grype nmap chromium hydra hashcat john swaks chisel theHarvester sherlock metagoofil impacket-secretsdump certipy shodan searchsploit enum4linux dnsrecon smbmap arjun cloudfox agent-browser gobuster waybackurls jsluice gf anew massdns sqlmap dirsearch wafw00f whatweb nikto xsstrike linkfinder corscanner cmseek knockpy dnschef testssl.sh responder linpeas wpscan)
failed=0
for tool in "${tools[@]}"; do
if path=$(command -v "$tool" 2>/dev/null); then
printf 'ok\t%s\t%s\n' "$tool" "$path"
else
printf 'missing\t%s\n' "$tool" >&2
failed=1
fi
done
for directory in /opt/cybot/share/nuclei-templates /opt/cybot/share/seclists /opt/cybot/share/trivy-cache/db /opt/cybot/share/grype-db /opt/cybot/rules; do
if [[ -d "$directory" ]]; then
printf 'ok\tdata\t%s\n' "$directory"
else
printf 'missing\tdata\t%s\n' "$directory" >&2
failed=1
fi
done
if [[ "${1:-}" != "--build" ]]; then
printf '\nPinned manifest:\n'
jq -r '.tools | to_entries[] | "\(.key)\t\(.value)"' /opt/cybot/manifest/tool-versions.lock.json
fi
exit "$failed"