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 PyLorisBasic usage
fromPyLorisimportSlowLorisSlowLorisTest=SlowLoris("your-site.com", number_of_open_socket_to_test)
SlowLorisTest.start()
#returns true or falseprint(SlowLorisTest.vulnerable)To get the number of times a socket was closed
#returns int of closed socketsprint(SlowLorisTest.closedSockets)To get the number of times a socket was responsive
#returns int of responsive socketsprint(SlowLorisTest.responsiveSockets)