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

CS 1.6 Prevent exec xxx.cfg (in console) Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hasanalizxc
Senior Member
Join Date: May 2018
Old 07-29-2018 , 21:17   CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #1

Hi All,

Hope you are well. As you know there are lots of server crash exploits in internet. Therefore, i want to prevent exec a cfg from console. For ex. you put the pinghack.cfg in your cstrike folder and joined to server. Opened the console and wrote exec pinghack.cfg and it ran. I want to prevent this process. Is it possible?

If yes, could you please help me?

If no, how can i prevent my server from these attacks (hlds and reHLDS exploits, cfg attacks)?

Thanks in advance.

Kind Regards.
hasanalizxc is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-07-2018 , 19:12   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #2

The exec command executes a file on the player's local computer. You cannot prevent this from happening since the exec command is never sent to the server. Blocking things will depend on what commands are sent to the server and if anything can be done about it. Therefore, you'd have to explain exactly what you are trying to block (in a new thread since this thread is answered).
__________________
fysiks is offline
hasanalizxc
Senior Member
Join Date: May 2018
Old 08-16-2018 , 13:41   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
The exec command executes a file on the player's local computer. You cannot prevent this from happening since the exec command is never sent to the server. Blocking things will depend on what commands are sent to the server and if anything can be done about it. Therefore, you'd have to explain exactly what you are trying to block (in a new thread since this thread is answered).
I explained all things clearly. I guess you didnt read the all messages. I recommend you read again.

You said: "the exec command is never sent to the server". Put a .cfg file in your cstrike folder and run it in a server with exec command. As a result, you sent command to the server.?
hasanalizxc is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-16-2018 , 13:58   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #4

Quote:
Originally Posted by hasanalizxc View Post
I explained all things clearly. I guess you didnt read the all messages. I recommend you read again.

You said: "the exec command is never sent to the server". Put a .cfg file in your cstrike folder and run it in a server with exec command. As a result, you sent command to the server.?
You're the one who should read again. Putting a .cfg file in the SERVER and using the "exec" command in the SERVER'S CONSOLE is NOT "sending a command to the server". That's simply executing the command in the same directory where the server is located - this has nothing to do with CLIENTS using the "exec" command in the CLIENT CONSOLE - you can do that without even being connected to a server.
__________________

Last edited by OciXCrom; 08-16-2018 at 13:59.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-16-2018 , 22:14   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #5

Let's make it simpler: It's not possible to prevent a player from running the command "exec myfile.cfg".
__________________
fysiks is offline
hasanalizxc
Senior Member
Join Date: May 2018
Old 08-17-2018 , 07:23   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Let's make it simpler: It's not possible to prevent a player from running the command "exec myfile.cfg".
OK.
hasanalizxc is offline
Barlap
Senior Member
Join Date: Apr 2016
Location: Romania
Old 08-19-2018 , 04:18   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #7

I can help you with your problem, contact me on skype: stefy.alex22
Barlap is offline
Send a message via ICQ to Barlap Send a message via Skype™ to Barlap
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-19-2018 , 14:55   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #8

Quote:
Originally Posted by Barlap View Post
I can help you with your problem, contact me on skype: stefy.alex22
You can't help him because doing what he asked is not possible.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
4ever16
Veteran Member
Join Date: Apr 2015
Old 08-20-2018 , 22:44   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #9

Quote:
Originally Posted by OciXCrom View Post
You can't help him because doing what he asked is not possible.
Install this reHLDS / metamod r / Resources Checker 2.5 https://dev-cs.ru/resources/72/

Bit complicated to install and get it working but when it does its very good anti cheat and prevents people having illigal files in their cstrike and half-life folder.

It kicks or bans players if they have X.cfg X.dll X.exe or what ever file you want.
They get kicked or banned before even entering the server.

Example of small list there are bigger list just google and make your own list.

Quote:
; DemoPlayer.dll base of bad files
"../demoplayer.dll" ad6d0e43 "kick [userid] 'WallHack Detected'" BREAK
"../demoplayer.dll" cca8c33f "kick [userid] 'WallHack Detected'" BREAK
"../demoplayer.dll" 36ad16fd "kick [userid] 'NoRecoil Detected'" BREAK
"../demoplayer.dll" c599a6de "kick [userid] 'HLR Leis 10 Detected'" BREAK

; DemoPlayer.dll to ignore the original files
"../demoplayer.dll" 7ef5b581 IGNORE
"../demoplayer.dll" bdc52384 IGNORE

; DemoPlayer.dll to check unknown md5hex
"../demoplayer.dll" UNKNOWN "echo ' -> file: ([file_name]), md5hex: ([file_md5hash]) for ([name])'"

; OpenGL.dll
"../opengl32.dll" UNKNOWN "kick [userid] 'OpenGL32 Detected'" BREAK

; Leis
"../bin/TrackerUI.dll" UNKNOWN "kick [userid] 'Leis [#1] Detected'" BREAK
"../bin/standard.ini" UNKNOWN "kick [userid] 'Leis [#2] Detected'" BREAK
"../standard.ini" UNKNOWN "kick [userid] 'Leis [#3] Detected'" BREAK

; Intelligent AimBot
"../log.txt" UNKNOWN "kick [userid] 'Intelligent Detected'" BREAK

; WallHack
"../[1.6]wh2k13.dll" UNKNOWN "kick [userid] 'Simple Wallhack Detected'" BREAK
"../inFaMous GL.dll" UNKNOWN "kick [userid] 'nFaMous GL Detected'" BREAK
"../skillwall.dll" UNKNOWN "kick [userid] 'WallHack Detected'" BREAK
"../jtx.dll" UNKNOWN "kick [userid] 'WallHack Detected'" BREAK
"../jtx.asi" UNKNOWN "kick [userid] 'WallHack Detected'" BREAK
"../FPTHook.dll" UNKNOWN "kick [userid] 'WallHack Detected'" BREAK

; SSW
"../SSWv6.4.dll" UNKNOWN "kick [userid] '[SSW]WallHack Detected'" BREAK
"../sswv7.0.dll" UNKNOWN "kick [userid] '[SSW]WallHack Detected'" BREAK
"../sswv7.3_[www.unknowncheats.me]_.dll" UNKNOWN "kick [userid] '[SSW]WallHack Detected'" BREAK

; ESP
"../esp.dll" UNKNOWN "kick [userid] 'ESP Detected'" BREAK

Last edited by 4ever16; 08-20-2018 at 22:54.
4ever16 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-20-2018 , 22:57   Re: CS 1.6 Prevent exec xxx.cfg (in console) Plugin
Reply With Quote #10

And how do you magically know the name of the .cfg file?
__________________
fysiks 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 00:47.


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