Raised This Month: $ Target: $400
 0% 

[CSS] is there any security risks with having sv_cheats on?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
D.Moder
I uploaded 2 great gameplay plugins here
Join Date: Sep 2009
Location: Sin city
Old 04-14-2015 , 02:33   [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #1

I've come across few posts saying that,
and the mod I recently uploaded requires sv_cheats to be on.
And I don't know if I should remove some features of the plugin or what!
is it very uncommon everywhere? like no body has it on?
__________________
Creator of COD-Life (Half COD, Half Life)
https://forums.alliedmods.net/showthread.php?t=261162
twitter: @D_Moder_61216
D.Moder is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-14-2015 , 02:45   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #2

yes its bad, people can control other people and change their option settings on the keyboard by writing commands into the clients autoexec

like barely touching you're mouse and you spin like 10 360's in 1 second for example. setting yaw speeds etc.
ent_fire is powerfull. just write ent_fire player ignite
and all players in the server would burn.
and you can also put wall hacks on during this.

you can add sourcemod anti cheat doe, SMAC* it will block most most cheats but it wont block for example the wallhack.

so yeah its worst idea you could think off unless you want idiots who would join ur server only to mess it up.

Last edited by Robin955; 04-14-2015 at 02:46.
Robin955 is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 04-14-2015 , 03:41   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #3

What plugin is requiring SV_Cheats to be set?
necavi is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-14-2015 , 04:38   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #4

Quote:
Originally Posted by necavi View Post
What plugin is requiring SV_Cheats to be set?
look at hes signature. and i do know of some but they turn them on then off exacly in the moment its required.

Last edited by Robin955; 04-14-2015 at 05:56.
Robin955 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-14-2015 , 09:25   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #5

Quote:
Originally Posted by Robin955 View Post
yes its bad, people can control other people and change their option settings on the keyboard by writing commands into the clients autoexec

like barely touching you're mouse and you spin like 10 360's in 1 second for example. setting yaw speeds etc.
ent_fire is powerfull. just write ent_fire player ignite
and all players in the server would burn.
and you can also put wall hacks on during this.

you can add sourcemod anti cheat doe, SMAC* it will block most most cheats but it wont block for example the wallhack.

so yeah its worst idea you could think off unless you want idiots who would join ur server only to mess it up.
Most of which was patched so the server cant even do that to players.
Mitchell is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 04-14-2015 , 11:12   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #6

You can strip the cheat flag from commands temporarily in order to run them with sv_cheats 0 if need be.
necavi is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-14-2015 , 11:35   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #7

Quote:
Originally Posted by necavi View Post
You can strip the cheat flag from commands temporarily in order to run them with sv_cheats 0 if need be.
Yes, and this is a pretty common thing to do.

I know Freak Fortress 2 does it with a few cvars.

Just make sure to change it back as soon as you've changed the cvar. This is regardless of when you're going to change the cvar value again. Otherwise, you may end up with a race condition between multiple plugins.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-14-2015 at 11:36.
Powerlord is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 04-14-2015 , 14:15   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #8

PHP Code:
int flags GetCommandFlags("give");
SetCommandFlags("give"flags & ~FCVAR_CHEATS);
ClientCommand(client"give weapon_knife");
SetCommandFlags("give"flags); 
Basically how to do it.
necavi is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 04-15-2015 , 00:48   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #9

Quote:
Originally Posted by Mitchell View Post
Most of which was patched so the server cant even do that to players.
yeah but there is still things untouched

this is really old school for me but i know alot that still works. not that i really use this but tested it on my server without SMAC.
Robin955 is offline
D.Moder
I uploaded 2 great gameplay plugins here
Join Date: Sep 2009
Location: Sin city
Old 04-17-2015 , 03:20   Re: [CSS] is there any security risks with having sv_cheats on?
Reply With Quote #10

Updated my plugin, and removed need for sv_cheats
__________________
Creator of COD-Life (Half COD, Half Life)
https://forums.alliedmods.net/showthread.php?t=261162
twitter: @D_Moder_61216
D.Moder 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 22:34.


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