xsec-lab / x-waf Goto Github PK
View Code? Open in Web Editor NEW适用于中小企业的云waf
Home Page: https://waf.xsec.io/
适用于中小企业的云waf
Home Page: https://waf.xsec.io/
rror] 16083#0: *1954 lua entry thread aborted: runtime error: /etc/nginx/x-waf/waf.lua:240: bad argument #1 to 'rulematch' (string expected, got boolean)
stack traceback:
coroutine 0:
[C]: in function 'rulematch'
/etc/nginx/x-waf/waf.lua:240: in function 'post_attack_check'
/etc/nginx/x-waf/waf.lua:272: in function 'check'
/etc/nginx/x-waf/access.lua:23: in function </etc/nginx/x-waf/access.lua:1>,
请问一下,按照教程进行配置后,sudo /usr/local/openresty/nginx/sbin/nginx -t命令提示成功,没有报错。之后启动waf,sudo /usr/local/openresty/nginx/sbin/nginx,没有报错也没有任何提示信息。
之后在当前终端输入curl http://127.0.0.1/\?id\=1%20union%20select%201,2,3 返回信息没有关于“白帽子”的相关文字,只有正常的127.0.0.1访问页面的信息。想麻烦问一下有什么解决办法吗?
variable "target" not found for writing
请问这个错误什么问题?
2018/07/09 12:32:31 [error] 28133#0: *1 lua entry thread aborted: runtime error: /usr/local/openresty/nginx/conf/x-waf/waf.lua:255: variable "target" not found for writing; maybe it is a built-in variable that is not changeable or you forgot to use "set $target '';" in the config file to define it first
stack traceback:
coroutine 0:
[C]: in function '__newindex'
/usr/local/openresty/nginx/conf/x-waf/waf.lua:255: in function 'start_jingshuishuiyue'
access_by_lua(www.test.com.conf:19):1: in function <access_by_lua(www.test.com.conf:19):1>, client: 210.14.78.174, server:www.test.com
, request: "GET / HTTP/1.1", host: "www.test.com"
Error detail info:
./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option.
ERROR: failed to run command: sh ./configure --prefix=/usr/local/openresty/nginx ...
How do I solve this?
看了代码,当config.config_waf_model == "jinghuashuiyue"时,只是将攻击的ip写入到badGuys共享存储中,并没有做任何处理,那么,这种模式用到什么地方呢
请问可以直接用于 Tengine 上面麽?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.