403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.14
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/cleaner/preppers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

i��d���&�ddlmZGd�de�Zy)�)�
SoSPrepperc�"�eZdZdZdZgd�Zd�Zy)�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���t�}gd�}|D]�}|j|�}|s�|j�D]l}	|j�dj	�}|rF||j
vr8|j
|�d|vr#|j
|jd�d��n��|jjD]"}||j
vs�|j
|��$|S#t$rY��wxYw)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_users	         �@/usr/lib/python3/dist-packages/sos/cleaner/preppers/usernames.py�_get_items_for_usernamez'UsernamePrepper._get_items_for_username$s������	
���
	�E��.�.�u�5�G����*�*�,�	
����:�:�<��?�0�0�2�D���D�N�N� :��	�	�$���4�<�!�I�I�d�j�j��&6�r�&:�;��
	
�	
	��	�	�+�+�	$�H��t�~�~�-��	�	�(�#�	$����!����s�A)C&�&	C2�1C2N)�__name__�
__module__�__qualname__�__doc__�namerr'��r&rrs����D��I�r.rN)�sos.cleaner.preppersrrr-r.r&�<module>r0s��,�5�j�5r.

Youez - 2016 - github.com/yon3zu
LinuXploit