Skip to content

Instantly share code, notes, and snippets.

@kraln
Last active May 12, 2017 22:04
Show Gist options
  • Save kraln/42acf33c700baf696b5d3565bf2b13d4 to your computer and use it in GitHub Desktop.
Save kraln/42acf33c700baf696b5d3565bf2b13d4 to your computer and use it in GitHub Desktop.
See how much wannacry has made
#!/bin/sh
curl -s "https://blockchain.info/q/getreceivedbyaddress/\
13AM4VW2dhxYgXeQepoHkHSQuy6NgaEb94|\
12t9YDPgwueZ9NyMgw519p7AA8isjr6SMw|\
115p7UMMngoj1pMvkpHijcRdfJNXj6LrLn" | python -c 'import sys; r = sys.stdin.readline(); amt = (float(r) / 100000000); print "wanna cry has made %f btc, that is %f usd and %f euro" % (amt, amt * 1701.53, amt * 1562.41,)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment