Test websites for slow loris
Project description
PyLoris
📝 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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file PyLoris-1.0.2.tar.gz
.
File metadata
- Download URL: PyLoris-1.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd80484a3b8b9dc85e457fd95eb88bbbd0e6f119d3f00d84ac507b51ce790ab |
|
MD5 | 4ea52c915d04dd128da0c48b507ee734 |
|
BLAKE2b-256 | 0d9480bd2a1d54a5149dda35b3ab65c66344414f1ecefdbba7984e8f0d65955e |
File details
Details for the file PyLoris-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: PyLoris-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c21c6fc422e75eb6bf4318263624f9a37198596ab02ed08570f28a300b00eff4 |
|
MD5 | 41a8e32661622418b3062ca6b8ce0018 |
|
BLAKE2b-256 | 6039db96c88c91f20e42d6dc23e996f69a91bcad5461eedbd019a64ef67fe246 |