Git Product home page Git Product logo

dos's Introduction

DOS (Denial of Service)

Sends randomly generated packets to the IP Address of the target with the designated port range through UDP Protocol through multiple threads, hence slowing down the server and causing a DOS Attack.

Requirements

Language Used = Python3
Modules/Packages used:

  • socket (for connecting and sending the packets through UDP Protocol)
  • threading (for creating multiple threads, to increase the rate of sending the packets)
  • random (for generating random string)
  • time (for displaying time in the Command Line Interface)
  • string (for generating random string)
  • tkinter (for providing a gui interface)
  • colorama (for colouring the text in Command Line Interface)
  • datetime (for displaying date in the Command Line Interface)

INPUTS

  • Target IP
  • Starting Port
  • Ending Port
  • Threads
  • Message Size
  • Message Multiplier

Working

It creates the specified number of threads for each port given. For example, if there are 2 ports (Starting port = 80 and Ending Port = 81) and threads = 100, then it will create a total 200 threads (100 for each port).
It then generates a random string of the size that is specified in Message Size and multiplies that string with the value specified in message multiplier.
Then each thread connects to the server with the port they're assigned through UDP Protocol.
And finally sends the random string to the server through the socket created.

Note

As this Program is written in Python which is run through an Interpreter, it would be slow and hence won't be that much effective. To make this more efficient, we can use some tools like auto-py-to-exe to convert the '.py' file to '.exe' file.

dos's People

Contributors

gill-singh-a avatar

Watchers

 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.