- 博客(10)
- 资源 (1)
- 收藏
- 关注
翻译 modsecurity系列五:白名单
Whitelisting mechanicsWhitelisting rules need to be executed before all your other detection rules, which means they should always follow your configuration and system rules. It is a good idea to ha
2016-04-26 14:45:29 2340
翻译 modsecurity系列四:规则实战2
Unconditional rules无条件规则The actions you specify in a SecRule execute when a match occurs, but you can use the SecAction directive to do something unconditionally. This directive accepts only one p
2016-04-25 18:22:39 3448
翻译 modsecurity系列四:规则实战1
Introducing simple rules and operators介绍简单的规则和操作The simplest possible rule will specify only a variable and a regular expression. In the example that follows, we look at the request URI, trying to
2016-04-22 17:16:08 2062
原创 正则表达式学习一
1、匹配数字123-123-1234 匹配:[0-9] 匹配0-9任意数字[0,1,3] 只匹配0,1,3三个数字[0-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9]简写模式:\d 代表0-9任意数字\d \d \d -\d \d \d -\d \d \d \d 和上面效果一样可以用\D来匹配任意非数字字符\d
2016-04-21 18:24:25 511
翻译 modsecurity系列三:规则3-Actions
ActionsActions make ModSecurity tick. They make it possible to react to events and, more importantly,they are the glue that hold everything else together and make the advanced features possible. T
2016-04-20 16:25:35 1331
翻译 modsecurity系列三:规则2-Operators
OperatorsIn the examples so far the assumption was that we are always going to use regular pattern matching against input. While regular expressions are very useful, there are often times when you w
2016-04-20 11:58:11 989
翻译 modsecurity系列三:规则1-Variables
The Rule Language is implemented using 9 directives规则语言如下:SecAction Performs an unconditional action. This directive is essentially a rule that alwaysmatches.SecDefaultAction Specifies the def
2016-04-19 18:51:08 1216
翻译 modsecurity系列二:主文件配置
Main configuration directives主要的有如下几个:SecArgumentSeparator Sets the application/x-www-form-urlencoded parameter separatorSecCookieFormat Sets the cookie parser versionSecDataDir Sets the folde
2016-04-19 15:03:10 1101
翻译 modsecurity系列一:简介
SecRule VARIABLES OPERATOR ACTIONSThe three parts have the following meanings:1. The VARIABLES part tells ModSecurity where to look. The ARGS variable, used in theexample, means all request para
2016-04-18 17:40:19 1962
转载 unix K&R编码风格
Chinese translated version of Documentation/CodingStyleIf you have any comment or update to the content, please post to LKML directly.However, if you have problem communicating in English you
2016-04-11 14:07:09 1381
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人