Skip to main content

Test websites for slow loris

Project description

PyLoris

Status

GitHub Issues

GitHub Pull Requests

License


📝 Table of Contents


🧐 About

PyLoris is a tool for testing if a website is vulnerable to attacks that implement filling the target webservers maximum concurrent connection pool to try and deny additional

connection attempts from clients.


Installing

For Installation With PyPI

pip install PyLoris

🎈 Usage

Basic usage

from PyLoris import SlowLoris



SlowLorisTest = SlowLoris("your-site.com", number_of_open_socket_to_test)



SlowLorisTest.start()



#returns true or false

print(SlowLorisTest.vulnerable)

To get the number of times a socket was closed

#returns int of closed sockets

print(SlowLorisTest.closedSockets)

To get the number of times a socket was responsive

#returns int of responsive sockets

print(SlowLorisTest.responsiveSockets)

✍️ Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyLoris-1.0.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

PyLoris-1.0.2-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page