https://github.com/x-croot/goloris
Slowloris rewritten in Go(Dos tool)
https://github.com/x-croot/goloris
ddos dos go golang pentest slowloris
Last synced: 8 months ago
JSON representation
Slowloris rewritten in Go(Dos tool)
- Host: GitHub
- URL: https://github.com/x-croot/goloris
- Owner: X-croot
- License: other
- Created: 2025-07-14T14:34:33.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-14T14:53:28.000Z (12 months ago)
- Last Synced: 2025-07-14T18:36:53.346Z (12 months ago)
- Topics: ddos, dos, go, golang, pentest, slowloris
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoLoris
GoLoris is a simple, effective tool written in Go for performing low-bandwidth, slow HTTP DoS (Denial of Service) attacks. It works by opening and maintaining numerous HTTP connections to the target server, periodically sending partial headers to keep the connections open.

## Features
* Written in Go: fast, efficient, cross-platform
* HTTP & HTTPS support
* Custom User-Agent file support
* Real-time connection status output
* Dynamic socket recreation if connections close
## Usage

### Build
```bash
go build -o goloris main.go
```
### Run
```bash
./goloris -host example.com -port 80 -sockets 200 -sleeptime 10 -ua-file user-agents.txt
```
### Flags
| Flag | Description | Default |
| ------------ | ----------------------------------------- | --------------- |
| `-host` | Target host (e.g. example.com) | (required) |
| `-port` | Target port | 80 |
| `-sockets` | Number of sockets to open | 150 |
| `-https` | Use HTTPS | false |
| `-sleeptime` | Time between keep-alive headers (seconds) | 15 |
| `-ua-file` | Path to User-Agent list file | user-agents.txt |
## User-Agent File
Provide a plain text file with one User-Agent string per line. These are randomly selected for each connection.
Example `user-agents.txt`:
```
Mozilla/5.0 (Windows NT 10.0; Win64; x64)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
```
## DISCLAIMER
This software is provided solely for testing, educational, and security assessment purposes.
It must only be used on systems you own or have explicit permission to test.
The author disclaims any liability for misuse or unauthorized use of this tool.