mirror of
https://github.com/K9T33NwthTookThis/RPC-info-dumper.git
synced 2025-07-18 22:46:10 +00:00
Compare commits
No commits in common. "e6e521ab31bb51177f4fa02608be1bef94da58c7" and "003084c8da093a86ccda7e49210ad83b26d39458" have entirely different histories.
e6e521ab31
...
003084c8da
@ -41,11 +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 -rp "Print output? [y, N]: " -t 8 output
|
cat /tmp/rpc-dump-stripped.txt
|
||||||
if [[ $output == y ]]; then
|
|
||||||
cat /tmp/rpc-dump-stripped.txt
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm /tmp/rpc-dump.txt
|
rm /tmp/rpc-dump.txt
|
||||||
|
|
||||||
printf "
|
printf "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user