|
|
|
@ -4,4 +4,5 @@ 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])?' | ./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 |
|
|
|
|
|
|
|
|
|