Raptor WAF v0.5 - Web Application Firewall using DFA - KitPloit - PenTest Tools for your Security Arsenal ☣
2018-09-09 20:28:29 Author: www.kitploit.com(查看原文) 阅读量:184 收藏

Raptor is a Web application firewall made in C, uses DFA to block SQL injection, Cross site scripting and path traversal.

to run:

$ git clone https://github.com/CoolerVoid/raptor_waf
$ cd raptor_waf; make; bin/raptor

#Note: Don't execute with "cd bin; ./raptor" use full path "bin/raptor" look detail https://github.com/CoolerVoid/raptor_waf/issues/4
Need lib pcre to compile.

Example
Up some HTTPd server at port 80 redirect with raptor to port 8883

$ bin/Raptor -h localhost -p 80 -r 8883 -w 4 -o loglog.txt

Copy vulnerable PHP code to your web server directory

$ cp doc/test_dfa/test.php /var/www/html

Now you can test xss attacks at http://localhost:8883/test.php
Other option to run(now with regex, look file config/regex_rules.txt to edit rules):

$ bin/Raptor -h 127.0.0.1 -p 80 -r 8883 -w 0 -o resultwaf -m pcre

Look the docs
https://github.com/CoolerVoid/raptor_waf/blob/master/doc/raptor.pdf

More: http://funguscodes.blogspot.com/

Raptor WAF v0.5 - Web Application Firewall using DFA Raptor WAF v0.5 - Web Application Firewall using DFA Reviewed by Lydecker Black on 10:37 AM Rating: 5


文章来源: https://www.kitploit.com/2018/08/raptor-waf-v05-web-application-firewall.html
如有侵权请联系:admin#unsafe.sh