[Help] Socket protection
Many people have recommended that I use sockets to prevent data from being hard-coded insider the plugin. I am creating a plugin to connect the user system of a web server to counter strike servers.
That was a great idea until I started asking myself on how secure socket connections can be? Do you guys have any suggestions on securing http socket connection to a php file using GET method? Someone, from my old resolved thread, told me to go for RSA encryption. However, still a newbie, I have nearly no clue on how to achieve this. Except, I remember he said I could create a c++ module out of it. Googling did not help me much either :s Big thanks in advance, |
Re: [Help] Socket protection
TEA is reliable enough. I doubt any reverse engineer will spend few weeks just to hack some CS plugin. TEA is also fast and easy to implement.
|
Re: [Help] Socket protection
I modded the TEA.inc .. Modded some values and encryption still work at different offsets :)
However, let say I encrypted "test" with a key[4] array values "1,2,3,4". The value I get, as per my slightly edited version of tiny encryption algorithm in unicode, is "Ĉi→t".. Should I encode that data or is it transmissible via socket? Thanks for your help, |
Re: [Help] Socket protection
Quote:
|
Re: [Help] Socket protection
Yeah.. thanks a lot.. I guess I'll use default delta.. When I use another delta, encryption goes well only for some few keys and data to be encrypted. BTW, I used this function to generate a new key every time plugin is initialized(started):
PHP Code:
|
Re: [Help] Socket protection
No problem :)
Quote:
|
Re: [Help] Socket protection
Oh, thanks.. I use that technique with md5 salting a lot :P
|
Re: [Help] Socket protection
Quote:
|
Re: [Help] Socket protection
fysiks
Quote:
And If I need to post multi-quotes that will take more time, obviously. So I prefer just to use regular quote tag with posting user name I'm talking to. But when there is just 2 people in the thread it's pretty obviously I'm talking to :D |
Re: [Help] Socket protection
I prefer using the @person system :S.. Quoting from my celeron 1500 will take more time :P
Anyway thanks for your answers.. :) |
| All times are GMT -4. The time now is 04:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.