Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/cleaner/parsers/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g% � @ s, d dl mZ d dlmZ G dd� de�ZdS )� )�SoSCleanerParser)�SoSUsernameMapc s8 e Zd ZdZdZdZg Zg f� 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 ParserZusername_mapc s t � | _t� j||� d S )N)r �mapping�super�__init__)�self�configZskip_cleaning_files)� __class__� �%/usr/lib/python3.6/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__�nameZmap_file_keyZregex_patternsr r � __classcell__r r )r r r s r N)Zsos.cleaner.parsersr Z!sos.cleaner.mappings.username_mapr r r r r r �<module> s