# cat blog >> /dev/brain 2> /proc/mind
cat blog >> /dev/brain 2> /proc/mind
# wget https://github.com/dwyl/english-words/raw/master/words.txt # grep '^........$' words.txt > wordlist.txt # cat mission_001.py import hashlib solution = '76fb930fd0dbc6cba6cf5bd85005a92a'.decode('hex') wh = {} with open('wordlist.txt') as f: for word in f.read().splitlines(): h = hashlib.md5(word).digest() wh[h] = word for k, v in wh.iteritems(): result = ''.join([chr(ord(b1)^ord(b2)) for b1,b2 in zip(k, solution)]) if result in wh: print v, wh[result] break # python mission_001.py ambrosia virology
wget https://github.com/dwyl/english-words/raw/master/words.txt
grep '^........$' words.txt > wordlist.txt
cat mission_001.py
python mission_001.py
Post a Comment
No comments:
Post a Comment