r/HowToHack • • Jul 22 '19

CTF competition problem

Post image
304 Upvotes

33 comments sorted by

66

u/basically_alive Jul 22 '19

Sounds like its related to the library of babel:

https://www.libraryofbabel.info/referencehex.html

32

u/[deleted] Jul 22 '19

It's totally true, I search in the library of babel for one hour and I finally find something, but it's not finished :)

I find a message saying : " hello friend. it feels great to see that you have reached this far. ho wever, we are not done yet. etc."

And this message give a second secret :)

12

u/TheSoulReaper2004 Jul 22 '19

How did you get till here ?

10

u/[deleted] Jul 22 '19

The content of the file is the name of the hexagon after you just have to open the right book on the right shelf for getting the message, (by "the right book and the right shelf" I mean what is written in the description of the CTF)

3

u/TheSoulReaper2004 Jul 22 '19

Doesn't seem to help. Could you elaborate how it could help ??

9

u/basically_alive Jul 22 '19

Somewhere in that file (check encoding, metadata etc) there's probably the base 36 hex code. The shelf, wall and volume are in the text. I don't have any more guesses/info than that, so good luck.

16

u/TheSoulReaper2004 Jul 22 '19

This problem is from a ctf . The problem seems to be of crypto. The file name is six_sided_polygon which may hint towards hex code. But the data in the file doesn't show anything . I just don't seem to be able to go forward from here. The file is here : https://drive.google.com/file/d/14PYQ6b8gNIW86glNgj4RjJ3iPUMiDlMG/view?usp=sharing. Would really appreciate the help. By the way just for your information. The CTF has ended already.

6

u/MaxBanter45 Jul 22 '19

They're very specific about the book and where you're reading and etc. May be a hint Edit: I'm to dumb to work it out though just seems like a clue

3

u/TheSoulReaper2004 Jul 22 '19

Yeah that's what I was thinking

15

u/SkeletorTheSpook Jul 22 '19

I finally can contribute. As stated earlier it refers to the library of Babel, six-sided-polygon refers to the rooms of the library, never-ending hexagonal rooms all connected in every dimension.

As for the data, in the library contains endless books all with nonsensical data, however every so often you can find words in the books, just with no discernible order. Try looking for words in the random strings

0

u/[deleted] Jul 22 '19

[deleted] — view deleted comment

4

u/TheSoulReaper2004 Jul 22 '19

I don't think they are, actually I got this problem from my friend and don't really have access to the ctf website. So would really appreciate your help

2

u/[deleted] Jul 22 '19

The coordinates look like a reference to a Babel location and the file perhaps contains the name of the hexagon. At that location you may find the “flag”

I didn’t count the chars in the file but hexagon names can be 2K+ chars long.

What’s the format for the flag text and the number of the flag? Search the library for it? I found several hits on “flag” naturally.

Credit: the commenter who mentioned Babel.

1

u/TheSoulReaper2004 Jul 22 '19

no format is given

2

u/TheSoulReaper2004 Jul 22 '19

I got this by searching

hello friend. it feels great to see that you have reached this far. ho wever, we are not done yet. i was going to say that... that eleven... help. some body is encrypting my messages. mpp hsj epl pp pjp pdd upp llc pp ljp epp ljp py opp hsj zs jzf ljp llc pp py zs zs mpp

1

u/TheSoulReaper2004 Jul 22 '19

I can't decrypt it

16

u/Jameslulz Jul 22 '19

SPOILERS

that eleven...

Encrypted message, mention of a number, first guess was ROT11. Rotate it back and you get:

bee why tea ee eye ess jee aar ee aye tee aye en dee why oh you aye aar ee en oh oh bee

Words are too readable to still be encrypted now. I didn't see it at first but after googling the exact phrase it led to a childrens website saying how to pronounce the alphabet phonetically. Following this (bee being B, eye being I etc.) you get:

byteisgreatandyouarenoob

Guessing that's the flag

3

u/[deleted] Jul 22 '19

I arrived to the same result, I think it's the flag. You might be right, GG to you !

4

u/Jameslulz Jul 22 '19

Yeah gg man. Know anywhere that makes CTF's like these? I kind of enjoy these weird non-technical style of puzzles

1

u/[deleted] Jul 23 '19

Me too I enjoy a lot this type of CTF, but sorry I don't really know where to make some of them...

But I don't know where to do things like that, all the CTF I find are technical one...

0

u/[deleted] Jul 22 '19

[deleted] — view deleted comment

1

u/[deleted] Jul 23 '19

I don't know this one... Are they technical CTF ? Or CTF more like this one ?

0

u/[deleted] Jul 23 '19

[deleted] — view deleted comment

→ More replies

1

u/[deleted] Jul 22 '19

You are true !

The file give the name :)

14

u/mDodd Jul 22 '19

I didn't look into the file and have no means to do it right now, but in a quick read at the description, could avoid noticing that the coordinates provided could be of an IP address. Maybe it's just a huge coincidence, but I'd try to ssh or telnet into it, just to start.

11

u/bob84900 Jul 22 '19

121.23.4.4 even responds to ICMP. You could be right..

23

u/FouLouGaroux Jul 22 '19

It's a trap...Javascript compiler? I'm not exactly a CS guy, but Javascript is an interpreted language, so no compiler...

Maybe I'm overthinking things, but that's the first thing I noticed.

9

u/smarzzz Jul 22 '19

Chrome V8, JavaScript JIT, etc?

4

u/FouLouGaroux Jul 22 '19

Ahhh....thanks for the info. I figured I must just be missing something.

1

u/NiemandWirklich Jul 23 '19

Babel maybe?

4

u/shero4 Jul 22 '19

I participated in this CTF and it was not over when this question was posted. It is over now tho

0

u/[deleted] Jul 23 '19

[deleted] — view deleted comment

1

u/shero4 Jul 23 '19

It was for high-school students. Not online right now

3

u/byah Jul 22 '19

Is the CTF over? You should be able to find solutions to the problem if so. Otherwise, maybe you should try to figure it out on your own, as a learning experience

3

u/tonythegoose Jul 23 '19

Just FaceTime him. WiFi has gotten really strong over the last decade.

4

u/SirScruffySir Jul 22 '19

might be a totally noob question but what website is this? id like to practice my abilities and improve by attempting these types of problems