HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/lib/python3.6/site-packages/sos/cleaner/parsers/__pycache__/ipv6_parser.cpython-36.pyc
3

\��h-	�@s,ddlmZddlmZGdd�de�ZdS)�)�SoSCleanerParser)�
SoSIPv6MapcsFeZdZdZdZdZdgZddgZdZgf�fdd	�	Z	d
d�Z
�ZS)�
SoSIPv6Parserz/Parser for handling IPv6 networks and addresseszIPv6 ParserZipv6_mapz�(?<![:\\.\\-a-z0-9])((([0-9a-f]{1,4})(:[0-9a-f]{1,4}){7})|(([0-9a-f]{1,4}(:[0-9a-f]{0,4}){0,5}))([^.])::(([0-9a-f]{1,4}(:[0-9a-f]{1,4}){0,5})?))(/\d{1,3})?(?![:\\a-z0-9])zetc/dnsmasq.conf.*z.*modinfo.*Fcst|�|_t�j||�dS)N)r�mapping�super�__init__)�self�configZworkdirZskip_cleaning_files)�	__class__��!/usr/lib/python3.6/ipv6_parser.pyr&s
zSoSIPv6Parser.__init__cCsr|jjid�}x^|jjj�D]N\}}|jid�|d|j<x.|jD]$}|j|}||d|jd|<qBWqW|S)zsStructure the dataset contents properly so that they can be reloaded
        on subsequent runs correctly.
        )�version�networks)Z
obfuscated�hostsrr)rr
r�itemsZobfuscated_addressZoriginal_addressr)rZ_d�_Z_net�hostZ_ob_hostrrr�get_map_contents*s
zSoSIPv6Parser.get_map_contents)�__name__�
__module__�__qualname__�__doc__�nameZmap_file_keyZregex_patternsZparser_skip_filesZcompile_regexesrr�
__classcell__rr)r
rrs	rN)Zsos.cleaner.parsersrZsos.cleaner.mappings.ipv6_maprrrrrr�<module>s