Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yoloftw/pyloris
A tool for testing if a website is vulnerable to slow loris attacks
https://github.com/yoloftw/pyloris
python security-tools slowloris slowloris-attack
Last synced: 3 months ago
JSON representation
A tool for testing if a website is vulnerable to slow loris attacks
- Host: GitHub
- URL: https://github.com/yoloftw/pyloris
- Owner: YoloFTW
- License: mit
- Created: 2022-09-28T00:36:02.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-02T23:32:34.000Z (over 2 years ago)
- Last Synced: 2024-10-07T18:47:01.888Z (3 months ago)
- Topics: python, security-tools, slowloris, slowloris-attack
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
PyLoris
[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![GitHub Issues](https://img.shields.io/github/issues/YoloFTW/pylorris.svg)](https://github.com/YoloFTW/pylorris/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/YoloFTW/pylorris.svg)](https://github.com/YoloFTW/pylorris/pulls)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)---
## 📝 Table of Contents
- [About](#about)
- [Usage](#usage)
- [Authors](#authors)
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
```sh
pip install PyLoris
```Basic usage
```python
from PyLoris import SlowLorisSlowLorisTest = 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
```python
#returns int of closed sockets
print(SlowLorisTest.closedSockets)
```To get the number of times a socket was responsive
```python
#returns int of responsive sockets
print(SlowLorisTest.responsiveSockets)
```- [@YoloFTW](https://github.com/YoloFTW)