A
A
ASamsonov2021-02-27 13:24:59
JavaScript
ASamsonov, 2021-02-27 13:24:59

.js file authentication?

GTA 5 game server on rage mp, there are .js script files on the client side, when the game starts they are checked for authenticity, if there have been changes, the file is deleted and downloaded again, on what basis is the check performed? Is it possible to replace this file with a modified one so that the server accepts it? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dr. Bacon, 2021-02-27
@ASamsonov

The content of the file is hashed, for example, sha1. And, accordingly, do not replace it, unless you know how to find collisions for this hash.

A
Alexey Yarkov, 2021-02-27
@yarkov

when you start the game, they are checked for authenticity, if there were changes, the file is deleted and downloaded again, by what principle is the verification performed?

Do you find anything strange?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question