Titanic

Table of Contents

Titanic is going down, going down, going down

Problem

I wrapped tjctf{} around the lowercase version of a word said in the 1997 film “Titanic” and created an MD5 hash of it: 9326ea0931baf5786cde7f280f965ebb.

Solution

Just find that ‘word’!

Wrote a script:

import hashlib
# fetch your contents from here https://sfy.ru/?script=titanic
contents = """..."""
contents = contents.replace(",", " ").replace(".", " ").replace("(", " ").replace(")", " ").replace("!", " ").replace(":", " ").replace("#", " ")
words = contents.split()
print(len(words))
for word in words:
    result = "tjctf{" + (word.strip()).lower() + "}"
    md5_result = hashlib.md5(result.encode()).hexdigest()
    if md5_result == 'e246dbab7ae3a6ed41749e20518fcecd':
        print("!!!!!!!")
        print(result)
        exit(0)

Result

python D:/PycharmProjects/Playground/playground.py
43652
!!!!!!!
tjctf{ismay's}
Nemo Xiong avatar
Nemo Xiong
我永远喜欢妃爱
comments powered by Disqus