%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/cleaner/parsers/__pycache__/username_parser.cpython-312.pyc

�

i��d��2�ddlmZddlmZGd�de�Zy)�)�SoSCleanerParser)�SoSUsernameMapc�4��eZdZdZdZdZgZ�fd�Zd�Z�xZ	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 Parser�username_mapc�J��t�|_tt|�|�y)N)r�mapping�superr�__init__)�self�config�	__class__s  ��E/usr/lib/python3/dist-packages/sos/cleaner/parsers/username_parser.pyrzSoSUsernameParser.__init__s���%�'���
���/��7�c�
�|dfS)Nr�)r�lines  r�_parse_linezSoSUsernameParser._parse_line!s���Q�w�r)
�__name__�
__module__�__qualname__�__doc__�name�map_file_key�regex_patternsrr�
__classcell__)rs@rrrs#�����D�!�L��N�8�rrN)�sos.cleaner.parsersr�!sos.cleaner.mappings.username_maprrrrr�<module>rs��1�<��(�r

Zerion Mini Shell 1.0