Raised This Month: $ Target: $400
 0% 

Best way to prevent plugin from being stolen?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UchihaMadara
Junior Member
Join Date: Jun 2014
Location: The South
Old 09-27-2014 , 06:44   Best way to prevent plugin from being stolen?
Reply With Quote #1

Well, i install my game mod in a community game server. That means there is a lot of people having access to FTP. They can take my amxx and run it in other server.

I am thinking about best way to protect the plugin from being stolen
My current way is: Set specific IP : PORT in amxx files (using get_user_ip to get server IP and check if it's matched)

Is there any better ways?
btw, about my current way. I wonder if they can bypass it by setting other IP address in console through 'ip' command. Am i wrong?

Last edited by UchihaMadara; 09-27-2014 at 06:48.
UchihaMadara is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-27-2014 , 06:59   Re: Best way to prevent plugin from being stolen?
Reply With Quote #2

get_user_ip can be hacked with net_adress cvar. There is no good way to protect your amxx file, just don't give ftp acces to everyone.
__________________
HamletEagle is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-27-2014 , 07:05   Re: Best way to prevent plugin from being stolen?
Reply With Quote #3

The best way is to limit who has access to the files
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
UchihaMadara
Junior Member
Join Date: Jun 2014
Location: The South
Old 09-27-2014 , 09:58   Re: Best way to prevent plugin from being stolen?
Reply With Quote #4

Is there any ways to detect a specific plugin is running (by file name), and pause it ?
UchihaMadara is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-27-2014 , 10:11   Re: Best way to prevent plugin from being stolen?
Reply With Quote #5

Quote:
Originally Posted by UchihaMadara View Post
Is there any ways to detect a specific plugin is running (by file name), and pause it ?
http://amxmodx.org/api/amxmodx/find_plugin_byfile
http://amxmodx.org/api/amxmodx/pause
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
UchihaMadara
Junior Member
Join Date: Jun 2014
Location: The South
Old 09-27-2014 , 10:13   Re: Best way to prevent plugin from being stolen?
Reply With Quote #6

after getting the plugin id, how to check if it's running or pausing ?
UchihaMadara is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-27-2014 , 10:21   Re: Best way to prevent plugin from being stolen?
Reply With Quote #7

http://amxmodx.org/api/amxmodx/get_plugin
http://amxmodx.org/api/amxmodx/plugin_flags
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 09-27-2014 at 10:22.
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-27-2014 , 15:31   Re: Best way to prevent plugin from being stolen?
Reply With Quote #8

The only reliable method for not getting your plugin stolen is to not give anyone access to the .amxx file (FTP or otherwise).
__________________

Last edited by fysiks; 09-27-2014 at 15:31.
fysiks is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 09-27-2014 , 15:43   Re: Best way to prevent plugin from being stolen?
Reply With Quote #9

You might add some kind file in system/any place you like, check if that file exists in plugin, if not, terminate.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-27-2014 , 15:46   Re: Best way to prevent plugin from being stolen?
Reply With Quote #10

Quote:
Originally Posted by GuskiS View Post
You might add some kind file in system/any place you like, check if that file exists in plugin, if not, terminate.
Which is just as easy to bypass as the IP.
__________________
fysiks is offline
Reply



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 02:44.


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