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++] Proxy

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Iluv666
How do I cheat?
Reputation: 0

Joined: 26 Mar 2013
Posts: 1

PostPosted: Tue Mar 26, 2013 4:24 pm    Post subject: [C++] Proxy Reply with quote

I basicly want to create an TCP application(proxy) that sits between Game Client and Server.

Game Client -> Proxy -> Game Server
Game Server -> Proxy -> Game Client

And forward packets back and forth and also be able to delay or drop the packets going between. If you want an example picture you could pm me.

I've tried to code but haven't succeded, i really love networking and such but i'm fairly new to sockets. I was hoping anyone here could help me out over skype or something, might add an reward if i get it working. I really need some help i've been working a while on this while someone told me it would be fairly easily.
Back to top
View user's profile Send private message
n0 m3rcY
Cheater
Reputation: 0

Joined: 18 Jun 2012
Posts: 42

PostPosted: Mon Apr 01, 2013 8:27 pm    Post subject: Re: [C++] Proxy Reply with quote

Iluv666 wrote:
I basicly want to create an TCP application(proxy) that sits between Game Client and Server.

Game Client -> Proxy -> Game Server
Game Server -> Proxy -> Game Client

And forward packets back and forth and also be able to delay or drop the packets going between. If you want an example picture you could pm me.

I've tried to code but haven't succeded, i really love networking and such but i'm fairly new to sockets. I was hoping anyone here could help me out over skype or something, might add an reward if i get it working. I really need some help i've been working a while on this while someone told me it would be fairly easily.

You can use a man in the middle *nix that captures and modifies incoming packets, but a "proxy" to spoof your IP only works one-way, because you will not be able to recieve anything.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Apr 02, 2013 10:12 am    Post subject: Reply with quote

What you need to do is:
- Create a TCP socket that listens for connections from the client.
- When a connect is created; create another socket to the server of the game.
- Any packet that is sent from the client, forward to the server socket.
- Any packet that is sent from the server, forward to the client socket.

Then you just need to make the game connect to your local proxy.

I made an example of doing it in C# if you want to look at it here:
http://www.gamedeception.net/threads/24086-Creating-Packet-Editor-Proxy-In-C

_________________
- 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 programming 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