[C#]question please

07/07/2011 14:09 kondos#1
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.
07/07/2011 14:46 kevin_owner#2
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).
07/07/2011 16:16 kondos#3
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???
07/07/2011 16:34 kevin_owner#4
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
07/07/2011 16:57 kondos#5
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?
07/07/2011 17:51 ZeraPain#6
As far as i know the worldserver packets arent even encrypted
07/07/2011 18:07 kondos#7
again i cant sniff packet by my program with srproxy what can i do???
07/07/2011 19:22 sarkoplata#8
use binaryreader class ^^
07/07/2011 19:28 ZeraPain#9
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
07/07/2011 19:39 zeteris#10
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 :D
07/07/2011 21:47 kevin_owner#11
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.
07/08/2011 02:22 kondos#12
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???
07/08/2011 02:29 kondos#13
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