403Webshell
Server IP : 77.50.203.18  /  Your IP : 192.168.0.10
Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23
System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64
User : warsnews.ru ( 1001)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/libreswan.cpython-39.opt-1.pyc
a

ܓ�i�	�@s.ddlmZmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�SoSPredicate�	PluginOptc@s@eZdZdZdZdZedddd�gZdZd	Z	d
d�Z
dd
�ZdS)�	LibreswanzLibreswan IPsec�	libreswan)�networkZsecurityZ	openshift�
ipsec-barfFzcollect ipsec barf output)�defaultZdesc)�/etc/ipsec.conf)rZopenswancCsj|�gd��|�gd��t|ddgddid�}|jdd	g|d
�|�d�rX|�d�|�gd
��dS)N)rz/etc/ipsec.dz/proc/net/xfrm_stat)zipsec verifyzipsec whack --statuszipsec whack --listallzcertutil -L -d sql:/etc/ipsec.dZ	xfrm_userZ	xfrm_algo�kmods�all)r�requiredzip xfrm policyz
ip xfrm state)Zpredr	z
ipsec barf)z/etc/ipsec.secretsz/etc/ipsec.secrets.dz/etc/ipsec.d/*.dbz/etc/ipsec.d/*.secrets)Z
add_copy_specZadd_cmd_outputr�
get_optionZadd_forbidden_path)�selfZ	xfrm_pred�r�@/usr/lib/python3.9/site-packages/sos/report/plugins/libreswan.py�setups
���

zLibreswan.setupcCs.d}|�d|d�|�d�r*|�d|d�dS)Nz/(aead|auth|auth-trunc|enc)(\s.*\s)(0x[0-9a-f]+)�statez\1\2********r	Zbarf)Zdo_cmd_output_subr)rZxfrm_state_regexprrr�postproc@s�
�zLibreswan.postprocN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrZoption_list�filesZpackagesrrrrrrrs��"rN)Zsos.report.pluginsrrrrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit