4 ms·
You can use `read -s` to avoid risking having someone behind you read your password on your screen as you type it. (echo -n "Password: "; read -s pw; curl -s h
by espadrine 9y ago
You can use `read -s` to avoid risking having someone behind you read your password on your screen as you type it.
(echo -n "Password: "; read -s pw; curl -s https://api.pwnedpasswords.com/range/$(echo https://api.pwnedpasswords.com/range/$(echo -n $pw | shasum | cut -b 1-5) | grep $(echo -n $pw | shasum | cut -b 6-40 | tr a-f A-F))