Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 06:33

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

Advertisement



[C#] Login Packet - Silkroad Security by drew

Discussion on [C#] Login Packet - Silkroad Security by drew within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 34
Received Thanks: 20
Question [C#] Login Packet - Silkroad Security by drew

hey i am using Drew's Silkroad Security to make a packet based login.( i extend his simple_proxy example)
So i made a new gui with a button. the func of the button is:
Code:
Packet p = new Packet(0x6102);
            p.WriteUInt8(18);//Locale
            p.WriteAscii(ID);
            p.WriteAscii(PW);
            p.WriteUInt16(11);//ServerID?
            Program.gw_remote_security.Send(p);
Well i compile and run the simple_proxy and redirect sro_client and i can see all packets that are sent. So i press the button and the packet also shows up - so it is sent successfully....but not encrypted. The bytes of that login-packet are exactly the same as the ones from manual login(same id, pw and server of course.)

I noticed that my packet isn't encrypted and i think it might be the problem.
i search all over the internet and that forum but noone has that problem.

So my question is...how can i send encrypted packets?
And do you think that this is the only mistake or is there another mistake i've done?

Thanks for help!

Regards,
lukas2abc
lukas2abc is offline  
Thanks
1 User
Old 09/22/2012, 20:51   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
There are more constuctors for Packet. One of them has an encrypted parameter.
Code:
Packet p = new Packet(0x6102,true);
DaxterSoul is offline  
Old 09/22/2012, 21:22   #3
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
Well, im also using drew's simple proxy and api in a GUI, but what im using is 2 threads on the "proxy" class, 1 thread for the gateway and 1 thread for the agent.

my button starts the gateway thread, and starts a sro_client already redirected and all the packets are sent to my "analyzer" on a different form. (Main form, Analyzer form, Proxy class).

im trying to make a simple bot (im pretty sure it will never be released) just for fun and to learn, you could pm your msn or skype (skype preferable) and we could work together or something.
iNiperx is offline  
Old 09/22/2012, 21:29   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 34
Received Thanks: 20
Quote:
Originally Posted by DaxterSoul View Post
There are more constuctors for Packet. One of them has an encrypted parameter.
Code:
Packet p = new Packet(0x6102,true);
Thanks for that hint!!

Quote:
Originally Posted by iNiperx View Post
Well, im also using drew's simple proxy and api in a GUI, but what im using is 2 threads on the "proxy" class, 1 thread for the gateway and 1 thread for the agent.

my button starts the gateway thread, and starts a sro_client already redirected and all the packets are sent to my "analyzer" on a different form. (Main form, Analyzer form, Proxy class).

im trying to make a simple bot (im pretty sure it will never be released) just for fum and to learn, you could pm your msn or skype (skype preferable) and we could work together or something.
yes would be nice^^ i started to handle the login for the beginning and i also wanted to start a bot-project after my success and understanding of that procedure

You can add me on skype: lukas2new
lukas2abc is offline  
Old 09/23/2012, 00:16   #5
 
iNiperx's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 610
Received Thanks: 152
Ok i added you, and i re-read my post and i just noticed i said "fum" instead of "fun" lol
iNiperx is offline  
Old 10/15/2012, 20:40   #6
 
bdeniz's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 92
Received Thanks: 16
lukas i added you 2 but probably u are busy ?
bdeniz is offline  
Reply


Similar Threads Similar Threads
Login Scripts with security features
03/30/2014 - Shaiya PServer Guides & Releases - 6 Replies
This post describes some methods to secure the game login process. Among the objectives, we can list: - the protection of user's accounts against piracy by attacks (dictionary based or brute force) - the limitation of the impact of massive attacks on the server login. This will be achieved by the implementation of a try counter verification associated to existing accounts as well as IP and by several checks that can enforce security. First of all, let check how in game login is...
Silkroad Security API
06/09/2011 - SRO Coding Corner - 5 Replies
i was trying to run the server_stats example but it just immediately closeed and i cant figure out why.. also i think i need ti configure the ip or port? where can i do this? edit: I've found the error.. Index was Outside the bounds of the array line 33 the code:
RFO Fireguard security Login
06/15/2010 - RF Online - 0 Replies
ich habe mir einen acc erstellt etc.. eingeloggt server gewählt und gewartet... nach einiger zeit öffnet sich der Fireguard security login aber ich weiß nich welches PW ich da eingeben muss etc kann mir wer helfen???:confused::confused:
Silkroad New security?
01/24/2010 - Silkroad Online - 68 Replies
This must be a joke or something another wanna be Game Guard? cus silkroad added a new folder called hackshield to the game directory... lol anyone have any inputs on this? maybe for once they trying to do something lol kinda funny... :rtfm:
[Release] Packet Security
11/01/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 10 Replies
Im getting bored of messing around with 2Moons, even though it was a short tyme, so im giving what ive figured out about the packet security to you guys so you can do something with it if u kno how. Well c ya guyz on anotha game if im interested in one :). /************************************************ * * PACKET SECURITY * ************************************************/



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


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.