Update info-dumper.sh

This commit is contained in:
K9T33NwthTookThis 2025-07-15 21:50:01 +01:00 committed by GitHub
parent 73b415d729
commit 504fcd06bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 "