Can't crack salted hash generated by ruby AuthlogicSha512 library
#7
(03-23-2022, 07:13 PM)Snoopy Wrote: i did some quickndirty python script, its more or less the ruby code just for python (tested it with your input and was able to repoduce your hash)



Wow, cool! Thanks ,you are encouraged me and I also wrote some python code to reproduce it:
Code:
import hashlib

# Test word and salt
word = '12345'
salt = 'y9KxS8uhhfRZErYBb2mA'

# Make message from word and salt
message = word + salt

# Method to create hash (1 round) for a word
# Get word as a plain text
def gen_hash(word):
    return hashlib.sha512(word.encode('utf-8')).hexdigest()

hex_hash = gen_hash(message)
# print(1, hex_hash)

rounds = 20
# Go through all rounds
for i in range(1, rounds):
    hex_hash = gen_hash(hex_hash)
    # print(i+1, hex_hash)

print(hex_hash)
I'll try to figure out how to add a new module for hashcat
Reply


Messages In This Thread
RE: Can't crack salted hash generated by ruby AuthlogicSha512 library - by Dzam - 03-25-2022, 08:42 AM