Добавлена суммаризация по маске

master
FiliN 2 years ago
parent d8edd240a2
commit 06649acb4f
  1. 2
      README.md

@ -4,4 +4,4 @@ pip install ipaddress argparse
**Получение списка IP адресов с сумаризацией до /24**
wget -q --show-progress -nv -O - https://raw.githubusercontent.com/zapret-info/z-i/master/dump.csv | iconv -f cp1251 -t utf-8 | grep -E -o '(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(/3[0-2]|/[1-2][0-9]|/[0-9])?' | ./subnets.py -s24
wget -q --show-progress -nv -O - https://raw.githubusercontent.com/zapret-info/z-i/master/dump.csv | iconv -f cp1251 -t utf-8 | grep -E -o '(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(/3[0-2]|/[1-2]?[0-9])?' | ./subnets.py -s24

Loading…
Cancel
Save