📜 ⬆️ ⬇️

Passage of the quest from mail.ru

Under the cut description of how I passed the quest from mail.ru ( quest ). If you do not want to spoil the impression of the quest, do not go under the cat.

If there is no welcome page
At the very beginning after following the link, I saw a picture that the quest was not intended for mobile devices. Having launched the chrome developer console, I found the media block in style.css and changed 1200px to 120px, after that I saw the original page.

The decision of the 1st task
The first task was simple - the secret word was indicated in the source code of the page: white.

The decision of the 2nd task
The answer is also in the source code of the page, namely in the comments.

Answer: W3C.

The decision of the 3rd task
The answer in the source code, you must go to the end of the page, which contains 10,000 lines.

Answer: well done.

The solution of the 4th task
The question with the wrong encoding, you must specify the encoding in the browser UTF-8 and get the answer: krakozyabry

Solution of the 5th task
In the source code of the page there is an image sequence.gif. Open it in a separate tab, click "update" and see the answer: gif.

Solution of the 6th task
There is an image in the source code of the page, but the wrong link points to it. Open it in a separate tab, correct the file name on blok_shema.png. As a result, we obtain the factorial calculation algorithm 10. The Yandex search string is well able to count factorial.
')
The answer is 3628800.

Solution of the 7th task
In the source code of the page there is an encoded hint, we decode it with the help of link we get: “If the coordinates are not obtained in Moscow, then you are doing something wrong.”

Then I looked at the coordinates of Moscow, compared with what is on the page, transformed and received the following coordinates: 55 ° 47.48916′N 37 ° 32.94132′E. Entered them in Yandex.karty and got the street of Hugo Chavez, the answer was the name of the politician.

The decision of the 8th task
The following tasks I decided at random, did not understand the text. I saw the file mikrotochka.png in the source code of the page and opened it, then I just entered my.com and got to the next level

Solution of the 9th task
The problem on the knowledge of number systems: 7 + 7 = 14 in the decimal system. Accordingly, the number 16 is the number in the octal number system. It remains to convert the number 49 to the octal number system and get the result: 61

The solution of the 10th task
Since I did not remember the codes of these characters, I just found them on the Internet and copied them. ± §¤

The solution of the 11th task
We look in the source code of the page file name. Download it, look at the meta-data and get the answer: Yarrrost.

Ubuntu commands
sudo apt-get install jhead
wget puzzle.mail.ru/exif.jpg
jhead -v exif.jpg

The decision of the 12th task
In this task, we call the stepbystep () function in the debugger console.

Code
for (i = 0; i <10000; i ++) {stepbystep ()}

The decision of the 13th task
In this task, you need to encrypt the text: vigenere using the key: cipher and the Vigenère cipher for this I used this link

Answer: xqvlrvtm

Decision 14 of the job
On this page there are ip-addresses recorded with one number. Here is the article of the author of the quest about this form of recording.

Linux Commands
$ ping 0x5E64B4C9
PING 0x5E64B4C9 (94.100.180.201) 56 (84) bytes of data.
64 bytes from 94.100.180.201: icmp_seq = 1 ttl = 55 time = 52.8 ms
^ C
- 0x5E64B4C9 ping statistics - 1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min / avg / max / mdev = 52.849 / 52.849 / 52.849 / 0.000 ms
$ host 94.100.180.201
201.180.100.94.in-addr.arpa domain name pointer ko.mail.ru.

We get the answer: ko.mail.ru.

The solution of the 15th task
The page contains the time in the unix timestamp, you can use the online converter or the date command

Linux command
date -d '01 / 01/2020 00:00:00 '+ "% s"

Answer: 1577836800

PS Note that the time on the machine where you run the command should be in UTC. If not, then you need to run with an indication of the offset in time, in my case +7.

The decision of the 16th task
The task for which I spent the most time, as gimp persistently flooded not the way I wanted. Therefore, I used this online editor and got the desired result: 42.

The decision of the 17th task
In this task, we see a png image encoded in base64. I used this link to get the image, in the end it turned out: spam.

