Jump to content
Tevai

[encrypt .dll] How make unreadble variable

Recommended Posts

Hi every one ! 
I work on my .dll  for decrypt my code previously encoded with a key .
My .dll work perfectly but ... i need to pass my key (asked to my server and stored locally inside a constant variable) in the callExtension ...

But if hacker askk all variable... then he will have the key :s

How i can hide a variable ?

Thanks :)

Share this post


Link to post
Share on other sites

can't. You can store it inside the dll.
Or you can run the dll serverside and ask the server for the decrypted code.

Share this post


Link to post
Share on other sites
On 25/07/2018 at 3:52 PM, Dedmen said:

can't. You can store it inside the dll.
Or you can run the dll serverside and ask the server for the decrypted code.

Hi @Dedmen
The problem is , if i store the key in my .dll , The hacker launch the mod in single player and call the .dll for decrypt the mod with a diag_log .
The solution to call my serverside each time for decrypt is not good . Firstly for the Ping and second for the load on my HC :s


Thanks anyway for your suggestions :)

Share this post


Link to post
Share on other sites

Anyways a malicious person would be able to extract decrypted SQF code from the process memory while the game is running. It requires some effort though.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×