Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
ichunt_lua_waf
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4f5da803
authored
Jul 20, 2022
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加ic页面验证
parent
f43e931d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
waf.lua
waf.lua
View file @
4f5da803
...
...
@@ -130,6 +130,14 @@ end
-------202209720 新增如果是ic页面,并且page大于等于50就直接拉黑 /ic/E_133.html
pageNum
,
err
=
string.match
(
temp_uri
,
"/ic/%u+_(%d+).html"
)
if
pageNum
~=
nil
and
tonumber
(
pageNum
)
>=
50
then
red
:
sadd
(
'ichunt_waf_black_ip'
,
user_ip
)
end
-------s------------------------20200923新增对用户特定URL,IP时间段内的限制-------s------------------------
--[[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment