# 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
# openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem # cat key.pem > server.pem # cat cert.pem >> server.pem # socat -v openssl-listen:443,cert=/tmp/server.pem,verify=0,reuseaddr,fork,method=ssl3 ssl:127.0.0.1:1234,verify=0,method=tls1.2
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
cat key.pem > server.pem
cat cert.pem >> server.pem
socat -v openssl-listen:443,cert=/tmp/server.pem,verify=0,reuseaddr,fork,method=ssl3 ssl:127.0.0.1:1234,verify=0,method=tls1.2