HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: sport3497 (1034)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/lib64/python3.10/site-packages/examples/__pycache__/example_ips.cpython-310.pyc
o

�h��@sPdZddlZddlZej�dej�d��ddlZdd�Zedkr&e�dSdS)�Cloudflare API code - example�Nz..c
Cs�t��}z|j��}Wn3tjjy'}ztd||f�WYd}~nd}~wty>}ztd|�WYd}~nd}~wwtdt|d��t	t
|d��D]}td|�qPtdt|d��t	t
|d��D]}td|�qitd	�dS)
rz/ips - %d %sNz&/ips - %s - api call connection failedzipv4_cidrs count = �
ipv4_cidrs�	zipv6_cidrs count = �
ipv6_cidrsr)�
CloudFlare�ips�get�
exceptions�CloudFlareAPIError�exit�	Exception�print�len�sorted�set)�cfr�e�cidr�r�G/usr/local/CyberCP/lib/python3.10/site-packages/examples/example_ips.py�main
s"���r�__main__)	�__doc__�os�sys�path�insert�abspathrr�__name__rrrr�<module>s
