HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/username_parser.cpython-310.pyc
o

([Qh%�@s,ddlmZddlmZGdd�de�ZdS)�)�SoSCleanerParser)�SoSUsernameMapcs8eZdZdZdZdZgZgf�fdd�	Zdd�Z�Z	S)�SoSUsernameParsera�Parser for obfuscating usernames within an sos report 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 Parser�username_mapcst�|_t��||�dS)N)r�mapping�super�__init__)�self�config�skip_cleaning_files��	__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__�name�map_file_key�regex_patternsrr�
__classcell__rrrrrs	rN)�sos.cleaner.parsersr�!sos.cleaner.mappings.username_maprrrrrr�<module>s