Web Security # The Code

In this challenge, the main purpose is to analyze the frequency and repetition of the symbols in the image, due to the fact that the message is encrypted in English, we should use the frequency statistics of English words and compare it with the symbols and further examinations and tests to get the main message.

At first, we allocate a number to each symbol which it will convert to this image:

Now considering that letters E and T are the most frequent letters in English, we convert the most frequent numbers in the text which is 10 and 13 to them respectively. then the text will convert to this image:

As we know, Th and The, respectively, are the most frequent two-letter and three-letter in English, so according to the text and images below, we can figure out that the number 16 represent the letter H.

Now, between the remaining letters and numbers, the numbers 2,3 and 11 have the highest frequency and therefore they should be representing the letters A or O.

After placing each possible case and examining the meaning of the obtained words, we conclude that the number 2 represents the letter A, and the number 3 represents the letter O.

After replacing and examining the meaning of the obtained words, we conclude that the number 2 represents the letter A and the number 3 represents the letter O.

With a little care we see the expression ATTHE 11 A 26 ET 18 26 E, can be the same expression “At the same time”, so the we can replace the number 11 with S, the number 26 with M and the number 18 with I.

Now in the text we see the phrase T H E R E A R E A 24 S O which can be “There are also”, so we assume the number 24 as the letter L and replace it.

In the text we also see H E R E 17 E R T H E R E I S 19 that can be the phrase “Wherever there is”. So, the number 19 is the letter W and 17 is V.

Similarly, the phrase “W H E R E V E R T H E R E I S L I 14 H T T H E R E A R E A L S O S H A 8 O W S” can be: Wherever there is light there are also shadows

In the same way, we can convert all the numbers into letters. After placing and specifying the words completely, we get the following expression:

Man seeks peace, yet at the same time yearning for war. Those are the two realms belonging solely to man.

They are two sides of the same coin.

In this world, wherever there is light, there are also shadows.

flag is howlongdidittakeyoutosolveit

this shows the flag and according to the description of the question, the full flag is as      ## Flag

SBCTF{howlongdidittakeyoutosolveit}