Code Monkey home page Code Monkey logo

waf-bypass's People

Contributors

0x566164696d avatar dankegel avatar dkegel-fastly avatar jamesconlan96 avatar nort007 avatar romanov-r 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

waf-bypass's Issues

docker and python3 error

root@ubuntu20:/opt/waf-bypass# docker run nemesida/waf-bypass --host='www.dingjunkj.com'

^C

Target: http://www.dingjunkj.com

Proxy:

Timeout: 30s

Threads: 5

Block code: 403

Exclude dirs:

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

An incorrect response was received while processing request from file /opt/waf-bypass/payload/SSI/1.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/API/3.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/RCE/5.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/API/1.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/SSI/2.json in URL: 0
An error occurred while processing file /opt/waf-bypass/payload/RCE/5.json in BODY: WBHTTPConnectionPool(host='www.dingjunkj.com', port=80): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f5ffce55070>, 'Connection to www.dingjunkj.com timed out. (connect timeout=30)'))
An incorrect response was received while processing request from file /opt/waf-bypass/payload/API/2.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/SSI/5.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/RCE/22.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/NoSQLi/6.json in URL: 0
An error occurred while processing file /opt/waf-bypass/payload/RCE/22.json in COOKIE: WBHTTPConnectionPool(host='www.dingjunkj.com', port=80): Read timed out.
An incorrect response was received while processing request from file /opt/waf-bypass/payload/RCE/15.json in URL: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/NoSQLi/2.json in URL: 0
An error occurred while processing file /opt/waf-bypass/payload/RCE/15.json in ARGS: WBHTTPConnectionPool(host='www.dingjunkj.com', port=80): Read timed out.
An incorrect response was received while processing request from file /opt/waf-bypass/payload/RFI/4.json in ARGS: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/RFI/4.json in ARGS: 0
An incorrect response was received while processing request from file /opt/waf-bypass/payload/RFI/4.json in ARGS: 0

Keyboard Interrupt

Test run failed

image
Run the script according to the tutorial, and report this error directly. Has any brother Jimei encountered this error? How did you solve it?

Code exception

Hi,it was used normally a few days ago, but now it reports an error when it is used。
Error message :
error occurred while processing payload from file path\xxx.json: list index out of range�

Results meaning

Hi guys, I'm curious what is BYPASSED, PASSED etc. means in the results of the program? Can you provide a little description, please? I'm a little confused about how to interpret the results...

For the False Negative test:

  1. Does the PASSED means "Not vulnerable"? Does it mean that payloads in this column didn't triggered WAF Bypass and WAF successfully blocked the malicious request?
  2. Does the BYPASSED means "Vulnerable"? Does it mean that payloads in this column triggered WAF Bypass and WAF failed to block the malicious requests?
  3. FAILED is about Failed requests? (e.g.,cannot connect to server, incorrect response code etc.) I found it in your code, but can you confirm that?

For the False Positive test:

  1. Does the PASSED means "Not vulnerable"? Does it mean that payloads in this column didn't triggered WAF Bypass and WAF successfully blocked the malicious request?
  2. Does the FALSED means that WAF blocks the Legitimate requests and that's why it's "Vulnerable"?

By the way, your program is awesome, thanks <3

Hard to identify and replay individual failures?

After using waf-bypass, often one wants to zero in on individual failures and replay them, but it seems hard to do.

waf-bypass could make this easier in many ways.

For instance, it could output curl commands (a la https://github.com/ofw/curlify) or a json equivalent (a la https://curlconverter.com/json) for each failure case to a log file.
Alternately, it could provide a --replay option that accepts an identifier from log file and replays just that one request.

UWA/26.json is not a valid HTTP payload

The portion of URLs after # is for client-side processing and does not get sent to the server in HTTP requests. Therefore, there is no way for a WAF to block this request, as it would only receive /do.php instead of the full /do.php#.png

/do.php is not malicious in and of itself and therefore the UWA/26.json payload should not be expected to be blocked by a WAF.

I want to get detail about the payload test

I run the script and get result but have no idea how to find the payload detail. I need look into each payloads resulting to false negative to verify the test result.
Thanks

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.