Skip to content

A simple tool to test rate limiting on your web application firewall.

License

Notifications You must be signed in to change notification settings

GlennFrye/rate_limit_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rate_limit_tester

A simple tool to test rate limiting of a WAF (web application firewall).

Feedback and pull requests are always welcomed!

Installation

Assuming you already have Python 3 installed, simply clone the repo and run pip install -r requirements.txt to install dependencies.

Usage

usage: rate_limit_tester.py [-h] -u URL -a ATTEMPTS [-b BATCH_SIZE]

A handy script to test rate limiting on your web application firewall.

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     destination URL to be tested, must be HTTP or HTTPS
  -a ATTEMPTS, --attempts ATTEMPTS
                        total number of requests to be sent, must be evenly divisible by batch size
  -b BATCH_SIZE, --batch-size BATCH_SIZE
                        default 100, specifies maximum concurrent requests for multithreading, must be less than or equal to attempts, and
                        must be a factor of attempts

TODOs

There are some TODOs in the code where things can be improved or made more flexible. In addition to that, it would be nice to package this up into a macOS and/or Linux executable so folks aren't forced to install Python, perhaps using PyInstaller.

License

See LICENSE file.

Author

Glenn Frye - I enjoy being at the intersection of security and engineering :-)

Feel free to reach out to me via LinkedIn or email.

About

A simple tool to test rate limiting on your web application firewall.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages