slowloris

Low bandwidth DoS tool. Slowloris rewrite in Python.

https://github.com/gkbrk/slowloris

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

dos dos-attack penetration-testing pentesting slowloris
Last synced: 6 months ago · JSON representation

Repository

Low bandwidth DoS tool. Slowloris rewrite in Python.

Basic Info
  • Host: GitHub
  • Owner: gkbrk
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 24.4 KB
Statistics
  • Stars: 2,625
  • Watchers: 70
  • Forks: 722
  • Open Issues: 15
  • Releases: 0
Topics
dos dos-attack penetration-testing pentesting slowloris
Created almost 11 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

slowloris.py - Simple slowloris in Python

What is Slowloris?

Slowloris is basically an HTTP Denial of Service attack that affects threaded servers. It works like this:

  1. We start making lots of HTTP requests.
  2. We send headers periodically (every ~15 seconds) to keep the connections open.
  3. We never close the connection unless the server does so. If the server closes a connection, we create a new one keep doing the same thing.

This exhausts the servers thread pool and the server can't reply to other people.

Citation

If you found this work useful, please cite it as

bibtex @article{gkbrkslowloris, title = "Slowloris", author = "Gokberk Yaltirakli", journal = "github.com", year = "2015", url = "https://github.com/gkbrk/slowloris" }

How to install and run?

You can clone the git repo or install using pip. Here's how you run it.

  • sudo pip3 install slowloris
  • slowloris example.com

That's all it takes to install and run slowloris.py.

If you want to clone using git instead of pip, here's how you do it.

  • git clone https://github.com/gkbrk/slowloris.git
  • cd slowloris
  • python3 slowloris.py example.com

SOCKS5 proxy support

However, if you plan on using the -x option in order to use a SOCKS5 proxy for connecting instead of a direct connection over your IP address, you will need to install the PySocks library (or any other implementation of the socks library) as well. PySocks is a fork from SocksiPy by GitHub user @Anorov and can easily be installed by adding PySocks to the pip command above or running it again like so:

  • sudo pip3 install PySocks

You can then use the -x option to activate SOCKS5 support and the --proxy-host and --proxy-port option to specify the SOCKS5 proxy host and its port, if they are different from the standard 127.0.0.1:8080.

Configuration options

It is possible to modify the behaviour of slowloris with command-line arguments. In order to get an up-to-date help document, just run slowloris -h.

  • -p, --port
  • * Port of webserver, usually 80
  • -s, --sockets
  • * Number of sockets to use in the test
  • -v, --verbose
  • * Increases logging (output on terminal)
  • -ua, --randuseragents
  • * Randomizes user-agents with each request
  • -x, --useproxy
  • * Use a SOCKS5 proxy for connecting
  • --https
  • * Use HTTPS for the requests
  • --sleeptime
  • * Time to sleep between each header sent

License

The code is licensed under the MIT License.

Owner

  • Name: Gokberk Yaltirakli
  • Login: gkbrk
  • Kind: user
  • Location: Istanbul, Turkey

GitHub Events

Total
  • Commit comment event: 1
  • Issues event: 1
  • Watch event: 187
  • Pull request event: 2
  • Fork event: 45
Last Year
  • Commit comment event: 1
  • Issues event: 1
  • Watch event: 187
  • Pull request event: 2
  • Fork event: 45

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 46
  • Total Committers: 15
  • Avg Commits per committer: 3.067
  • Development Distribution Score (DDS): 0.63
Past Year
  • Commits: 2
  • Committers: 2
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
Gökberk Yaltıraklı w****b@g****m 17
Gokberk Yaltirakli g****t@g****m 12
GettingGodlyInThisGame T****l@p****m 4
Fabian Affolter m****l@f****h 2
Abhijith V Mohan a****n@g****m 1
Alek Evans c****t@a****m 1
Evil-Sa E****a@P****m 1
FateWalker o****o@g****m 1
Karol Celiński k****c@i****m 1
f4lkensmaz3 f****3@d****g 1
kshitij86 k****e@g****m 1
соджиро кояма k****9@o****p 1
Syslog777 1****7 1
albocc a****c 1
carose c****k 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 52
  • Total pull requests: 36
  • Average time to close issues: 5 months
  • Average time to close pull requests: 24 days
  • Total issue authors: 44
  • Total pull request authors: 30
  • Average comments per issue: 2.69
  • Average comments per pull request: 1.56
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 2
  • Average time to close issues: 9 months
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • gkbrk (7)
  • MiChaelinzo (2)
  • jazxminemasters (2)
  • irfannaseefp (1)
  • 1UC1F3R616 (1)
  • Dereban1 (1)
  • iiDestiny (1)
  • DeDragonCZ (1)
  • Wonkspele (1)
  • callmebaibhav (1)
  • ggghuilei (1)
  • Boca-NeedM (1)
  • rfornear (1)
  • iamsajjad (1)
  • NickMRamirez (1)
Pull Request Authors
  • GettingGodlyInThisGame (3)
  • f4lkensmaz3 (2)
  • zoHC (2)
  • SSanjeevi (2)
  • fabaff (2)
  • aminvakil (2)
  • ghost (2)
  • NgDucDun (1)
  • ngducdun (1)
  • Syslog777 (1)
  • albocc (1)
  • Neeraj-x0 (1)
  • kshitij86 (1)
  • prajwollamichhane11 (1)
  • avmohan (1)
Top Labels
Issue Labels
enhancement (8) good first issue (7) invalid (5) help wanted (3) bug (3) question (3) investigation (1) documentation (1)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 1,623 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 2
    (may contain duplicates)
  • Total versions: 16
  • Total maintainers: 2
pypi.org: slowloris

Low bandwidth DoS tool. Slowloris rewrite in Python.

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 1,613 Last month
Rankings
Stargazers count: 1.5%
Forks count: 1.8%
Downloads: 5.2%
Average: 6.0%
Dependent packages count: 10.0%
Dependent repos count: 11.6%
Maintainers (1)
Last synced: 6 months ago
pypi.org: hammerddos

Low bandwidth DoS tool. Slowloris rewrite in Python.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 6 Last month
Rankings
Stargazers count: 1.5%
Forks count: 1.8%
Dependent packages count: 6.6%
Average: 18.9%
Dependent repos count: 30.6%
Downloads: 53.9%
Maintainers (1)
Last synced: 6 months ago
pypi.org: slowlorisddos

Low bandwidth DoS tool. Slowloris rewrite in Python.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4 Last month
Rankings
Stargazers count: 1.5%
Forks count: 1.7%
Dependent packages count: 6.6%
Average: 20.8%
Dependent repos count: 30.6%
Downloads: 63.5%
Maintainers (1)
Last synced: 6 months ago