0x1949 Team - FAZEMRX - MANAGER
Edit File: username_parser.cpython-310.pyc
o i��d � @ s, d dl mZ d dlmZ G dd� de�ZdS )� )�SoSCleanerParser)�SoSUsernameMapc s4 e Zd ZdZdZdZg Z� 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 Parser�username_mapc s t � | _tt| ��|� d S )N)r �mapping�superr �__init__)�self�config�� __class__� �E/usr/lib/python3/dist-packages/sos/cleaner/parsers/username_parser.pyr s zSoSUsernameParser.__init__c C s |dfS )Nr r )r �liner r r �_parse_line! s zSoSUsernameParser._parse_line) �__name__� __module__�__qualname__�__doc__�name�map_file_key�regex_patternsr r � __classcell__r r r r r s r N)�sos.cleaner.parsersr �!sos.cleaner.mappings.username_mapr r r r r r �<module> s