7 lines
285 B
Bash
7 lines
285 B
Bash
|
|
#!/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 "$@"
|