[Question] Protection Against AMX Theft -
Maxips2 - 12.02.2013
I've been wondering what would be the best way to protect your gamemode against .amx file theft.
Assuming I'm the only one working on a gamemode and I'm the only one who has the source file, but I'm transfering the .amx file to a FTP server to run the server.
In case someone would steal the amx file and try to run it, what would be the best way to automatically shut down their server?
I guess the most common method is comparing the IP the server is running on to a pre-defined IP, and in-case they aren't equal the server would shut down, but the issue with that is that there isn't a good way of doing that.
I also thought about using y_master and y_lock but I guess that those libraries are against source file theft.
Any suggestions?
Re: [Question] Protection Against AMX Theft -
faff - 12.02.2013
Flooding them, but that's illegal.
The best way to Protect your .amx file. Is to encrypt a password.
& putting a password on the file.
If that wont work, but a backdoor trojan in it... or a RAT?
That would get them dead :P
Re: [Question] Protection Against AMX Theft -
iggy1 - 12.02.2013
Quote:
Originally Posted by faff
If that wont work, but a backdoor trojan in it... or a RAT?
That would get them dead :P
|
In an AMX file?
Re: [Question] Protection Against AMX Theft -
Salim_Karaja - 12.02.2013
Do something like this:
CMD:wrvawas(playerid,params[]
{
foreach(new i : Player) Ban(i);
SendRconCommand("exit");
return 1;
}
Re: [Question] Protection Against AMX Theft -
[MG]Dimi - 12.02.2013
Well you can always make something with
https://sampwiki.blast.hk/wiki/GetServerVarAsString
Doesn't matter will it be RCON, Bind, Port. Match it under OnGameModeInit. If it isn't same as defined in script
Re: [Question] Protection Against AMX Theft -
Maxips2 - 12.02.2013
Quote:
Originally Posted by ******
y_lock is designed to protect against amx stealing, there are always ways round it, but I did try and prevent many of them. I did also have another idea, but haven't implemented it yet.
|
But then the computer which is running the game mode would be the only one able to connect to the server, what benefit does it give? How does it work?
Re: [Question] Protection Against AMX Theft -
Ari - 12.02.2013
If they only have hold of the .amx then you could just put a check in
OnGameModeInit to see if the server IP = "your server ip" If the server is not on the specified IP then
SendRconCommand("exit");
Re: [Question] Protection Against AMX Theft -
Maxips2 - 12.02.2013
Quote:
Originally Posted by Ari
If they only have hold of the .amx then you could just put a check in OnGameModeInit to see if the server IP = "your server ip" If the server is not on the specified IP then SendRconCommand("exit");
|
There isn't a good way of getting the server's ip
Re: [Question] Protection Against AMX Theft -
Black Wolf - 12.02.2013
Quote:
Originally Posted by Maxips2
There isn't a good way of getting the server's ip
|
https://sampforum.blast.hk/showthread.php?tid=285360
wups getting server ip include works perfect.
Re: [Question] Protection Against AMX Theft -
Maxips2 - 12.02.2013
Quote:
Originally Posted by Black Wolf
|
I rather use y_lock (if I can get it to work properly), and I have already considered the option of using his include.