Automatic RCON Password Changer
#5

Quote:
Originally Posted by » Pawnst★r «
This is good for several reasons:
  • Very easy to understand
  • Extremely useful. I cannot stress enough, the positive impact on security a random RCON password can have.
  • Simple but effective
Good job.

One question, say I wanted to add a command so that I could check what the current RCON password is, how would that be done .. store it in a variable?
Thank you.

I created a command, I define RconPass in no callbacks though, so you'll want to do that, like this:
pawn Код:
zcmd(getrc, playerid, params[])
{
    #pragma unused params
    if(pStats[playerid][pAdmin] >= 5)
    {
      new string[128];
      format(string, sizeof(string), "Latest RCON password: %d.", RconPass);
      SendClientMessage(playerid, COLOR_WHITE, string);
      SendClientMessage(playerid, COLOR_ADMINCMD, "The password is updated every PayDay.");
    }
    return 1;
}
Obviously alter bits..

Quote:
Originally Posted by Mo3
Good job Calgon,

youґre one of the pro scripters here for me (because you help me sometimes )

Keep it up. I will probably use your code.
Thank you.

Quote:
Originally Posted by Pandabeer1337
Nice job, but maybe a release for 0.3, if someone's trying to crack the rcon password, than change it. But this one is good too
Still, works just as good. You can still use plugins to prevent spammed RCON login attempts in conjunction with this.
Reply


Messages In This Thread
Automatic RCON Password Changer - by Calgon - 17.09.2009, 14:45
Re: Automatic RCON Password Changer - by ded - 17.09.2009, 17:18
Re: Automatic RCON Password Changer - by Striker_Moe - 17.09.2009, 17:30
Re: Automatic RCON Password Changer - by Think - 17.09.2009, 17:53
Re: Automatic RCON Password Changer - by Calgon - 17.09.2009, 17:57
Re: Automatic RCON Password Changer - by [Ask]Terminator - 17.09.2009, 18:16
Re: Automatic RCON Password Changer - by mihais17 - 17.09.2009, 18:27
Re: Automatic RCON Password Changer - by Calgon - 17.09.2009, 18:33
Re: Automatic RCON Password Changer - by xCoder - 17.09.2009, 19:07
Re: Automatic RCON Password Changer - by darkrider366 - 17.09.2009, 21:45

Forum Jump:


Users browsing this thread: 1 Guest(s)