Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Hacking Der Spiegel's paywall
Fetching latest commit…
Cannot retrieve the latest commit at this time.
# tsj, feb 18 "schulz_article.txt" is the article extracted from Der Spiegel [link: http://www.spiegel.de/spiegel/martin-schulz-die-story-seiner-gescheiterten-kampagne-a-1170957.html]. clean_up.py cleaned the article up, resulting in schulz_article_cleaned.txt. The corresponding terminal call, as well as all other terminal calls, can be found in terminal_calls.txt. I then manually cleaned up the article a bit further, by removing some whitespace and some obviously irrelevant and not encrypted text. This is schulz_article_cleaned_edited.txt. As mentioned in the blog post, whose text can be found in blog_text.txt, I also collected some text from "normal" Der Spiegel articles. The normal text can be found in normal_articles_edited.txt. Then, I ran the following scripts on both the encrypted article and the normal articles: the character frequency script (count_chars.py), the two-gram script (two_grams.py), the word frequency script (word_freq.py). The results can be found in the corresponding files. See the system arguments in terminal_calls.txt for details. I plotted the results using R. The R code can be found in r_code.txt. I used the available information to construct the substitution table, decryption_table.txt. With it, decrypt.py outputs the decrypted article.