[Include] Script Secure ADM
#1

Hello, I would like to present include allowing us to introduce additional security for our file AMX.

Security Functions:
a) AntiDeAMX
b) ScriptSecureADM
- IP and PORT checker
- Expiration date script
- Control slots server
- Check rcon password
- Check server language
- Web ACK System

How to use ScriptSecure.inc
PHP код:
//Install
//#define DONT_ALLOW_LOCALHOST  //additional option
//#define CHECK_MAX_PLAYERS     //additional option
//#define CHECK_RCON_PASSWORD   //additional option
//#define CHECK_SERVER_LANGUAGE //additional option
#define FILE_SERVERIP           "127.0.0.1"
#define FILE_SERVERPORT         (7777)
#define FILE_LICENSEID          (20160201) //<--- YYYYMMDD 01.02.2016 (DD.MM.YYYY)
//FILE_LICENSEID - This is the expiry date of the script, if passed it will not be able to run gamemode
#define FILE_MAX_PLAYERS        (500)      //max players in server.cfg
#define FILE_RCONPASS           "123"      //rcon password
#define FILE_LANGUAGE           "English"  //server language
//Web ACK System
//#define ENABLE_WEB_ACK        //additional option (definitions below apply to this option)
//#define SCRIPT_ACK_KEY        "{BOBO_HAHA,ACCESSCONTROL,TRUE}"
//#define SCRIPT_ACK_URL        "example.com/secure_adm/index.php"
//#define SCRIPT_ANTI_FLOOD     (123)   //change this number
//#define SCRIPT_ACK_TIME       (10000) //10 second
#include <ScriptSecure>
public OnGameModeInit(){ //OR OnFilterScriptInit
    
AntiDeAMX();
    
ScriptSecureADM();
    
    return 
1;

How to use MultiScriptSecure.inc
PHP код:
//Install
//#define CHECK_MAX_PLAYERS     //additional option
//#define CHECK_RCON_PASSWORD   //additional option
//#define CHECK_SERVER_LANGUAGE //additional option
//Web ACK System
//#define ENABLE_WEB_ACK        //additional option (definitions below apply to this option)
//#define SCRIPT_ACK_KEY        "{BOBO_HAHA,ACCESSCONTROL,TRUE}"
//#define SCRIPT_ACK_URL        "example.com/secure_adm/index.php"
//#define SCRIPT_ANTI_FLOOD     (123) //change this number
//#define SCRIPT_ACK_TIME       (10000) //10 second
Add server information to ADMServerList
public OnGameModeInit(){ //OR OnFilterScriptInit
    
AntiDeAMX();
    
ScriptSecureADM();
    
    return 
1;

How to use UltimateScriptSecure.inc
PHP код:
//Install
//1. Open UltimateScriptSecure and find "User Configuration"
//2. Edit you server information.
public OnGameModeInit(){ //OR OnFilterScriptInit
    
    
if(!USS_Init()) return 0;
    
    return 
1;

Web ACK System:
PHP File for ScriptSecure.inc, MultiScriptSecure.inc, UltimateScriptSecure.inc

If you want to use the authorization by the website follow the steps:
1. Edit /secure_adm/index.php
PHP код:
$ANTI_FLOOD '123'//the same as SCRIPT_ANTI_FLOOD
$ACK_TRUE =   '{BOBO_HAHA,ACCESSCONTROL,TRUE}'//the same as SCRIPT_ACK_KEY
$ACK_FALSE =  'Fuck you thief :P'//anything 
2. Edit /secure_adm/Server.txt
PHP код:
//add IP:PORT your server, example:
127.0.0.1:7777
127.0.0.1
:7778 
Error List:
PHP код:
[ADMInfoLocal server detect.
[
ADMErrorThis script is stolen.
[
ADMErrorScript license has expired.
[
ADMErrorInvalid server configcheck your max players.
[
ADMErrorInvalid server configcheck your rcon password.
[
ADMErrorInvalid server configcheck your language.
[
ADMErrorThe script did not get permission to activation
What should I choose ?
ScriptSecure.inc - For one server configuration.
MultiScriptSecure.inc - For many server configurations.
UltimateScriptSecure.inc - The same as above but more advanced options.

Download:
UltimateScriptSecure.inc (v5.0.0)
MultiScriptSecure.inc (v4.0.1)
ScriptSecure.inc (v4.0.1)
Web ACK System


Notice:
Posts can be made available in a other language forums, please remember to keep the author and permanent link to file on github and a link to post in forum samp.


Non-Registered Users:
Bug Report
Reply


Messages In This Thread
Script Secure ADM - by AbyssMorgan - 07.02.2016, 18:01
Re: Script Secure ADM - by Gammix - 07.02.2016, 18:14
Re: Script Secure ADM - by AbyssMorgan - 07.02.2016, 18:37
Re: Script Secure ADM - by Gammix - 07.02.2016, 19:52
Re: Script Secure ADM - by Spmn - 07.02.2016, 20:24
Re: Script Secure ADM - by AbyssMorgan - 08.02.2016, 13:37
Re: Script Secure ADM - by JustMe.77 - 08.02.2016, 15:22
Re: Script Secure ADM - by AbyssMorgan - 08.02.2016, 15:26
Re: Script Secure ADM - by AbyssMorgan - 08.02.2016, 15:53
Re: Script Secure ADM - by AbyssMorgan - 25.06.2016, 05:48
Re: Script Secure ADM - by JustMe.77 - 04.07.2016, 11:44
Re: Script Secure ADM - by AbyssMorgan - 04.07.2016, 11:47
Re: Script Secure ADM - by AbyssMorgan - 01.02.2017, 12:53
Re: Script Secure ADM - by Bolex_ - 01.02.2017, 13:51
Re: Script Secure ADM - by OneDay - 01.02.2017, 22:42
Re: Script Secure ADM - by JustMe.77 - 12.02.2017, 14:36

Forum Jump:


Users browsing this thread: 3 Guest(s)