관리-도구
편집 파일: ip_map.cpython-39.pyc
a -�_gv � @ s0 d dl Z d dlZd dlmZ G dd� de�ZdS )� N)�SoSMapc @ sl e Zd ZdZg d�Zi ZdZg d�ZdZdd� Z dd � Z d d� Zdd � Zdd� Z dd� Zdd� Zdd� ZdS )�SoSIPMapa� A mapping store for IP addresses Each IP address added to this map is chcked for subnet membership. If that subnet already exists in the map, then IP addresses are deterministically generated sequentially within that subnet. For example, if a given IP is matched to subnet 192.168.1.0/24 then 192.168.1 may be obfuscated to 100.11.12.0/24. Each IP address in the original 192.168.1.0/24 subnet will then be assigned an address in 100.11.12.0/24 sequentially, such as 100.11.12.1, 100.11.12.2, etc... Internally, the ipaddress library is used to manipulate the address objects however, when retrieved by SoSCleaner any values will be strings. )z127.*z::1z0\.(.*)?z1\.(.*)?z8.8.8.8z8.8.4.4z 169.254.*z255.*�d )Z127Z169Z172Z192Fc C s>