Raised This Month: $51 Target: $400
 12% 

[Release] Anti "cmd dlfile" Plugin [Open Source]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rulzy
Junior Member
Join Date: May 2007
Old 06-13-2010 , 01:47   [Release] Anti "cmd dlfile" Plugin [Open Source]
Reply With Quote #1

Anti "cmd dlfile" Plugin


When cvar sv_allowdownload is 1, player can use command like "cmd dlfile maps/de_dust2.bsp" in console to attack server.
This plugin can fix this bug.

NOTE: A new update is rewritten by Arkshine, thanks for him. Your can download it from:
http://forums.alliedmods.net/showthread.php?p=1505950#post1505950

And say sorry to all, I am have no time to update this plugin.

1. Requirement
metamod v1.19

2. Installation Steps
(1) Create new folder "{MODDIR}/addons/antidlfile";
(2) Copy file "antidlfile.dll" or "antidlfile_i386.so" to folder "{MODDIR}/addons/antidlfile";
(3) Add a new line in "{MODDIR}/addons/metamod/plugins.ini" (Windows):
Code:
win32 addons/antidlfile/antidlfile.dll
or (Linux)
Code:
linux addons/antidlfile/antidlfile_i386.so
(4) Restart your server. If you see "[ANTI-DLFILE] Patch "cmd dlfile" successful!" in server console, it means the patch is applied.


3. Change Logs

v1.4 2010-10-18
(1) Add cvar "antidlfile_enable" to control antidlfile on or off.
(2) Improve the anti-dlfile capabilities.

v1.3 2010-06-17
Add linux version.

v1.2 2010-06-16
(1) Rewritten using C++ language (the original is written in Delphi).
(2) Do not blocked "cmd dlfile !MD5..." command(This command should be used to download custom.hpk file).

v1.1 2010-06-12
(1) Support Listen Server & Dedicated Server;
(2) Do not kick player yet, just blocked the "cmd dlfile" command.

v1.0 2010-06-08
First release.


Author: Rulzy
Website: China DT Club (http://www.dt-club.net/)



防 cmd dlfile 攻击补丁

当参数 sv_allowdownload 为 1 时,玩家可以通过在控制台输入类似如下命令 "cmd dlfile maps/de_dust2.bsp" 攻击服务器。
这个插件可以修复此BUG。

说明:Arkshine已经重写了一个新版本,在此对他表示感谢。你可以从下面这个链接下载新版 本:
http://forums.alliedmods.net/showthread.php?p=1505950#post1505950

同里在此对大家说声抱歉,我没有时间更新此插件。


一、需求
metamod v1.19

二、安装方法
1、新建目录“{MODDIR}/addons/antidlfile”。
2、将文件“antidlfile.dll”(Windows)或“antidlfile_i3 86.so”(Linux)复制到目录“{MODDIR}/addons/antidlfile”。
3、在“{MODDIR}/addons/metamod/plugins.ini”中增加一行(Windows):
Code:
win32 addons/antidlfile/antidlfile.dll
或(Linux)
Code:
linux addons/antidlfile/antidlfile_i386.so
4、重启你的CS服务器。如果启动时在服务器控制台看到“[ANTI-DLFILE] Patch "cmd dlfile" successful!”,则表示补丁应用成功。


三、更新记录

v1.4 2010-10-18
1、增加参数 antidlfile_enable 来允许打开或关闭防炸功能。
2、完善防炸功能。

v1.3 2010-06-17
增加 linux 版本.

v1.2 2010-6-16
1、用 C++ 语言重写(原来是用 Delphi 语言写的)。
2、允许使用“cmd dlfile !MD5...”命令(此命令应该是用于下载 custom.hpk 文件的)。

v1.1 2010-06-12
1、同时支持单机建主(Listen Server)和专用服务器(Dedicated Server)。
2、不再踢出玩家,仅过滤掉“cmd dlfile”命令。

v1.0 2010-06-08
第一次发布


作者:Rulzy
网站:中国点通论坛 (http://www.dt-club.net/)
Attached Files
File Type: zip antidlfile-1.4.zip (59.4 KB, 2915734 views)

Last edited by Rulzy; 07-16-2011 at 01:12.
Rulzy is offline
marianow
Senior Member
Join Date: Sep 2009
Location: in your mom pussy
Old 06-13-2010 , 03:37   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin [Open Source]
Reply With Quote #2

good job !
i know this bug, i hate the lammerssssssssss

.so file?
marianow is offline
TSuNaMi_
BANNED
Join Date: Jan 2009
Location: After 2018 World
Old 06-13-2010 , 13:34   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin [Open Source]
Reply With Quote #3

heyy this is perfect but i need linux version. Can you compile linux so file ?
TSuNaMi_ is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-13-2010 , 20:23   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin [Open Source]
Reply With Quote #4

What language is your code in?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
wsg900
Junior Member
Join Date: Dec 2009
Old 06-14-2010 , 02:35   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin [Open Source]
Reply With Quote #5

哈哈,在这里也发布了啊,DT~~~~~~~
wsg900 is offline
Rulzy
Junior Member
Join Date: May 2007
Old 06-14-2010 , 05:01   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin [Open Source]
Reply With Quote #6

Quote:
Originally Posted by YamiKaitou View Post
What language is your code in?
Delphi.

Quote:
Originally Posted by marianow View Post
.so file?
Quote:
Originally Posted by TSuNaMi_ View Post
heyy this is perfect but i need linux version. Can you compile linux so file ?
I am rewriting the plugin in C++ language. Please wait.

Last edited by Rulzy; 06-14-2010 at 05:04.
Rulzy is offline
TSuNaMi_
BANNED
Join Date: Jan 2009
Location: After 2018 World
Old 06-14-2010 , 05:55   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin [Open Source]
Reply With Quote #7

thanks rulyzy we wait
TSuNaMi_ is offline
Rulzy
Junior Member
Join Date: May 2007
Old 06-16-2010 , 04:27   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin V1.2 [Open Source]
Reply With Quote #8

V1.2 release.

The linux version is not completed.
Rulzy is offline
TSuNaMi_
BANNED
Join Date: Jan 2009
Location: After 2018 World
Old 06-16-2010 , 09:23   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin V1.2 [Open Source]
Reply With Quote #9

Quote:
Originally Posted by Rulzy View Post
V1.2 release.

The linux version is not completed.
we wait it thanks =)

also you block servercmd dlfile commans pls.
TSuNaMi_ is offline
marianow
Senior Member
Join Date: Sep 2009
Location: in your mom pussy
Old 06-16-2010 , 12:53   Re: [Release] CS 1.5 Anti "cmd dlfile" Plugin V1.2 [Open Source]
Reply With Quote #10

waiting^!^!^!^!
marianow 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 16:52.


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