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

messagemode not working after update


Post New Thread Reply   
 
Thread Tools Display Modes
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-21-2019 , 19:17   Re: messagemode not working after update
Reply With Quote #11

@HamletEagle

Yes, i never used even for a ban menu anyway.
Also i already have been seen such infected servers in action.

About Re-HLDS can be infected or how is going the updates of the server?

Ps. I really know what messagemode does for ban menus, but:

1. Register /ban <reason> command in say / say_team
2. When select an option in menu, reason is already in a variable.

Anyway any update is welcome too.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 03-21-2019 at 19:18.
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-21-2019 , 21:03   Re: messagemode not working after update
Reply With Quote #12

Quote:
Originally Posted by ^SmileY View Post
About Re-HLDS can be infected or how is going the updates of the server?
The vulnerability mentioned in the article is in the client, not the server. If there is some patch for the server too then it's not as important as the client and is the reason why you only download this stuff from the official source (aka Valve) which is one reason to not use ReHLDS.
__________________
fysiks is offline
Solokiller
Senior Member
Join Date: Sep 2015
Old 03-22-2019 , 08:32   Re: messagemode not working after update
Reply With Quote #13

The messagemode and messagemode2 commands were explicitly flagged as privileged. You're not getting those back because they're part of an attack vector for exploits.
Solokiller is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-22-2019 , 10:15   Re: messagemode not working after update
Reply With Quote #14

It's not the end of the world, not sure why people are so worried.
__________________








CrazY. is offline
wOOw
Member
Join Date: Jul 2015
Location: Lithuania
Old 03-22-2019 , 15:43   Re: messagemode not working after update
Reply With Quote #15

Seems like messagemode is working again after new Update ( 2019-03-22 )
__________________
wOOw is offline
Solokiller
Senior Member
Join Date: Sep 2015
Old 03-22-2019 , 15:50   Re: messagemode not working after update
Reply With Quote #16

The messagemode and messagemode2 commands are now no longer marked as privileged.
Solokiller is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 03-22-2019 , 16:08   Re: messagemode not working after update
Reply With Quote #17

Quote:
Originally Posted by Solokiller View Post
The messagemode and messagemode2 commands are now no longer marked as privileged.
Do you know which commands are marked as privileged?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Solokiller
Senior Member
Join Date: Sep 2015
Old 03-23-2019 , 08:02   Re: messagemode not working after update
Reply With Quote #18

Quote:
Originally Posted by meTaLiCroSS View Post
Do you know which commands are marked as privileged?
Unfortunately there is no complete list, but you can query the engine's cvar and command functions lists to check for the flags.

For cvars flag 1024 indicates that it is privileged.
Flag 2048 indicates that it is a cl_filterstuffcmd privileged cvar, meaning if cl_filterstuffcmd is turned on it will act as a privileged cvar, but will otherwise be treated as a normal cvar.

For commands flag 8 indicates that it is privileged.
Flag 16 indicates that it is a cl_filterstuffcmd privileged command, which works the same way cvars do.

messagemode and messagemode2 are no longer privileged, but using the commands will mark the resulting message type as privileged depending on whether the command that set the type was privileged or not.
Solokiller is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-24-2019 , 10:01   Re: messagemode not working after update
Reply With Quote #19

Quote:
Originally Posted by Solokiller View Post
Unfortunately there is no complete list, but you can query the engine's cvar and command functions lists to check for the flags.

For cvars flag 1024 indicates that it is privileged.
Flag 2048 indicates that it is a cl_filterstuffcmd privileged cvar, meaning if cl_filterstuffcmd is turned on it will act as a privileged cvar, but will otherwise be treated as a normal cvar.

For commands flag 8 indicates that it is privileged.
Flag 16 indicates that it is a cl_filterstuffcmd privileged command, which works the same way cvars do.

messagemode and messagemode2 are no longer privileged, but using the commands will mark the resulting message type as privileged depending on whether the command that set the type was privileged or not.
Do you mind explaining what the difference between a privileged and unprivileged CVAR is?
__________________
edon1337 is offline
Solokiller
Senior Member
Join Date: Sep 2015
Old 03-24-2019 , 10:30   Re: messagemode not working after update
Reply With Quote #20

Privileged cvars and commands should only be executed by the client, unprivileged ones can be executed by the remote server as well as the client. In practice it's a bit different since they bolted this on 20 years after the fact, so some commands will be treated differently.

For example for TFC only the server can execute exec commands, exec itself is privileged and will execute as a filtered command but the commands parsed from cfg files will be executed as regular commands. This causes another bug: https://github.com/ValveSoftware/halflife/issues/2112
Solokiller is offline
Reply



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 15:38.


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