Raised This Month: $32 Target: $400
 8% 

Rcon Password Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Technical/Development       
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-11-2020 , 05:53   Rcon Password Protection
Reply With Quote #1

RCON PASSWORD PROTECTION 1.0

Description
With this plugin you can protect Rcon Password from your server.


Requirements
AmxModX 1.9.0+ is required for this.


Installation
  1. Download the compiled binaries from this post.
  2. Put anti_rcon_changer.amxx in addons/amxmodx/plugins
  3. Go to addons/amxmodx/configs/, open plugins.ini and add anti_rcon_changer.amxx
  4. Change the map or restart the server and you're good to go

Servers using this plugin

Gametracker

For any question, request or problem, just ask.
Attached Files
File Type: sma Get Plugin or Get Source (anti_rcon_changer.sma - 218 views - 844 Bytes)
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 09-15-2020 at 03:20.
Shadows Adi is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 09-11-2020 , 06:02   Re: Rcon Changer Protection
Reply With Quote #2

What is the point of this? Follow rcon guidelines to make it secure (long lengthy password with characters, or don't share it with anyone else) otherwise don't put an rcon password at all if its an issue.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-11-2020 , 06:21   Re: Rcon Changer Protection
Reply With Quote #3

Quote:
Originally Posted by DruGzOG View Post
What is the point of this? Follow rcon guidelines to make it secure (long lengthy password with characters, or don't share it with anyone else) otherwise don't put an rcon password at all if its an issue.
1. Some of us are still using HLSW which needs a rcon password to work.
2. This is a cvar, so it can be changed anytime using amx_cvar command and break the server.
3. Not anyone knows how to handle this, so here we go
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 09-11-2020 , 07:43   Re: Rcon Password Protection
Reply With Quote #4

Everyone thinks everything is PROTECT RCON PW, stop it.

There is such a thing as server.cfg
rcon_password ""
Leave blank and that's it
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-11-2020 , 08:24   Re: Rcon Changer Protection
Reply With Quote #5

Quote:
Originally Posted by Fuck For Fun View Post
There is such a thing as server.cfg
rcon_password ""
Leave blank and that's it
Quote:
Originally Posted by Shadows Adi View Post
2. This is a cvar, so it can be changed anytime using amx_cvar command and break the server.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-11-2020 , 09:56   Re: Rcon Password Protection
Reply With Quote #6

  • Under requirements put in something about what version of AMXX is needed please.
  • Given script is made for Amxx 1.9+ per hook_cvar_change, it's unnecessary.

Tested block of Amxx 1.8.2+ code without risk of infinite recursion.
Code:
#include amxmodx public client_command(id) {     new buffer[8];     read_args(buffer,sizeof(buffer))     if (containi(buffer,"rcon") > -1)         return PLUGIN_HANDLED_MAIN;     return PLUGIN_CONTINUE; }

This snip stops the command as opposed to letting it happen and change it back again. Thought you might be able to use it.
__________________

Last edited by DJEarthQuake; 09-11-2020 at 10:31. Reason: Sentence structure.
DJEarthQuake is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-11-2020 , 10:41   Re: Rcon Password Protection
Reply With Quote #7

Quote:
Originally Posted by DJEarthQuake View Post
[LIST][*]Under requirements put in something about what version of AMXX is needed please.
Added. I compiled this script under 1.8.3 5201-dev.

About your script, yea it's good to know.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-11-2020 , 11:10   Re: Rcon Password Protection
Reply With Quote #8

Updated the script, forgot to add the string for log.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-12-2020 , 00:12   Re: Rcon Changer Protection
Reply With Quote #9

  1. Only admins with rcon access can change it with amx_cvar.
  2. If you have rcon access, it's very easy to bypass this plugin.
  3. 1.8.3 is not a 'valid' version of AMX Mod X. If you can't compile it with 1.8.2 (meaning you need a feature or bug fix in a newer version), you should compile it against the latest release candidate 1.9.0.
__________________

Last edited by fysiks; 09-12-2020 at 00:14.
fysiks is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-30-2021 , 05:37   Re: Rcon Changer Protection
Reply With Quote #10

Quote:
Originally Posted by Shadows Adi View Post
1. Some of us are still using HLSW which needs a rcon password to work.
2. This is a cvar, so it can be changed anytime using amx_cvar command and break the server.
3. Not anyone knows how to handle this, so here we go
rcon cvar can only be changed by admins with rcon access. The solution: do not give rcon access to people you do not trust, it's that simple.
__________________
HamletEagle is offline
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

Forum Jump


All times are GMT -4. The time now is 14:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode