From 504fcd06bbe4da2cee8ddf345cab1102ad85c1ae Mon Sep 17 00:00:00 2001 From: K9T33NwthTookThis <127902233+K9T33NwthTookThis@users.noreply.github.com> Date: Tue, 15 Jul 2025 21:50:01 +0100 Subject: [PATCH] Update info-dumper.sh --- info-dumper.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/info-dumper.sh b/info-dumper.sh index 1d5b84b..5e3a83e 100755 --- a/info-dumper.sh +++ b/info-dumper.sh @@ -40,10 +40,12 @@ getent passwd | while IFS=: read -r name _ uid _ _ _ _; do awk -v user="$name" '{gsub(user, "[REDACTED]"); print}' /tmp/rpc-dump.txt | tee /tmp/rpc-dump-stripped.txt &>/dev/null done + read -p "Print output? [y, N]: " -t 8 output if [$output == y]; then cat /tmp/rpc-dump-stripped.txt fi + rm /tmp/rpc-dump.txt printf "