Giter Site home page Giter Site logo

edwardvillarin07 / raptor_waf-raptor_v06.2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.35 MB

Raptor is a web application firewall written in C that uses DFA to block SQL injection, cross site scripting, and path traversals.

License: GNU General Public License v2.0

Makefile 0.94% C 99.06%

raptor_waf-raptor_v06.2's Introduction

Alt text

raptor_waf

Raptor is a Web application firewall made in C, uses DFA to block SQL injection, Cross-site scripting, and path traversal. http://funguscodes.blogspot.com.br/

THis is PoC version

Alt text

to follow these commands:

$ 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 CoolerVoid/raptor_waf#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 webserver 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

Check sec test

Alt text

Look at the docs

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

Please look at this other WAF, if you need more performance and no race conditions https://github.com/CoolerVoid/OctopusWAF

raptor_waf-raptor_v06.2's People

Contributors

edwardvillarin07 avatar

Stargazers

 avatar

Watchers

 avatar

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.