Raised This Month: $12 Target: $400
 3% 

ProtectSMX - protect your plugins against decompilation! (Linux only)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spumer
Senior Member
Join Date: Aug 2011
Old 04-28-2017 , 17:00   ProtectSMX - protect your plugins against decompilation! (Linux only)
Reply With Quote #1

ProtectSMX prevent decompilation of stolen plugins. This will be usefull to protect your plugins when using remote hosting.

What is this?
ProtectSMX encrypt any loaded plugin and save encrypted version on disk. Decrypted version passed to Sourcemode core.
If plugin already encrypted, then it will be decrypted on the fly.


Not so easy! It's a not classic Extension!
1. First of all you should compile Sourcemode by yourself! Just follow the official instruction: https://wiki.alliedmods.net/Building_SourceMod

2. Edit sourcepawn LoadPlugin code:

Sourcemod 1.8 (sourcemode/sourcepawn/vm/api.cpp)


Sourcemod 1.7 (sourcemode/sourcepawn/jit/engine2.cpp)


Of course you should add #include <protectsmx.h> to top of file. And add protectsmx.c to build script.

3. Change KEY in protectsmx.c to you own

4. Rebuild sourcemod with your changes.

5. Search sourcepawn.jit.x86.so in build directory. Copy to your gameserver sourcemod/bin folder.
----

I lost my build-vm-station and can't say you what should be changed in AMBuildScript and where files should be placed.
I drop this project, but if someone interested i can help by answer to questions.
In attachment you can found sources, examples and tests.

----

Credits:
Blowfish for C++: https://github.com/h2so5/Blowfish
Blocked Attachments
File Type: gz protectsmx.tar.gz
__________________
spumer is offline
cruderustle
Junior Member
Join Date: Apr 2017
Location: Computer
Old 04-28-2017 , 18:17   Re: ProtectSMX - protect your plugins against decompilation! (Linux only)
Reply With Quote #2

I'm pretty sure this is against the SourceMod license.
__________________
cruderustle is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 04-28-2017 , 18:49   Re: ProtectSMX - protect your plugins against decompilation! (Linux only)
Reply With Quote #3

"Stolen" plugins.

headline is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode