- python -m scanner https://domain.de scan (URL as first positional arg) - On first use, the domain directory is auto-created from the meine-seite.de template with all paths and target URL substituted - scanner.sh wrapper script for convenient ./scanner.sh usage - --config syntax fully preserved (cron jobs unchanged) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 lines
285 B
Bash
Executable file
7 lines
285 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Wrapper-Script für den integrity-scanner.
|
|
# Wechselt ins Projektverzeichnis und ruft python -m scanner auf.
|
|
# Verwendung: ./scanner.sh https://domain.de scan
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
exec python -m scanner "$@"
|