mirror of
https://github.com/K9T33NwthTookThis/RPC-info-dumper.git
synced 2025-07-18 22:46:10 +00:00
Update info-dumper.sh
This commit is contained in:
parent
bdb492f5cf
commit
e21bfdd7a8
@ -41,7 +41,7 @@ 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 -r -p "Print output? [y, N]: " -t 8 output
|
read -p "Print output? [y, N]: " -t 8 output
|
||||||
if [[ $output == y ]]; then
|
if [[ $output == y ]]; then
|
||||||
cat /tmp/rpc-dump-stripped.txt
|
cat /tmp/rpc-dump-stripped.txt
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user