11 ms·
They did in fact use a Caesar cipher [1], a quick calculation on letter frequencies gave a strong hint. The rest was looking up the shift value and coding a js
by pintxo 7y ago
They did in fact use a Caesar cipher [1], a quick calculation on letter frequencies gave a strong hint. The rest was looking up the shift value and coding a js bookmarklet [2] to "decrypt" the text. It had some issues with certain German Umlauts, but was not enough of an issue to fix it.
Looks like they now longer include the full text publicly. So they seem to have improved.
[1] (German) https://andreas-zeller.blogspot.com/2016/06/spiegel-online-nutzt-unsichere-casar.html https://andreas-zeller.blogspot.com/2016/06/spiegel-online-n...
[2] javascript: document.querySelectorAll('div.obfuscated-content')[0].parentNode.classList = [];var cc = (s, c) => s.split('').map(s => /[^\s]/.test(s) ? String.fromCharCode(s.charCodeAt(0)+c) : s).join('');var dn = (n) => { if (n.hasChildNodes()) {Array.from(n.childNodes).map(dn);} else if (n.parentNode.nodeName !== 'A') {n.textContent=cc(n.textContent, -1) }};document.querySelectorAll('p.obfuscated').forEach(dn);document.querySelector('.lp_mwi_payment-method-wrapper').parentNode.parentNode.remove();
- pintxo 7y agoOthers [1] still seem to use this technique. [1] https://www.faz.net/aktuell/feuilleton/debatten/klagenfurter-kunststreit-was-soll-ein-wald-im-stadion-16377833.html https://www.faz.net/aktuell/feuilleton/debatten/klagenfurter...