0
的基本要求是,我需要找到NAXSI Web应用防火墙的白名单的BasicRule
的|
发生检查是否出现|在一个复杂的字符串
BasicRule wl:1015 "mz:$URL:/js/));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,|URL";
是因为在$URL
正则表达式||
无效规则
BasicRule wl:1015 "mz:$URL:/js/));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize(Nt._default=[1,|URL";
有效
NAXSI白名单的语法如https://github.com/nbs-system/naxsi/wiki/whitelists所述
有什么简单的方法来检查,如果在egrep
/sed
/awk
/perl
/python
此条件匹配,例如