fork download
  1. import hashlib
  2. Nonce = "7650106521731997821"
  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.01s 9396KB
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:977e7e6f2f9c746d9649c8d86d81933ad551f4e9f68e6d4c2f40e2213622eea6fc4509136777ba14d15ee7626d1adcf130b894850dc59947052eaeb9b195ce6d