[INC] Md5 Security Plugin
1 Attachment(s)
Hi :3 I was making a plugin for the server and I figured I could make the .inc to avoid putting it every time that I wanted to protect a plugin, and I created this; no big deal; let's explain this out :P.
It's really simple, a md5 is created from the server Ip (port included), adding a letter/number in any position you choose and making another md5 again; this is saved in a file, in "Configs" folder. We open the file security.inc and search for the constant called "ValidationFile" and we change the string; We open the file security.inc and search for the constant called "FailStateSay" and we change the string; A really minmum amount of knowledge is needed to create the validation code. It's as simple as this PHP Code:
With the validation file created we just need to add to our plugin it's protection; this is so simple like attaching an include and set a stock. PHP Code:
Just a piece of cake (:, Enjoy! :3 |
Re: [INC] Md5 Security Plugin
Huh I don't get it. What are you actually hashing?
Edit: The IP? Can you please explain a bit more :) |
Re: [INC] Md5 Security Plugin
Quote:
|
Re: [INC] Md5 Security Plugin
That's useless in a community that supports Open Source and posting open source plugins is a rule.
If you know how to script it won't be a problem to write a simple check... no need to feed n00bs to sell their editted plugins... |
Re: [INC] Md5 Security Plugin
Quote:
EDIT; And if any from your comunity or whatever try to steal your plugin |
Re: [INC] Md5 Security Plugin
It won't take too long to bypass this.
In fact: Code:
0x4B8 PROC ; public plugin_init() |
Re: [INC] Md5 Security Plugin
Quote:
|
Re: [INC] Md5 Security Plugin
Quote:
|
Re: [INC] Md5 Security Plugin
Amxxdump or Abstract Machine eXecutive (AMX) file Disassembler.
|
Re: [INC] Md5 Security Plugin
Quote:
@hornet because the probability to force the Validation Code without any knowledge in Hex is very low because you need a 24 positions with all the keys |
All times are GMT -4. The time now is 09:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.