SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 06/03/2014, 10:59 AM   #11
Stgnature
Big Clucker
 
Join Date: May 2013
Posts: 146
Reputation: 7
Default Re: RCON HACK

Quote:
Originally Posted by Lordzô View Post
About - "rcon 0"
Your server.cfg should look like :
Code:
echo Executing Server Config...
lanmode 0
rcon_password your_awesome_password
rcon 0
About OPRL - I've already included it on my post, anyway here's the direct link:

http://forum.sa-mp.com/showthread.php?t=491835
I use this put IT still some one hacking rcon
Stgnature is offline   Reply With Quote
Old 06/03/2014, 11:16 AM   #12
KevinPRINCE
Huge Clucker
 
KevinPRINCE's Avatar
 
Join Date: Jul 2012
Location: 0xB00B
Posts: 216
Reputation: 21
Default Re: RCON HACK

Ok so disable remote rcon control, and then make a switch of player names or strings/enum where OnRconAttempt if player name is not on the list, then it bans that player.


Also ever since I updated to z I get warnings of Bad Rcon Attempt by xxx.xxx IP. Maybe it is just a text bug because I haven't opened my server yet.
__________________
Quote:
Originally Posted by KevinPRINCE
I am honest and give my credits, please do the same with me.
KevinPRINCE is offline   Reply With Quote
Old 06/03/2014, 11:26 AM   #13
Arnold_Collins
Huge Clucker
 
Arnold_Collins's Avatar
 
Join Date: Oct 2011
Location: Durres, Albania
Posts: 247
Reputation: 19
Default Re: RCON HACK

The name you will add here will be the only one who won't be banned for rcon login.

PHP Code:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(
success
    {
        new 
IP[32];
        for(new 
p=0;p<MAX_PLAYERS;p++)
        {
            
GetPlayerIp(p,IP,32);
            if(!
strcmp(ip,IP,true)) 
            {
                new 
name[24];
                
GetPlayerName(p,name,24);
                if(
strcmp(name,"YourNameInGameHere",false)) BanEx(p,"Breaking RCON Password");
            }
        }
        return 
1;
    }
    return 
1;

Arnold_Collins is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i block Ip, that is trying to hack my /rcon Moneymachine Scripting Help 2 10/11/2013 10:40 AM
[FilterScript] [FS] SCON - RCON Replacement for anti-RCON hack Lazarus Filterscripts 24 23/10/2013 11:40 AM
help , hack rcon morocco Scripting Help 6 26/05/2013 07:45 PM
[Ajuda] Anti Rcon-Hack Samantha_Holler PortuguÍs/Portuguese 17 20/07/2012 02:42 AM
RCON hack Swiftz Help Archive 1 30/05/2011 06:28 AM


All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.