HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/username_parser.cpython-38.pyc
U

i��d�@s,ddlmZddlmZGdd�de�ZdS)�)�SoSCleanerParser)�SoSUsernameMapcs4eZdZdZdZdZgZ�fdd�Zdd�Z�Z	S)�SoSUsernameParsera�Parser for obfuscating usernames within an sosreport archive.

    Note that this parser does not rely on regex matching directly, like most
    other parsers do. Instead, usernames are discovered via scraping the
    collected output of lastlog. As such, we do not discover new usernames
    later on, and only usernames present in lastlog output will be obfuscated,
    and those passed via the --usernames option if one is provided.
    zUsername ParserZusername_mapcst�|_tt|��|�dS)N)r�mapping�superr�__init__)�selfZconfig��	__class__��E/usr/lib/python3/dist-packages/sos/cleaner/parsers/username_parser.pyrszSoSUsernameParser.__init__cCs|dfS)Nrr)r�linerrr�_parse_line!szSoSUsernameParser._parse_line)
�__name__�
__module__�__qualname__�__doc__�nameZmap_file_keyZregex_patternsrr�
__classcell__rrr	rrs	rN)Zsos.cleaner.parsersrZ!sos.cleaner.mappings.username_maprrrrrr�<module>s