The solution of the 18th task
This task I decided by brute force. A = 1. And then having estimated that:

Decision
C + D = 9
C + E = 10
B + B> 10
B is an even number
respectively B can be 6 or 8.

I got the answer using the method: 1,8,4,5,6

The solution of the 19th task
I first asked for a hint
nslookup -type = TXT podskazka.donkeyhot.org
Server: 10.11.101.6
Address: 11/10/01.6 # 53

Non-authoritative answer:
podskazka.donkeyhot.org text = "NATO alphabet"

Then naandexil this wiki article. I compared the images with the alphabet and got the answer: AMIGO.

Solution of the 20th task
To begin, turn on the input form and the button.

document.getElementsByName('answer')[0].disabled=false; document.getElementsByName('btna')[0].disabled=false; 

So, we see a table with black and white rectangles. I assume that it can be a binary code, respectively, it can be: 01101110 or 10010001. Next, I found a correspondence table between letters and binary code link 01101110 corresponds to "n". So the white rectangle is “0”, and the black one is “1”. Remaining letters:

 01100101 - e 01111000 - x 01110100 - t 

Answer: next.

The solution of the 21st task
We look at the source code, we see that there is an image: message_digest.png open it and get the 16th code:
  6074c6aa3488f3c2dddff2a7ca821aab 

We drive a hash into Yandex and in this article we find the answer: 5555

Decision 22 of the job
The cookies are depicted, it means you need to see the cookie. I looked through Chrome DevTools -> Network-> cookies.jpg-> Request Headers and saw: secret = we_have_cookies, respectively the answer: we_have_cookies

Solution of the 23rd task
Here we see the rebus "coffee in the square." We write coffee in English, replace the letter "O" to "0". It turns out c0ffe. Now we multiply c0ffee * c0ffe, we get ( link ) answer: 9180E4DC0144

Solution of the 24th assignment
To begin, we define the number system. 221 is not divisible by 2, 3, 5, and appropriately we iterate over simple numbers. We get 13 and 17. Since in the first number there is a symbol “e”, then this number is correspondingly in the 17th number system, now we simply reduce the numbers to one number system and add it, we get the answer: 13,17, GEEK

The decision of the 25th task
The most interesting task in my opinion. For starters, I started looking for clues. Following the recommendations in the source code, I got into the HTTP headers. There were two headers:

 X-Podskazka-1:Eto russkiy tekst X-Podskazka-2:Zashifrovan shifrom prostoy zameny 

After that, it became clear that the frequency analysis of the text should be applied. I wrote a small script that determined the frequency.

 import collections # -*- coding: utf-8 -*- fl = open("file.txt") text = fl.read() c = collections.Counter(text.decode('utf-8').replace(',','').lower()) total_word_count = sum(c.values()) for word, count in c.most_common(33): print word, count, count*1.0/total_word_count 

Found a table of frequency letters in wikipedia
Made the table:

table of correspondence
table of correspondence
Source textThe frequency of letters of the Russian language
BABOUT
ShE
ABOUTBUT
ANDAND
ATH
HaveT
UWITH
DR
ThAT
FL
XTO
YUM
FD
TOP
PHave
UhI
HS
EB
WITHR
RH
CB
TH
BUTTh
LX
SF
HSh
BYU
RC
IU
HUh


Then used this site

Having received a frequency dictionary, I began to choose words from 3 letters. Here are the first matches, I wrote them in the order in which I found.

hoh - how
hohish - which ones
hohish-dits - any
xnk-dits - ever
never
pysn - my.

Then I decided to decipher one phrase. The choice fell on:

     ,   

Partially decrypted phrase
   **** *** *,   

Then I began to look for matches:

tshn - what
fikip - apparently
tv - what
The phrase has become:
** * *,

According to the meaning of the phrase:
     ,   

And then I hammered this phrase in quotation marks into the Yandex search string and found out that this phrase is from the novel “Golden Beetle”. The name of the novel was the answer.

I used this link to find words.

Thanks for attention!

Source: https://habr.com/ru/post/311674/


All Articles