How does python program check its own md5sum?

I played the game about a year ago. Wanting to speed it up a bit, I edited the main .py file and added psyco to the very beginning. The game went faster and better, but it did not allow me to send my ratings. I went into the file and he checked his own md5sum. The part that confused me was that they had the md5 file in the file. My question is: how to get the md5 file with the sum of the file, including md5, which I don’t have yet. The trick seems to me to be 22, but they did it.

I hope I explained it quite well. Example:

File: Example.example

check md5 of Example.example
If md5 I just obtained == "###################################"
allow send score.
+3
source share
3 answers

() MD5 , MD5, , MD5 , , MD5 . Loop , . , . " " 2 ^ 128 , - , .

, . MD5, , MD5, , NULL.

, NULL --- SALT. Obfuscate . MD5 "" , .

+5

, , MD5 - , .

, IPSEC.

+1

It would be very difficult to do, you would have to overdo it. Are you sure that this is not red herring and the real check is done elsewhere?

In any case, it seems that there is no reliable protection to stop the modification of this algorithm (using your pseudo-code)

check md5 of Example.example
If md5 I just obtained != "###################################"
allow send score.
0
source

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


All Articles