Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C++ make the code server-sided

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 231

PostPosted: Sat Sep 30, 2017 7:55 am    Post subject: C++ make the code server-sided Reply with quote

is that possible to store the code inside server then load it like this example but in C plus plus ?

http://scriptingwww.forum.cheatengine.org/viewtopic.php?t=594364&view=previous&sid=4c074e9c4cf99383731746bdb42d6c81
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sat Sep 30, 2017 11:14 am    Post subject: Reply with quote

for C++ (since it's a compiled language) you'd just store an exe on the server and then download that and run it, or alternatively a dll that your client code would load into memory and call functions of. I don't know enough C++ to do it off the top of my head but I can't imagine it being particularly difficult to google how to download something using C++....
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sat Sep 30, 2017 5:10 pm    Post subject: Reply with quote

There are a handful of ways to approach this depending on how you want to go about it and how in depth you want the web side to be.

Firstly you need the login 'handshake' between the trainer and the server. That can either be via a username/password combo or done any other method you wish based on hardware info, etc.

Afterward, you can do a handful of things:

  • Download the full trainer exe to the users system.
  • Download a DLL with the trainer info in it as FreeER mentioned.
  • Stream specific information back to the host application, such as AOB patterns, offsets, etc.
  • Stream parts of the information back that can be compiled at runtime inside of the host application and ran on the fly.


And many others, these are the more common ones though.

If you are focused on security, make sure any type of transmissions are encrypted/compressed in some manner otherwise man in the middle attacks will just land up leaking your information and bypassing your protections super easily.

As for the communications with the server, you can do raw sockets or use premade things like Windows' WinINet API. Also be sure to use SSL communications if you want more security as well. You can get SSL certs for free now from many vendors.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites