Register for your free account! | Forgot your password?

You last visited: Today at 06:40

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

Advertisement



[C#]question please

Discussion on [C#]question please within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2008
Posts: 112
Received Thanks: 10
[C#]question please

my 1st question:
how to decrypt packet on esro to know opcode and other things?
my 2nd question:
how to inject packet (and covering silkroad security) in C#?
PS: i don't know how to use push edx silkroad security and i'm programming in esro.
kondos is offline  
Old 07/07/2011, 14:46   #2
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Learn how to use drew's silkroadsecurityApi else it'll be a much more painfull way to acomplish your task

But you could use a proxy which already does this for you like phconnector or srproxy also edxProxy33(I don't know if the name is correct).
kevin_owner is offline  
Old 07/07/2011, 16:16   #3
 
elite*gold: 0
Join Date: Jul 2008
Posts: 112
Received Thanks: 10
but you don't answer how to decrypt packet
and u mean to send the packet normally and the proxy will make security to it and send it???
kondos is offline  
Old 07/07/2011, 16:34   #4
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Yep the proxy handles everything for you.

It decrypts the packets from the server to the client and you receive the decrypt packet from the proxy and also the decrypt onces from the client. and you send the packet unencrypted and it'll be send encrypted to the server

But I recommend you to use silkroadSecurityApi not that those other tools are fine but than you know the proxy works
kevin_owner is offline  
Old 07/07/2011, 16:57   #5
 
elite*gold: 0
Join Date: Jul 2008
Posts: 112
Received Thanks: 10
Thanks kevin but i want to ask another question how can my program listen packet if it's not the proxy it's like client connect to srproxy
what is the funtion name of listening packet which it sent to it?
kondos is offline  
Old 07/07/2011, 17:51   #6
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
As far as i know the worldserver packets arent even encrypted
ZeraPain is offline  
Old 07/07/2011, 18:07   #7
 
elite*gold: 0
Join Date: Jul 2008
Posts: 112
Received Thanks: 10
again i cant sniff packet by my program with srproxy what can i do???
kondos is offline  
Old 07/07/2011, 19:22   #8

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,648
use binaryreader class ^^
sarkoplata is offline  
Old 07/07/2011, 19:28   #9
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
Quote:
Originally Posted by kondos View Post
again i cant sniff packet by my program with srproxy what can i do???

for sniffing just look for a receive function (GOOGLE)
donno where i stored mine
ZeraPain is offline  
Thanks
1 User
Old 07/07/2011, 19:39   #10
 
zeteris's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 575
Received Thanks: 752
Quote:
Originally Posted by ZeraPain View Post
As far as i know the worldserver packets arent even encrypted
There are a very little encrypted packets at all
zeteris is offline  
Old 07/07/2011, 21:47   #11
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
Indeed there are a few world packets encrypted but mostly C -> S is encrypted. but still if you decrypt it you would need to security bytes which are also handled in the proxy and @threadstart you could take a packetreader from a C# emulator like arcane or whatever so it's a bit easier for you to start with.
kevin_owner is offline  
Old 07/08/2011, 02:22   #12
 
elite*gold: 0
Join Date: Jul 2008
Posts: 112
Received Thanks: 10
btw thanks all but i need help on this
Quote:
private void button1_Click(object sender, EventArgs e)
{
Thread x = new Thread(a);
x.Start();

}
void a()
{
if (InvokeRequired) // Line #1
{

this.Invoke(new MethodInvoker(a));
return;
}

s.Connect(ip, port);
if (s.Connected)
{
//here when connected how to listen???
}
}
that's my problem anyone can Help me and tell me live example on my code to inject and listen packets
it's connected success to proxy then what can i do???
kondos is offline  
Old 07/08/2011, 02:29   #13
 
elite*gold: 0
Join Date: Jul 2008
Posts: 112
Received Thanks: 10
Quote:
Indeed there are a few world packets encrypted but mostly C -> S is encrypted. but still if you decrypt it you would need to security bytes which are also handled in the proxy and @threadstart you could take a packetreader from a C# emulator like arcane or whatever so it's a bit easier for you to start with.
thx kevin I'll try
kondos is offline  
Reply




All times are GMT +1. The time now is 06:40.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.