3 ms·
Great post, thoroughly enjoyed reading it. BTW, on a side note, when you try and visit the blog's homepage[0] and scroll down to the bottom, you find a link to
by abhiminator 6y ago
Great post, thoroughly enjoyed reading it.
BTW, on a side note, when you try and visit the blog's homepage[0] and scroll down to the bottom, you find a link to an actual (password protected) PDF file called Mango.pdf[1]. The author 'Alex' says the password for the PDF has been embedded in the page and it didn't take me a lot of time to figure the password out from the HTML source[2].
But when I opened the PDF, I was hit with this random string of characters:
cGJhdGVuZ2h5bmd2YmFmLCBsYmggZmJ5aXJxIHpsIHlodnR2IGNobW15ci4gQCB6ci
BiYSBnanZnZ3JlIGp2Z3UgbGJoZSBzbmliaGV2Z3IgcXJmZnJlZyBnYiB0cmcgbGJo
ZSBlcmpuZXEuIFZnJ2YgeXZ4ciwgYWJnIG4gaXJlbCB0YmJxIGVyam5lcSBmYiBodQ
o=
I tried to decode this using every available decoder, but it only throws up random result. Was wondering if any of you smart people here had any idea about this code.
[0] https://mango.pdf.zone/ https://mango.pdf.zone/
[1] https://mango.pdf.zone/mango.pdf https://mango.pdf.zone/mango.pdf
[2] view-source:https://mango.pdf.zone/ https://mango.pdf.zone/
EDIT: SOLVED IT!
As the commenters who replied to me mentioned, this puzzle is double-encoded. I think the trick is to figure out which decoder to use first.
- nbgl 6y agoHint: try ROT13.
- abhiminator 6y agoThank you. Tried that as well, still throws up a string of letters and numbers. But the frequency this time seemed a bit more consistent, so the trick is to apply some sort of frequency analysis, I guess. Still on it. BTW, are there any more of such 'puzzle hunt' websites where you could play around and sharpen your decoding skills? Thanks!
- rbinv 6y agoHere's a list: https://gist.github.com/numberwhun/d85075f4f63411bafa1c6e40e15e4c4b https://gist.github.com/numberwhun/d85075f4f63411bafa1c6e40e...
- barbs 6y agoQuick posix shell rot13 tip: pipe it into: tr '[A-Za-z]' '[N-ZA-Mn-za-m]'
- ramses0 6y agoAlso sometimes useful is vim: `g?` ... it's useful to have "scrambled" lines in notes for protection against casual disclosure. Vim used to have a (terrible) encryption capability, but lately I've been fairly happy with `pass` (passwordstore.org) for basic local encryption.
- efreak 6y agoThere's a rot13 command in the bsdgames package on Ubuntu. Or you could just create an alias. Not sure if the command takes file input.
- losvedir 6y agoI decoded it probably in the same way you tried, but I wouldn't call the result "random" in the space of possibilities. A random result of that kind of decoding would likely involve binary data that can't map cleanly to letters the way this did. You've just gotta go deeper!
- carlmr 6y agoThere are two layers to that encoding. When you see a random string of characters and numbers ending with one or two equals signs, think of base64. Then when you see something that seems like word groups with spaces, think of rot* (* = 13 being the most common version) encoding.
- abhiminator 6y agoThank you. I solved it. My decoding sequence was wrong before (I was trying to decode in reverse), but your pointers helped me.
- deleted 6y ago[deleted]
- cimi_ 6y agoCyberChef[0] has a 'magic' decoder that tries out different encodings for you. [0] https://gchq.github.io/CyberChef/#recipe=Magic(3,false,false,'')ROT13(true,true,13)&input=Y0dKaGRHVnVaMmg1Ym1kMlltRm1MQ0JzWW1nZ1ptSjVhWEp4SUhwc0lIbG9kblIySUdOb2JXMTVjaTRnUUNCNmNpQmlZU0JuYW5ablozSmxJR3AyWjNVZ2JHSm9aU0J6Ym1saWFHVjJaM0lnY1hKbVpuSmxaeUJuWWlCMGNtY2diR0pvWlNCbGNtcHVaWEV1SUZabkoyWWdlWFo0Y2l3Z1lXSm5JRzRnYVhKbGJDQjBZbUp4SUdWeWFtNWxjU0JtWWlCb2RRbz0KCg https://gchq.github.io/CyberChef/#recipe=Magic(3,false,false...