Register for your free account! | Forgot your password?

You last visited: Today at 08:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP] Proxy Coding

Discussion on [HELP] Proxy Coding within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 10
Received Thanks: 0
[HELP] Proxy Coding

Im creating a proxy program for Silkroad, similar to nuConnector, phConnector, ,etc.

My proxy works but after login the client transfers into another IP address. For example, for SRO-R: from 31.193.168.141:15779 to 31.193.168.96:15779 or 31.193.168.9X:15779.

Does the server sends the IP to where the client reconnects?

Well, before I got DC, I captured two packets: one is [C->S] and the other is [S->C] which contains 1680xxxx at the start. I think this is an encrypted packet. How can I decrypt it? How can i tell the client to reconnect to LocalHost::15779 instead of 31.193.168.xx:15779?

Thanks
rowni18 is offline  
Old 03/26/2012, 15:48   #2
 
bootdisk's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 134
Received Thanks: 41
After you hit login, you will receive the real game server ip.
You just have to use pushedx's handshake api.

It's all described on pushedx's tutorials/sources.
bootdisk is offline  
Old 03/26/2012, 16:13   #3
 
elite*gold: 0
Join Date: Mar 2012
Posts: 10
Received Thanks: 0
Thanks. But I can't find any links though.

Well i only found pushedx's C# Security api. Is this the right one?
rowni18 is offline  
Old 03/26/2012, 18:43   #4
 
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
yeah,that's the right one
vorosmihaly is offline  
Thanks
1 User
Old 03/27/2012, 06:29   #5
 
elite*gold: 0
Join Date: Mar 2012
Posts: 10
Received Thanks: 0
I understand the type of encryption it uses but I'm having some problem how did the code generated the "specific key" for encryption used by the the public void Initialize(byte[] key_ptr) function.

I already tried the encryption in my code with some "testing key" to test if it really works, and it actually works for encrypt and decrypt.

What I only need to know is the key generator code and i cant find it in the api. I can't just copy and paste the code coz I'm programming in another language.

Thanks.
rowni18 is offline  
Old 03/27/2012, 18:45   #6

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,779
Quote:
Originally Posted by rowni18 View Post
I understand the type of encryption it uses but I'm having some problem how did the code generated the "specific key" for encryption used by the the public void Initialize(byte[] key_ptr) function.
Search "Security.cs" for all instances of "m_blowfish.Initialize". Depending on the type of security, there are multiple keys used during the process of setting up the security for Silkroad packets. The bulk of the logic will be in the Handshake function. That's the main logic you have to port to whatever language you are using to get a Silkroad security compatible with Joymax's.

To understand the actual process as a whole, check out: . That guide is old and has some errors in it, but the main concepts are there.
pushedx is offline  
Thanks
1 User
Old 03/30/2012, 06:43   #7
 
elite*gold: 0
Join Date: Mar 2012
Posts: 10
Received Thanks: 0
Thanks.
rowni18 is offline  
Reply


Similar Threads Similar Threads
[Poll] Packet/Proxy/General coding learning units
06/19/2011 - Conquer Online 2 - 7 Replies
Ok so I decided to give this a thread so it gets more than like 2 replies. I was bored yesterday and someone with impeccable timing was asking me questions about proxies... as a result I built them a proxy base source over team viewer while explaining what each thing sorta 'did'. I recorded most of it but as it took me a couple hours of going afk/coming back and fighting with me needing to remember all the steps, the videos would be far too large and boring for anyone here to make much use of....
Proxy Coding
04/30/2006 - Conquer Online 2 - 2 Replies
can someone wright a simple proxy in c, c++, c# or python thatreceves the packet from the client, decodes it, prints out the content, recodes it , and sends it alkong to the ip i specify? Thanks in advance.



All times are GMT +1. The time now is 09:01.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.