jmarler

Goldeneye / Petya Ransomware bitcoin money collected script

Jun 27th, 2017
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. 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 ' '`
  4. BTC=`curl -s "https://blockchain.info/q/getreceivedbyaddress/\
  5. 1Mz7153HMuxXTuR2R1t78mGSdzaAtNbBWX|\
  6. 1BAdEKq6zE1JDL8g2pA1MDRHbW1wvYCWhT|\
  7. 1F2q59EoVzL5FhqTGs4jZWNnnim51aGZSD" |
  8. python -c 'import sys; r = sys.stdin.readline(); print float(r) / 100000000'`
  9.  
  10. CASH=`awk "BEGIN{print $USD * $BTC}"`
  11.  
  12. echo Total USD from Goldeneye / Petya: \$$CASH
Add Comment
Please, Sign In to add comment