Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/cleaner/mappings/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/cleaner/mappings/__pycache__/username_map.cpython-36.opt-1.pyc

3

�f��@s ddlmZGdd�de�ZdS)�)�SoSMapc@s$eZdZdZdZdZdZdd�ZdS)�SoSUsernameMapaMapping to store usernames matched from ``lastlog`` output.

    Usernames are obfuscated as ``obfuscateduserX`` where ``X`` is a counter
    that gets incremented for every new username found.

    Note that this specifically obfuscates user_names_ and not UIDs.
    TrcCs8d|j}|jd7_||jj�kr4|j|j��S|S)z@Obfuscate a new username not currently found in the map
        zobfuscateduser%s�)�
name_countZdataset�values�
sanitize_item�lower)�selfZusernameZob_name�r
�"/usr/lib/python3.6/username_map.pyrs

zSoSUsernameMap.sanitize_itemN)�__name__�
__module__�__qualname__�__doc__Zignore_short_itemsZmatch_full_words_onlyrrr
r
r
rrs
rN)Zsos.cleaner.mappingsrrr
r
r
r�<module>s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists