403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/lib/python3.12/site-packages/dnf/cli/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/lib/python3.12/site-packages/dnf/cli/__pycache__/aliases.cpython-312.pyc
�

�(f���0�ddlmZddlmZddlmZddlZddlZddlm	Z	ddl
ZddlZddl
Z
ddlZddlZe
j d�ZdZej&j)ed�Zej&j)ed	�ZGd
�de�ZGd�d
e�Zy)�)�absolute_import)�unicode_literals)�_N)�PRIO_DEFAULT�dnfz/etc/dnf/aliases.d/zALIASES.confz	USER.confc�2�eZdZd�Zed��Zed��Zy)�
AliasesConfigc��||_tjj�|_|jj|j�y�N)�_path�libdnf�conf�ConfigParser�_parser�read)�self�paths  �4/usr/lib/python3.12/site-packages/dnf/cli/aliases.py�__init__zAliasesConfig.__init__*s3����
��{�{�/�/�1��������$�*�*�%�c��tjjd�}	|jt|j
j
�dd�|j�S#t$rY|j�SwxYw)NT�main�enabled)	r
r�
OptionBool�setrr�getData�
IndexError�getValue�r�options  rrzAliasesConfig.enabled/sp�����'�'��-��	��J�J�|�T�\�\�%9�%9�%;�F�%C�I�%N�O���� � ���	����� � �	�s�4A%�%	B�?Bc��tj�}d}|jj|�s|S|jj	|�D]4}|jj||�}|s�"|j
�||<�6|S)N�aliases)�collections�OrderedDictr�
hasSection�optionsr�split)r�result�section�key�values     rr"zAliasesConfig.aliases8sw���(�(�*�����|�|�&�&�w�/��M��<�<�'�'��0�C��L�L�)�)�'�3�7�E����+�+�-�F�3�K�	1�
�
rN)�__name__�
__module__�__qualname__r�propertyrr"�rrr	r	)s/��&�
�!��!��
��
rr	c�>�eZdZd�Zd�Zd�Zd�Zd
d�Zd�Zd�Z	d	�Z
y)�Aliasesc���tj�|_d|_d|_|j�rd|_y|j
�|jsy|j�y)NTF)r#r$r"rr�_disabled_by_environ�
_load_main�
_load_aliases)rs rrzAliases.__init__GsV��"�.�.�0�����	�����$�$�&� �D�L�������|�|�����rc�B�tjjd�}	|jtt
jd�|j�S#t$rYyt$r3tjtd�t
jd�YywxYw)NT�DNF_DISABLE_ALIASESFz@Unexpected value of environment variable: DNF_DISABLE_ALIASES=%s)
r
rrrr�os�environr�KeyError�RuntimeError�logger�warningrrs  rr4zAliases._disabled_by_environWs������'�'��-��		��J�J�|�R�Z�Z�0E�%F�G��?�?�$�$���	���	��N�N��+�,�-/�Z�Z�8M�-N�
P��		�s�6A�	B�#8B�Bc��	t|�S#t$r2}tjj	td�||fz��d}~wt$r2}tjj	td�||fz��d}~wwxYw)NzParsing file "%s" failed: %szCannot read file "%s": %s)r	r<r�
exceptions�ConfigErrorr�IOError)rr�es   r�
_load_confzAliases._load_confds}��	<� ��&�&���	?��.�.�,�,��0�1�T�1�I�=�?�
?���	<��.�.�,�,��-�.�$���:�<�
<��	<�s �

