добавляет маску
This commit is contained in:
@@ -9,7 +9,7 @@ with open('ips.txt', 'w') as out:
|
||||
if l.startswith('#') or l == '':
|
||||
continue
|
||||
|
||||
ips.append(socket.gethostbyname(l))
|
||||
ips.append(socket.gethostbyname(l) + '/32')
|
||||
|
||||
ips = list(dict.fromkeys(ips))
|
||||
|
||||
|
Reference in New Issue
Block a user