Closed Samiirlucky closed 9 months ago
import matplotlib.pyplot as plt import numpy as np import hashlib import random import string import hmac
e = 2**52 salt = "0000000000000000000fa3b65e43e4240d71762a5bf397d5304b2596d116859c"
game_hash = '8f1910ab4daac66fb50954609f6ae662aa3f65f331f944abe93c90b5ff23813c' # replace by your latest gamehash
def get_result(game_hash): hm = hmac.new(str.encode(game_hash), b'', hashlib.sha256) hm.update(salt.encode("utf-8")) h = hm.hexdigest() if (int(h, 16) % 33 == 0): return 1 h = int(h[:13], 16) e = 2*52 return (((100 e - h) / (e-h)) // 1) / 100.0
def get_prev_game(hash_code): m = hashlib.sha256() m.update(hash_code.encode("utf-8")) return m.hexdigest()
game_hash = '8f1910ab4daac66fb50954609f6ae662aa3f65f331f944abe93c90b5ff23813c' # Update to latest game's hash for more results
first_game = "77b271fe12fca03c618f63dfb79d4105726ba9d4a25bb3f1964e435ccf9cb209"
results = [] count = 0 while game_hash != first_game: count += 1 results.append(get_result(game_hash)) game_hash = get_prev_game(game_hash) print(count) print("calculating this will take time about 10min.")
results = np.array(results)
print(count)
samiir396
crash hack GitHub
import matplotlib.pyplot as plt import numpy as np import hashlib import random import string import hmac
e = 2**52 salt = "0000000000000000000fa3b65e43e4240d71762a5bf397d5304b2596d116859c"
game_hash = '8f1910ab4daac66fb50954609f6ae662aa3f65f331f944abe93c90b5ff23813c' # replace by your latest gamehash
def get_result(game_hash): hm = hmac.new(str.encode(game_hash), b'', hashlib.sha256) hm.update(salt.encode("utf-8")) h = hm.hexdigest() if (int(h, 16) % 33 == 0): return 1 h = int(h[:13], 16) e = 2*52 return (((100 e - h) / (e-h)) // 1) / 100.0
def get_prev_game(hash_code): m = hashlib.sha256() m.update(hash_code.encode("utf-8")) return m.hexdigest()
first_game = "77b271fe12fca03c618f63dfb79d4105726ba9d4a25bb3f1964e435ccf9cb209"
results = [] count = 0 while game_hash != first_game: count += 1 results.append(get_result(game_hash)) game_hash = get_prev_game(game_hash) print(count) print("calculating this will take time about 10min.")
results = np.array(results)
print(count)