�	B�-A�B�-A<�<Bc��	|jt�|_|jj|_y#tj
j$r)}tjtd�|�Yd}~yd}~wwxYw�NzConfig error: %s)
rD�ALIASES_CONF_PATHrrrr@rAr=�debugr)rrCs  rr5zAliases._load_mainnsZ��	3����(9�:�D�I��9�9�,�,�D�L���~�~�)�)�	3��L�L��-�.��2�2��	3�s�58�A>�A9�9A>Nc��|�	|j�}|D]E}	|j	|�}|j
r%|jj|j��Gy#tjj$rYywxYw#tjj$r)}tjtd�|�Yd}~��d}~wwxYwrF)�_dropin_dir_filenamesrr@rArDrr"�updater=r>r)r�	filenames�filenamerrCs     rr6zAliases._load_aliasesus�����
� �6�6�8�	�"�H�
9����x�0���<�<��L�L�'�'����5��	"���>�>�-�-�
��
���>�>�-�-�
9����q�!3�4�a�8�8��
9�s)�A�AB�A?�>A?�C�C�Cc���tjjt�tjjt�g��fd�}g}	tjjt�stjt�ttjt��D]>}||�r�|jtjjt|���@	tjjt�r|jt�|S#ttf$r$}tjj!|��d}~wwxYw)Nc�Z��|�vxs%|jd�xs|jd�S)N�.)z.confz.CONF)�
startswith�endswith)rM�ignored_filenamess �r�_ignore_filenamez7Aliases._dropin_dir_filenames.<locals>._ignore_filename�s;����0�0�:��#�#�C�(�:��%�%�&8�9�9�
:r)r9r�basenamerG�ALIASES_USER_PATH�exists�ALIASES_DROPIN_DIR�mkdir�sorted�listdir�append�joinrB�OSErrorrr@rA)rrTrL�fnrCrSs     @rrJzAliases._dropin_dir_filenames�s���� �W�W�-�-�.?�@��W�W�-�-�.?�@�B��	:�
�	�	0��7�7�>�>�"4�5����+�,��R�Z�Z�(:�;�<��#�B�'��� � ������.@�"�!E�F�=��7�7�>�>�+�,����.�/����	��!�	0��.�.�,�,�Q�/�/��	0�s�BD*�*E�9E�Ec�d�����g�g�_�fd������fd���|�}�j|zS)Nc�r��d}|D]}|r
|ddk7rn|dz
}��xj|d|z
c_||dS)Nr�-���prefix_options)�args�num�argrs   �r�store_prefixz&Aliases._resolve.<locals>.store_prefix�sP����C����3�q�6�S�=���q����

���4���:�-�����:�rc�����|�}|r%|d�jvs|djd�r2	�j�|djd�r|ddd|d<|S|d�vr(tj
j
td����j|d���j|d�}|r||ddzS�|dd�S#t$rY|SwxYw)Nr�\rcz"Aliases contain infinite recursion)	r"rQ�poprrr@�Errorrr\)rf�suffix�current_alias_resultr�stackri�
subresolves   ����rrqz$Aliases._resolve.<locals>.subresolve�s���!�$�'�F���1�I�T�\�\�1��1�I�(�(��.���I�I�K��a�y�+�+�D�1�$*�1�I�a�b�M��q�	��
��a�y�E�!��n�n�*�*��:�;�=�=�
�L�L����#�#-�d�l�l�6�!�9�.E�#F� �#�+�f�Q�R�j�8�8�!�&���*�-�-��"����
��s�/C�	C �C rd)rrfrnrprirqs`  @@@r�_resolvezAliases._resolve�s7����� ���		�	.�:�D�!���"�"�V�+�+rc���|jr	|j|�}|S|S#tjj$r*}t
j
td�|�Yd}~|Sd}~wwxYw)Nz%s, using original arguments.)rrrrr@rmr=�errorr)rrfrCs   r�resolvezAliases.resolve�sb���<�<�
D��}�}�T�*����t����>�>�'�'�
D����Q�>�?��C�C����
D�s�#�A*�A%�%A*r)r,r-r.rr4rDr5r6rJrrrur0rrr2r2Fs+��� �<�3�9��4-,�^rr2)�
__future__rr�dnf.i18nrr#�dnf.clir�dnf.conf.configr�dnf.exceptions�libdnf.confr
�loggingr9�os.path�	getLoggerr=rXrr]rGrV�objectr	r2r0rr�<module>r�s���*'�'����(����	��	��	�	�5�	!��*���G�G�L�L�!3�^�D���G�G�L�L�!3�[�A���F��:L�f�Lr

Youez - 2016 - github.com/yon3zu
LinuXploit