Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- USD=`curl -ks https://bitpay.com/api/rates | python -m json.tool | grep -iA 1 'US Dollar' | grep -i 'rate' | cut -f2 -d ':' | tr -d ' '`
- WCRY=`curl -s "https://blockchain.info/q/getreceivedbyaddress/\
- 13AM4VW2dhxYgXeQepoHkHSQuy6NgaEb94|\
- 12t9YDPgwueZ9NyMgw519p7AA8isjr6SMw|\
- 115p7UMMngoj1pMvkpHijcRdfJNXj6LrLn" |
- python -c 'import sys; r = sys.stdin.readline(); print float(r) / 100000000'`
- CASH=`awk "BEGIN{print $USD * $WCRY}"`
- echo Total USD from WannaCrypt: \$$CASH
Add Comment
Please, Sign In to add comment