GithubHelp home page GithubHelp logo

pwnloris's Introduction

pwnloris

An improved slowloris DOS tool which keeps attacking until the server starts getting exhausted.

Detailed info

This tool abuses the CVE-2007-6750 and CVE-2012-5568 vulnerabilities. The exploits works by using just one machine by creating multiple threads and sending from each thread incomplete requests while keeping the connections alive thus using up all the resources of the server and making the website unreachable.

Usage

This tool has only one required argument being the host and optionally with a port e.g:

$ ./pwnloris.py example.com
$ ./pwnloris.py 192.168.2.42:443

Optional arguments to be passed:

  • -h, --help show this help message and exit
  • -t, --tor enable to attack through TOR
  • -n [THREADS] number of threads (default 8)
  • -k [KEEPALIVE] seconds to keep connection alive (default 90)
  • -i [INTERVAL] seconds between keep alive check intervals (default 5)
  • -sh [SOCKSHOST] host TOR is running (default 127.0.0.1)
  • -sp [SOCKSPORT] port TOR is using (default 9050)

All the options could be used as example: an attack on 192.168.2.42 on port 8080 without TOR using 16 threads, 120 seconds keeping the connection alive and a keep-alive check of every 10 seconds:

$ ./pwnloris.py 192.168.2.42:8080 -n 16 -k 120 -i 10

Installation

The tool uses pysocks for the capability to route through TOR and argparse for the arguments obviously. These can be installed with the following command:

$ pip install -r requirements.txt

Besides the packages it's also important to have TOR installed and running on your machine. You can install TOR in different ways depending on your operating system and after installing run TOR as a daemon/background process.

pwnloris's People

Contributors

h0ussni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.