Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > C#

C# C# Discussion

Reply
 
Thread Tools Display Modes
Old 10-01-2007, 07:10 AM   #1 (permalink)
Lurker
 
Join Date: Jun 2006
Age: 22
Posts: 4
Default Change client version/encryption via C#

I all i'am coding a launcher for my shard in C#, the launcher must change encryption key or/and it must spoof version string sended to server (like razor or injection) My goal is to accept only players logged with my launcher....



I see VerChanger by omegared but i can't understand how it pass key encryption to the client and how it change the version of the client





excuse me for my english

thanks a lot
Arcer is offline   Reply With Quote
Old 10-01-2007, 04:56 PM   #2 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Location: In your mom
Age: 27
Posts: 4,763
Default

I doubt this can be done in C#, perhaps try C++. I can't really help you any further other then telling you its done in C++ for ConnectUO and Razor.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 10-01-2007, 05:21 PM   #3 (permalink)
Lurker
 
Join Date: Jun 2006
Age: 22
Posts: 4
Default

Quote:
Originally Posted by Jeff View Post
I doubt this can be done in C#, perhaps try C++. I can't really help you any further other then telling you its done in C++ for ConnectUO and Razor.
ok also in C++ i can develop the launcher



Can i change the encryption keys of the packets transmitted and received by the client?
Arcer is offline   Reply With Quote
Old 10-02-2007, 12:30 AM   #4 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Location: In your mom
Age: 27
Posts: 4,763
Default

Quote:
Originally Posted by Arcer View Post
ok also in C++ i can develop the launcher



Can i change the encryption keys of the packets transmitted and received by the client?
Yes, you have to decrypt and encrypt the data sent from and to the client on the fly.
__________________
Jeff Boulanger
ConnectUO - Core Developer

Want to help make ConnectUO better? Click here to submit your ideas/requests
Use your talent to compete against other community members in RunUO hosted coding competitions

If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team.


Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO
Jeff is offline   Reply With Quote
Old 10-02-2007, 06:51 AM   #5 (permalink)
Lurker
 
Join Date: Jun 2006
Age: 22
Posts: 4
Default

Quote:
Originally Posted by Jeff View Post
Yes, you have to decrypt and encrypt the data sent from and to the client on the fly.

clear ....but my question is how can I sniff packet ?....the algorithm is blo/two fish so the implementation is not very difficult beacouse it can be found over the internet.....so the idea is


SEND:
CLIENT---->SNIFF(decrypt(whit standard key of client) & encrypt(my own key))---->SERVER

RECEIVE:
SERVER---->Sniff(decript(with my own keys) & encrypt(with standard key))---->CLIENT
Arcer is offline   Reply With Quote
Old 10-24-2007, 12:54 AM   #6 (permalink)
Forum Expert
 
Join Date: Sep 2002
Age: 23
Posts: 1,472
Default

Quote:
Originally Posted by Arcer View Post
clear ....but my question is how can I sniff packet ?....the algorithm is blo/two fish so the implementation is not very difficult beacouse it can be found over the internet.....so the idea is


SEND:
CLIENT---->SNIFF(decrypt(whit standard key of client) & encrypt(my own key))---->SERVER

RECEIVE:
SERVER---->Sniff(decript(with my own keys) & encrypt(with standard key))---->CLIENT
This can be done easily using the Win32 debugging API, check out SpyUO for a fantastic example of hooking packets on the fly.
Ravatar is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5