diff --git a/runtest.sh b/runtest.sh index 305add1..78643b1 100755 --- a/runtest.sh +++ b/runtest.sh @@ -42,7 +42,7 @@ if [ -z "${SCRIPT_LOG_STARTED:-}" ]; then BOOT_ID=$(cat /proc/sys/kernel/random/boot_id) LOG_FILE="${HOME}/${BOOT_ID}-session.log" echo "[+] Starting session logging to $LOG_FILE" - exec script -q "$LOG_FILE" --return --flush --command "$0" + exec script -q "$LOG_FILE" --return --flush --command "$0" "$@" fi # === Now start your real script === @@ -262,7 +262,6 @@ if [ "$LISTENER_ENABLED" -eq 0 ]; then sudo systemctl stop kismet fi - if [ "$NO_ENRICH" -eq 0 ]; then log "Enriching data..." KISMET_LOG=$(find "$KISMET_LOG_DIR" -type f -name "*.pcapng" -printf "%T@ %p\n" | sort -n | tail -1 | cut -d' ' -f2-)