Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/cleaner/preppers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/cleaner/preppers/__pycache__/usernames.cpython-310.pyc
o

i��d��@s ddlmZGdd�de�ZdS)�)�
SoSPrepperc@s$eZdZdZdZgd�Zdd�ZdS)�UsernamePrepperz�
    This prepper is used to source usernames from various `last` output content
    as well as a couple select files. This prepper will also leverage the
    --usernames option.
    �username)
�core�nobody�	nfsnobody�shutdown�stack�reboot�root�ubuntur�wtmpc	
Cs�t�}gd�}|D]>}|�|�}|sq	|��D]/}z$|��d��}|r<||jvr<|�|�d|vr<|�|�d�d�WqtyFYqwq	|jj	D]}||jvrX|�|�qL|S)N)z(sos_commands/login/lastlog_-u_1000-60000z)sos_commands/login/lastlog_-u_60001-65536z.sos_commands/login/lastlog_-u_65537-4294967295zsos_commands/login/lastzetc/cron.allowz
etc/cron.denyr�\���)
�set�get_file_content�
splitlines�split�lower�	skip_list�add�	Exception�opts�	usernames)	�self�archive�items�_files�_file�content�line�user�opt_user�r#�@/usr/lib/python3/dist-packages/sos/cleaner/preppers/usernames.py�_get_items_for_username$s.


���

�z'UsernamePrepper._get_items_for_usernameN)�__name__�
__module__�__qualname__�__doc__�namerr%r#r#r#r$rs

rN)�sos.cleaner.preppersrrr#r#r#r$�<module>s


Spamworldpro Mini