lanScan/scan_all.sh
2023-05-15 16:17:18 +02:00

16 lines
226 B
Bash
Executable File

#!/usr/bin/env bash
pushd "$(dirname -- $0)" > /dev/null
mkdir -p scans
mkdir -p site
for config in configs/*.yml
do
site="$(basename ${config/.yml/})"
echo "Scan $site"
./scan.sh "$site"
done
popd > /dev/null