Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Puzzle

I was doing a ctf and I found a file called secure.txt. It has this in it but I have no clue what I am supposed to do.

secret code is below


ZZZZZZZZZZ,mZmZZZmZZZZZZZmZZZZZZZZZZkkkk\.mmmZZZZZZZZZZZZZ]\\\\\\\\\\\]\\\\\\\]ZZZZZZZZZZZZ]mZZZZZZZZZZZZZZZZZZZZZZZ]\\\\\\\\\\\\\\]ZZZZZZZZZZZZ]kZZZZZZZZZZZZZZZZZZZZZ]m\\\\\\\]k\]ZZZZZZZZ]m\\\\]k]mZZZZZ]k\\\]mZZ]k\\\]]kZZZZZZZZZZZZZZZZZZZZZ]mZ]mZZZZZZZZ]

my favorite number is 47
(Apr 6, 2019 04:55 PM)LoopTurn_ Wrote:  I was doing a ctf and I found a file called secure.txt. It has this in it but I have no clue what I am supposed to do.

secret code is below

 
ZZZZZZZZZZ,mZmZZZmZZZZZZZmZZZZZZZZZZkkkk\.mmmZZZZZZZZZZZZZ]\\\\\\\\\\\]\\\\\\\]ZZZZZZZZZZZZ]mZZZZZZZZZZZZZZZZZZZZZZZ]\\\\\\\\\\\\\\]ZZZZZZZZZZZZ]kZZZZZZZZZZZZZZZZZZZZZ]m\\\\\\\]k\]ZZZZZZZZ]m\\\\]k]mZZZZZ]k\\\]mZZ]k\\\]]kZZZZZZZZZZZZZZZZZZZZZ]mZ]mZZZZZZZZ]

my favorite number is 47

Something I noticed:

If you imagine the chacacter ']' as a delimiter, the last few instances have the pattern {character}{repeated_number_of_characters}]
Since the character is alternating between m and k it makes me think that it could be 1's and 0's and their corresponding frequency.

i.e. mZZZZZ]k\\\]mZZ] = 1111100011 or 0000011100

This kind of scheme is similar to a compression algorithm known as Huffman encoding. I dont know if this helps but hopefully it gets the juices flowin


Possibly Related Threads...
Thread / Author Replies Views Last Post
by 00psOct 17, 2020 11:45 AM 1 118 Oct 17, 2020 11:45 AM
Last Post: 00ps
by ThemanoJun 5, 2020 05:09 PM 0 65 Jun 5, 2020 05:09 PM
Last Post: Themano
by timbermatMay 20, 2018 10:02 AM 2 133 May 20, 2018 10:02 AM
Last Post: timbermat