[C#] About packet injection (login packet)

07/18/2013 22:47 tarekwiz#1
hello
im developing a new bot called Silkroad Fusion and i did some research and i found about Drew's Silkroad security so i used it and i made my own proxy
and i needed a little help with the login packet
here is my code
PHP Code:
Packet login = new Packet((ushort)0x6102);
            
login.WriteUInt8(Proxy.SRLocal);//isro locale
            
login.WriteAscii(ID.Text);
            
login.WriteAscii(PW.Text);
            
login.WriteAscii("");//mobile vertification code
            
login.WriteUInt8(0xFF);
            
login.WriteUInt16(267); // Server
            
Proxy.SendGateway(login); 
what this code is supposed to do is -> Send login credits
what it does is -> send login credits but when the proxy connects to agent server it doesnt send or recieve any other packet (it stops by receiving packet 0x6005)
I have been trying for a long time but nobody could help me , hope somebody does
Thanks all.
07/19/2013 12:38 cyberninjah#2
After you connected to the agent server you need to send the login info again.

when you receive 06005 send the login details to the agentserver.
this packet isnt the same as the login request 6102.

Tip: Download a bot source here on the forum and find out the basic structure of the packet.
07/24/2013 20:53 tarekwiz#3
i fixed it already, that wasnt the solution btw
07/24/2013 22:59 Vanapapi#4
Quote:
Originally Posted by tarekwiz View Post
i fixed it already, that wasnt the solution btw
Can you post the solution please?