Jump to content
  • 0
zhaosin

How to protect Client ??

Question

After diff client, i want to protect it ( want everyone have to use it, if not will show error or can't connect ), because if normal, everyone can put their client to my ro folder and run with their client !

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

https://github.com/HerculesWS/Hercules/blob/master/conf/login-server.conf#L150

 

// Client MD5 hash check// If turned on, the login server will check if the client's hash matches// the value below, and will not connect tampered clients.// Note: see doc/md5_hashcheck.txt for more details.client_hash_check: off// Client MD5 hashes// The client with the specified hash can be used to log in by players with// a group_id equal to or greater than the given value.// If you specify 'disabled' as hash, players with a group_id greater than or// equal to the given value will be able to log in regardless of hash (and even// if their client does not send a hash at all.)// Format: group_id, hash// Note: see doc/md5_hashcheck.txt for more details.//client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5//client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae//client_hash: 99, disabled

get the files Hash and add into the conf files.

Share this post


Link to post
Share on other sites
  • 0

https://github.com/HerculesWS/Hercules/blob/master/conf/login-server.conf#L150

 

// Client MD5 hash check// If turned on, the login server will check if the client's hash matches// the value below, and will not connect tampered clients.// Note: see doc/md5_hashcheck.txt for more details.client_hash_check: off// Client MD5 hashes// The client with the specified hash can be used to log in by players with// a group_id equal to or greater than the given value.// If you specify 'disabled' as hash, players with a group_id greater than or// equal to the given value will be able to log in regardless of hash (and even// if their client does not send a hash at all.)// Format: group_id, hash// Note: see doc/md5_hashcheck.txt for more details.//client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5//client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae//client_hash: 99, disabled

get the files Hash and add into the conf files.

How to get two this number of my client bro ? -> 0, 113e195e6c051bb1cfb12a644bb084c5

Share this post


Link to post
Share on other sites
  • 0

@@zhaosin

 

0 = group id

113e195e6c051bb1cfb12a644bb084c5 = hash of the client

 

but i think you need to diff your client with force sending hash in order for this to work, well you could try first :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.