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.
For Installation With PyPI
pip install PyLoris
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)