Coding/General

Python – Basic DDoS Script Tutorial | WikiEngage

Python - Basic DDoS Script Tutorial | WikiEngage
Python – Basic DDoS Script Tutorial | WikiEngage

Python – Basic DDoS Script Tutorial | WikiEngage: Hey everyone, boys and girls We are in a new video, for the channel and, we will start with this series of programming tutorials or… I don’t know… coding for hacking or things like that right? Create your own hacking tools or things like that right?

something similar to that we will do this series So… Normally we will use only Python, Normally, it’s supposed only that for the moment So today, we will do it, I will teach you how to make a DDoS scrIPt but basic ok? It’s something very basic So we will start We create a file, for example, ddos.py, And here we will do the imports Normally we will require two imports that will be the socket, ok?

and also the threading, ok? I mean, with the socket we will connect to an IP that we want to make a DDoS, and after, the threading to make that there are many workers, I mean that the attack will be faster, multIPle times, etc… So we will create a function called for example “attack” right? In the attack function, we will make a… Well no, excuse me, outside of this, first, we will make mmm…

Well, no is better to make all here right? we put, for example… “IP” ok? The IP which we want to attack would be an input of type string ok? for example, “IP: ” ok? and after, the port ok? port, will be an input of type int, so we will put, “Port: ” here and, where we will put a fake IP, what do I mean by this? We will send data to a website all the time with a fake IP to tell them that I’m attacking from this IP, I mean from a fake IP this will not make us anonymous ok?

But you know, it’s for not reveal our real IP address but well… So we will put for example fake IP, equals to, for example, I don’t know, let’s put for example 174.196.15.24 right?

For example, I say something random right? here we will do a while true and what we will do next? we will do if you don’t know what this means I will let you a link in the descrIPtion in which you can learn all about socket in Python, right? so connection, and here what we will do is to connect to a host, in this case, would be IP, port and now, what is missing?

we will do, send to and here what we will put is a GET type, slash, well here we will put the “f” to be able to use the variables easily to make a cleaner code so to speak GET slash, here we put “IP” and here we will put and, finally what we will put in the parenthesis,

IP, port sorry for that, is that I don’t know what happens to me with the keyboard, but I don’t handle it well right? here we are sending a GET request, that is sending, yes, the GET request and all this to, this target, but we will also send the same but modifying something, I go with this but here we will modify this, here we will put, well I will remove directly all this and I will put and here I put and here we put that is the R, like this ok?

We put this well, yes, like this is right? 4 times, and here we put this and after, here what we will do is, we will do a print packet sent to, well, sometimes I forget to put the “f” I don’t know why to and now we will put the IP and after we put two dots (“:”) and here, port and at the end, we will put, connection.close() ok?

To close the connection and now, what we will do with the threading? Here we will put hmm, for example… I don’t know… Execute. Well and here also I forgot to do something is and here what we will do is, for example, let’s see how will we call this? jobs for example I don’t know right?

Here without parenthesis because if not it will execute it directly I mean, or well, I am mistaken or I’m getting confused with Tkinter I think, I mean I think you can put it with parenthesis but I’m not sure but I never put parenthesis I would say that’s right, yes yes, ok, and after we put and here we put for example, well per se I think is better in true put all this outside I was right in the beginning but well… All this outside because we will call to threads and all that right? Well, and here what will we put? Jobs.start, right?

and here what we will do is here is basically that at the beginning of the program go to execute this function right? And with this it’s supposed that is ready so we go to, yeah I think we will start now I mean, the thing is that, well, yes let’s go I’ll make a cut to open the CMD (Command Line) well no, in fact no,

better I will do it directly like this because I don’t want you to see the other directories and that what I have in my pc so we will do so a cut and I’ll be right back ok I came back so, excuse me for this interruption, so ok, here we have the IP, we will put for example I don’t know, google, I mean I don’t know, come on let’s go google right? For example, we will not shutdown obviously but, it’s only to test out ok here we have a little problem, where is it?

Oh yeah, I forgot. Here what we need to do is obviously because we are using socket, to send data we need to do it encoding it so we put just after the string we put and here the same and here we would be fine I wanna see something, oh ok, let’s see, well here like you can see, there’s already this sent and also is crashing here what we will do, jobs.start() and after jobs.join(), and here we do and done, as simple as that you make an attack, well this is a DoS attack, but if you put that in many infected machines or inclusive many VPS you do this and done, we have here a basic, I repeat, BASIC, DDoS scrIPt.

This is only sent packets, but you also have to make GET methods, POST methods, and many others I will after stop it but if here we jump up it will be all here I mean the port, I mean the IP, the port, the threads and we sent a fake IP, but of course, as I said we are not anonymous right?

But it’s only a little of security and like this, we make with 25 lines, inclusive can be shortened a little this a little like this right? so, in like 21 lines sorry, we have a basic scrIPt, so I wish you loved the video, and see you until next time, Chiao

Ayush Chaurasiya

Read The Latest Information Or Stories.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button