I apologize in advance if my question comes off as unclear, as English is not my native tongue.
I have just begun my bachelor's in IT-security and we have been presented with a list of exercises. I have completed all, but one of them. (Note: this is to be done in Python).
In this exercise we are given a SHA256 hash, which is a user's password, and a list of "hint" strings, based on personal information from social media, for the particular user.
We are told that the password will be of length 8 and to use these hint strings, to crack the hash. I have tried a bunch of different options, mostly using functions from the itertools module, which I then hash with hashlib's sha256 function and then compare the hashes.
I am by no means an expert in Python, but I do know quite a fair share. However, I believe I could use a little help or a nudge in the right direction.
So, to make it short and simple, here is the available info I've been given:
-Password length: 8
-Password hash (SHA256): 0ba128bd856006948e7c57b714586bf43199aa898cc2bcd25141d951a34664a8
-List of hint strings: [("Lars","Hansen","05","09","1984"),("fido"),("jan","08","08","2014"),("barcelona","fodbold")])
-Language: Python
I would assume that this task is made so that we're supposed to grab parts of the different strings and mix them, hash the combined string and then compare to the known hash.
So far, I have not had any luck unfortunately..
Any tips or ideas would be extremely much appreciated :)
http://dlvr.it/Sj6j0w
No comments:
Post a Comment