Coder Social home page Coder Social logo

x-waf's People

Contributors

netxfly avatar zhangjiantftc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

x-waf's Issues

lua entry thread aborted: runtime error:

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>,

waf没有正常工作

请问一下,按照教程进行配置后,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

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"

./configure error

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?

jinghuashuiyue模式怎么使用

看了代码,当config.config_waf_model == "jinghuashuiyue"时,只是将攻击的ip写入到badGuys共享存储中,并没有做任何处理,那么,这种模式用到什么地方呢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.