3 ms·
if you have bash, awk and sha1sum then you can try this: export PASS=mypassword then PT=$(echo -n $PASS | gsha1sum | awk '{print toupper($1)}'); curl -s https
by notdang 6y ago
if you have bash, awk and sha1sum then you can try this:
export PASS=mypassword
then
PT=$(echo -n $PASS | gsha1sum | awk '{print toupper($1)}'); curl -s https://api.pwnedpasswords.com/range/$(awk https://api.pwnedpasswords.com/range/$(awk '{print substr($0,1,5)}' <<< $PT) | grep $(awk '{print substr($0,6)}' <<< $PT)