Rcon Problem
#1

My server just got hacked by RCON how can i disable the rcon
Reply
#2

Quote:
Originally Posted by adelechevarria
Посмотреть сообщение
My server just got hacked by RCON how can i disable the rcon
Apparently, there is no way of disabling RCON. It's better to set a very strong password for RCON and have a custom admin system. You can check OnRconLoginAttempt and if the rcon password is correct i.e "success" then you can kick a player with a loop x)

-FalconX
Reply
#3

I've heard a lot of people have been hacked when using the LuX admin system, try staying away from that.
Reply
#4

pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(success)
    {
        new playersIP[17];
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                GetPlayerIp(i, playersIP, 17);
                if(strcmp(ip, playersIP) == 0)
                {
                    Kick(i);
                    break;
                }
            }
        }
    }

    return 1;
}
Reply
#5

can you convert that command to zcmd
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)