Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)

## 🧐 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

```sh
pip install PyLoris
```

## 🎈 Usage

Basic usage

```python
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

```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)
```

## ✍️ Authors

- [@YoloFTW](https://github.com/YoloFTW)