Fix some possible server attack&hacking?
#4

Quote:
Originally Posted by TopShooter
View Post
To disable the rcon password, try the following;

Use a password similar to this password: " ש א k s ד ו ז ח י"
I tried this rcon password on my server and it doesn't let anyone login to the rcon, although they copied/pasted this pass.

If it didn't work then try this snippet;

PHP Code:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(!
success)
    {
     
Kick(playerid);
     }
     return 
1;

This snippet will kick anybody who logs to the rcon.
You need a forloop OnRconLoginAttempt doesn't have a playerid parameter,also i'll advice add chances like 3/3 chances then you get kick in the case of a wrong spelling you'll get kick.
Reply


Messages In This Thread
Fix some possible server attack&hacking? - by imrobert - 01.11.2016, 14:07
Re: Fix some possible server attack&hacking? - by Sithis - 01.11.2016, 14:09
Re: Fix some possible server attack&hacking? - by imrobert - 01.11.2016, 14:22
Re: Fix some possible server attack&hacking? - by ISmokezU - 01.11.2016, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)