Jump to content

Question

Posted

De cateva zile cineva incearca sa imi sparga rconul. (apare in server_log) Se pare ca acesta incearca de cel putin 8 ori pe secunda sa bage parola la rcon dar o greseste. Am incercat sa-i dau ban pe ip si degeaba are invulnerabilitate la asa ceva. Ce pot face? (inafara faptului ca imi creeaza lag facand asta). Vazand asta eu schimb parola la RCON zilnic aproape. Stie cineva cum il pot opri?

4 answers to this question

Recommended Posts

Posted

Un CallBack care te va ajuta

[pawn]public OnRconLoginAttempt(ip[], password[], success)

{

    new string[256], nume[MAX_PLAYER_NAME];

    if(!success)

    {

        new pip[16];

        for(new i=0; i<MAX_PLAYERS; i++)

        {

            GetPlayerIp(i, pip, sizeof(pip));

            if(!strcmp(ip, pip, true))

            {

                GetPlayerName(i, nume, sizeof(nume));

                format(string, sizeof(string), " %s a a primit Kick. Motiv: RCON gresit! Ip: %d",nume,pip);

                SendClientMessageToAll(0xFFFFFFFF, string);

                printf(string);

                SendClientMessage(i, 0xFFFFFFFF, "Parola Gresit. PA!");

                KickWithMessage(playerid, string);

            }

        }

    }

    return 1;

}

forward KickPublic(playerid);

public KickPublic(playerid) { Kick(playerid); }

stock KickWithMessage(playerid, message[])

{

    SendClientMessage(playerid, 0xFF4444FF, message);

    SetTimerEx("KickPublic", 1000, 0, "d", playerid);

}[/pawn]

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

Sau mai simplu ia din LuxAdmin acel sistem cu 2 parole de rcon pe 1 o afla pe a doua nu cred.

De ce a 2 parola este in script aia nu se poate afla !

I'm back bitches.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.