gitex2026/AttackSurface/start.sh
2026-04-24 12:36:21 +00:00

29 lines
No EOL
879 B
Bash
Executable file

#!/bin/bash
# Start the AASD (API Attack Surface Discovery) server
# Version: 2026-04.1
set -e
cd "$(dirname "$0")"
echo "================================================"
echo " AASD — API Attack Surface Discovery"
echo " Version: 2026-04.1"
echo " GITEX 2026 — sechpoint.app"
echo "================================================"
echo ""
# Ensure required directories exist
mkdir -p reports
mkdir -p logs
mkdir -p bin/tools
# Verify domain-scan tool exists
if [ ! -f "bin/tools/domain-scan" ]; then
echo "[!] domain-scan not found in bin/tools/"
echo " Run: curl -sL https://github.com/valllabh/domain-scan/releases/download/v2.1.0/domain-scan_Linux_x86_64.tar.gz | tar -xz -C bin/tools/"
echo " Or download manually from: https://github.com/valllabh/domain-scan"
fi
# Run the server
./bin/aasd 2>&1 | tee logs/server-$(date +%Y%m%d-%H%M%S).log