Sindbad~EG File Manager
3
�f�( � @ s( d dl Z d dlmZ G dd� de�ZdS )� N)�SoSMapc
s� e Zd ZdZdddgZddgZd%ZdZdZdZ dZ
i Zi Zdd� Z
dd� Zdd� Zdd� Z� fdd�Zdd� Zdd � Zd!d"� Zd#d$� Z� ZS )&�SoSHostnameMapaL Mapping store for hostnames and domain names
Hostnames are obfuscated using an incrementing counter based on the total
number of hosts matched regardless of domain name.
Domain names are obfuscated based on the host's hostname, plus any user
defined domains passed in by the `--domains` options.
Domains are obfuscated as whole units, meaning the domains 'example.com'
and 'host.foo.example.com' will be separately obfuscated with no relation
for example as 'obfuscatedomdain1.com' and 'obfuscatedomain2.com'.
Top-level domains are left untouched.
Z localhostz.*localdomain.*z^com..*ZwwwZapi�.yaml�.yml�.crt�.key�.pem�.log�.repo�.rules�.conf�.cfgTr c C s� x�| j j� D ]�\}}t|jd��dkrB| j | | j|jd�d <