Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求控制标记模块post_file的问题 #78

Open
qisip opened this issue Dec 5, 2024 · 1 comment
Open

请求控制标记模块post_file的问题 #78

qisip opened this issue Dec 5, 2024 · 1 comment

Comments

@qisip
Copy link

qisip commented Dec 5, 2024

请求控制添加一条规则,规则中添加标记模块post_file,
filename(regex)值:.(php|phps|php5|php7)$
本来是想禁止上传php文件,但实际上访问url中含有.php的地址时,会提示403。
是我哪里搞错了吗?

@1265578519
Copy link

1265578519 commented Dec 5, 2024

param 模块还没修啊 只要默认目标是拒绝,那么进入匹配模块就会被拒绝,就算没有命中标记规则,这样和以前的配置文件不兼容。。

反馈过,但是不知道官方什么想法
https://bbs.itzmx.com/thread-109515-1-1.html

我发的编译教程上有红字标注
param和post_file标记模块现在要改成继续

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants