feat: URL-first CLI + auto-setup for new targets
- 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>
This commit is contained in:
parent
08566c7807
commit
fcbccce422
4 changed files with 104 additions and 19 deletions
7
scanner.sh
Executable file
7
scanner.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue