Compare commits

...

7 Commits

Author SHA1 Message Date
K9T33NwthTookThis
e6e521ab31
Update info-dumper.sh 2025-07-15 22:26:30 +01:00
K9T33NwthTookThis
b56872ae50
Update info-dumper.sh 2025-07-15 22:12:23 +01:00
K9T33NwthTookThis
e21bfdd7a8
Update info-dumper.sh 2025-07-15 22:09:06 +01:00
K9T33NwthTookThis
bdb492f5cf
Update info-dumper.sh 2025-07-15 22:08:03 +01:00
K9T33NwthTookThis
414f6d259b
Update info-dumper.sh
Fix errors
2025-07-15 22:03:40 +01:00
K9T33NwthTookThis
504fcd06bb
Update info-dumper.sh 2025-07-15 21:50:01 +01:00
K9T33NwthTookThis
73b415d729
Update info-dumper.sh
Add option to print output
2025-07-15 21:45:32 +01:00

View File

@ -41,7 +41,11 @@ 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 awk -v user="$name" '{gsub(user, "[REDACTED]"); print}' /tmp/rpc-dump.txt | tee /tmp/rpc-dump-stripped.txt &>/dev/null
done done
read -rp "Print output? [y, N]: " -t 8 output
if [[ $output == y ]]; then
cat /tmp/rpc-dump-stripped.txt cat /tmp/rpc-dump-stripped.txt
fi
rm /tmp/rpc-dump.txt rm /tmp/rpc-dump.txt
printf " printf "