Advertisement
KekSec

Mirai telnet list SORTER (for loader)

Aug 11th, 2020 (edited)
2,559
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. import sys
  2. fh=open(sys.argv[1], "rb")
  3. data=fh.read().replace("\r", "").split("\n")
  4. fh.close()
  5. seen = []
  6. for x in data:
  7.     if ":" in x:
  8.         if x.split(":")[0] not in seen:
  9.             seen.append(x.split(":")[0])
  10.             print x
  11. ##I've seen this paste has ALOT of views. a quick explaination of this simple script. It simply sorts your telnet list by IP, and prints out only uniq ips with passwords. to be piped into loader. I use this script all the time, as it saves time and reduces DUPLICATE BOTS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement