parent
be7dca0de7
commit
f5b4d804ca
@ -1,8 +1,7 @@ |
||||
**У становка зависимостей** |
||||
|
||||
pip install ipaddress argparse |
||||
`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` |
||||
|
Loading…
Reference in new issue