Reflection of an executable

12/07/2015 06:12 Asphy×ia#1
So lately I've been attempting to figure out how to get a client (shutdown game) to connect to a basic game server. I used about as low down on basics of sockets as I could imagine, just to see if I could establish a connection between the client.

So, problem is: the game officially shutdown in 2012; I had a friend log some of the main packets from the game client before it was to close. However, I'm unsure if any encryption should be requested, or if I'm doing something wrong.

After clicking the .exe, it is immediately processed to a 'failed to connect to server' error. There is no request for user/pass before failing, it's just an immediate error. I've run through it in ollydbg just to see if I could see what it was doing, I couldn't.

[Only registered and activated users can see links. Click Here To Register...]

So I tried reflecting this, it was not .NET. I assumed it may be of c++ origin, but i've also read that reflecting in c++ isn't possible. So I'm somewhat stuck.

I am in no way advanced at programming, so I may be taking a completely wrong direction at this problem. Any ideas/thoughts would be helpful.
01/23/2016 16:01 Asphy×ia#2
So I decided to use a public hook, from csv3

[Only registered and activated users can see links. Click Here To Register...]

I managed to get it hooked, and the ability to send messages via the server. I initiate the executable from the source, it runs - I can display messages. However, I still am stuck at the exact failed to connect to server error. Whilst running, it seems to skip through the methods needed to initiate the client to bypass that error - or at least act as a server so that it would. If anyone has any ideas - would be great.