fork download
  1. import hashlib
  2. Nonce = "15940832311731994988"
  3. Salt = "2586456158"
  4. Usr = "admin"
  5. Psw = "10203040"
  6. #SHA512(psw+salt)
  7. con1 = Psw +Salt
  8. Hash1 = hashlib.sha512(con1.encode('UTF-8'))
  9. #sha512(Hash1+nonce)
  10. con2 = Hash1.hexdigest()+Nonce
  11. Hash2 = hashlib.sha512(con2.encode('UTF-8'))
  12.  
  13. #Result
  14. Res = "LOGINPSW@"+Usr+":"+Hash2.hexdigest()
  15. print(Res)
Success #stdin #stdout 0.02s 9300KB
stdin
import hashlib
header_hex = ("01000000" + "81cd02ab7e569e8bcd9317e2fe99f2de44d49ab2b8851ba4a308000000000000" + "e320b6c2fffc8d750423db8b1eb942ae710e951ed797f7affc8892b0f1fc122b" + "c7f5d74d" + "f2b9441a" + "42a14695")
header_bin = header_hex.decode('hex')
test = hashlib.sha256(header_bin).digest()
print "Pervyi prokhod"
print test
stdout
LOGINPSW@admin:d74c8aee4b954816cca7d0f819ed93c5170c28892932c7d2e5ae650390582ff6af3911b0c0b8577bdceb26bde8b8a4b28f1723c5d92f48928a971dfb8af72701