403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3.14/asyncio/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.14/asyncio/__pycache__/tools.cpython-314.pyc
+
��3j�&����Rt^RIHtHt^RIHt^RIHt^RIt^RI	H
t
Ht!RR]4t!RR	]
4tR
RltRtR
tRtRtRtRtRRltRtRRltRtRRltRRltRRltR#)z3Tools to analyze tasks running in asyncio programs.)�defaultdict�
namedtuple)�count)�EnumN)�RemoteUnwinder�	FrameInfoc��]tRt^	t^t^tRtR#)�NodeType�N)�__name__�
__module__�__qualname__�__firstlineno__�	COROUTINE�TASK�__static_attributes__r
��$/usr/lib/python3.14/asyncio/tools.pyr	r		s���I��Drr	c�Baa�]tRt^toRtV3RlV3RlltRtVtV;t#)�CycleFoundExceptionz8Raised when there is a cycle when drawing the call tree.c�`<�V^8�dQhRS[S[S[,,RS[S[S[3,RR/#)��cycles�id2name�returnN)�list�int�dict�str)�format�
__classdict__s"�r�__annotate__� CycleFoundException.__annotate__s9�������c��O���#�s�(�^���	rc�><�\SV`W4WnW nR#�N)�super�__init__rr)�selfrr�	__class__s&&&�rr&�CycleFoundException.__init__s���
	����)����r)rr)	rrr
r�__doc__r&r�__classdictcell__�
__classcell__)r(r s@@rrrs����B���rrc�F�V^8�dQhR\\,R\/#)r�elemr)rr)rs"rr!r!s����c�)�m���rc���\V\4'gXVP^8XdVPR8XdVP#VPRVPRVP2#V#)��� �:)�
isinstancer�lineno�filename�funcname)r.s&r�_format_stack_entryr8sZ���d�C� � ��;�;�!���
�
�� 3��m�m�_�%��m�m�_�A�d�m�m�_�A�d�k�k�]�C�C��Krc	��/./r2pVF�pVPF�pVPpVPpWqV&VP'd>VPF-pVPp	V	U
u.uFp
\V
4NK	pp
W�V&K/	VP'gK�VPFHpVPp	VPpV	U
u.uFp
\V
4NK	p
p
VP
W�V34KJ	K�	K�	WV3#uup
iuup
ir$)�
awaited_by�task_id�	task_name�coroutine_stack�
call_stackr8�append)�resultr�awaits�task_stacks�awaited_info�	task_infor;r<�	coro_infor>�frame�internal_stack�parent_task_id�stacks&             r�_indexrJ%s��#%�r�2�[�G���%�0�0�I��'�'�G�!�+�+�I�(�G���(�(�(�!*�!:�!:�I�!*�!5�!5�J�NX�%Y�j�U�&9�%�&@�j�N�%Y�+9��(�";��#�#�#�!*�!5�!5�I�!*�!5�!5�J�%.�%8�%8�N�EO�P�Z�E�0��7�Z�E�P��M�M�>�'�"B�C�	"6�1��(�K�'�'��&Z��Qs�'C=
�D
c�aaaa�VP4UUu/uFwr4\PV3VbK	uppo\\4o\\
4o\
^4oVVVV3RlpVFlwrgp\PV3p	\V4Fp
V!W�4p	K
	\PV3pVSV	,9gKTSV	,PV4Kn	VUUu0uFwpq�kK
	p
ppVFEpW�9gKW�9gK\PV3p	\W.,4Fp
V!W�4p	K
	KG	SS3#uuppiuuppi)�c��<�VSV,9dSV,V,#\PR\S423pVSV&SV,PV4VSV,V&V#)z:Get existing coroutine node or create new one under parent�c)r	r�nextr?)�parentrF�node_key�children�	cor_nodes�id2label�next_cor_ids&& ����r�get_or_create_cor_node�+_build_tree.<locals>.get_or_create_cor_nodeDsn����I�f�%�%��V�$�U�+�+��&�&�!�D��,=�+>�(?�@��"����������)�#+�	�&��%� ��r)	�itemsr	rrrrr�reversedr?)rrArB�tid�namerV�	parent_idrI�child_id�currF�	child_key�_�awaiting_tasksr;rRrSrTrUs&&&            @@@@r�_build_treerb>s-���<C�M�M�O�L�O�y�s�����$�d�*�O�L�H��4� �H��D�!�I���(�K�	�	�'-�"�	�(��}�}�i�(���e�_�E�(��4�C�%��]�]�H�-�	��H�S�M�)��S�M� � ��+�'-�8>�>�v�O�I�q�!�i�v�N�>����(�W�-C��=�=�'�*�C�!�+�"6�7��,�S�8��8���X����EM��6?s�E�#E	c��VP4UUu0uFq"Fq3kK	K	pppVUu.uF
qUV9gKVNK	up#uuppiuupir$)�values)rTrR�kidsrN�all_children�ns&&    r�_rootsrhdsL��"*�/�/�"3�B�"3�$�T��A�T�A�"3�L�B��9�x�!�L�#8�A�A�x�9�9��C��9s�A�A	�A	c�j�\\4pVFwr#pW,PV4K	V#)u3Return {parent_task_id: {child_task_id, …}, …}.)r�set�add)rA�gr\�_stackr]s&    r�_task_graphrnis0���C��A�'-�#�	�8�	�����"�(.��Hrc�aaaaaaaa�^^^uooo\V3Rl4o..uooVVVVVVVV3Rlo\S4FpSV,S8XgKS!V4K	S#)z�
Depth-first search for back-edges.

Returns a list of cycles (each cycle is a list of task-ids) or an
empty list if the graph is acyclic.
c�<�S#r$r
)�WHITEs�r�<lambda>�_find_cycles.<locals>.<lambda>ys���rc�:<�SSV&S
PV4S	PVR4FXpSV,S8XdS!V4KSV,S8XgK+S
PV4pSPS
VRV.,4KZ	SSV&S
P4R#)Nr
)r?�get�index�pop)�v�w�i�BLACK�GREYrq�colorr�dfs�graph�paths&  ��������rr~�_find_cycles.<locals>.dfs|s������a�����A�����1�b�!�A��Q�x�5� ��A���q��T�!��J�J�q�M���
�
�d�1�2�h�!��n�-�"���a�����
r)rr)	rrxr{r|rqr}rr~r�s	f @@@@@@@r�_find_cyclesr�qs^����A�q��E�4���
�&�E��r�L�D�&�
�
��%�[����8�u����F���Mrc�8�\V4pVP4#r$)r�get_all_awaited_by)�pid�unwinders& rr�r��s���c�"�H��&�&�(�(rc�aaa	a
aa�\V4wr4p\V4p\V4pV'd\Ws4h\	W4V4wo
o	VV
V3RloRV	VV3Rllo\S
S	4Uu.uFpS!V4NK
	up#uupi)z�
Build a list of strings for pretty-print an async call tree.

The call tree is produced by `get_all_async_stacks()`, prefixing tasks
with `task_emoji` and coroutine frames with `cor_emoji`.
c�`<�V^,\P8XdSMSpVRSV,2#)r0r2)r	r)�node�flag�	cor_emoji�labels�
task_emojis& ���r�pretty� build_async_tree.<locals>.pretty�s.���!�!�W��
�
�5�z�9����q�����'�'rc	�<�Vf.pTPTV'dRMRS	!V424Y'dRMR,pSPV.4p\V4F"wrgS
!WtV\V4^,
8HV4K$	V#)Nu
└── u
├── z    u│   )r?ru�	enumerate�len)r��prefix�last�buf�new_prefrerz�kidrRr��renders&&&&    ���rr�� build_async_tree.<locals>.render�s{����;��C��
�
�f�X�d�l��E�f�T�l�^�T�U��t�V��:���|�|�D�"�%����o�F�A��3�!�s�4�y�1�}�"4�c�:�&��
r)r1TN)rJrnr�rrbrh)
r@r�r�rrArBrlr�rootrRr�r�r�s
&ff      @@@@r�build_async_treer��s{���$*�&�>� �G�[��F��A�
�!�_�F�
�!�&�2�2�"�7�K�@��F�H�(���&,�F�H�%=�>�%=�T�F�4�L�%=�>�>��>s�-Bc�N�\V4wpp.pVEF�pVPpVPEF`pVPpVPpVP
U	U
u.uFp	V	PFp
V
NK	K	pp	p
RPRV44pVP'g#VPV\V4W�RRR.4K�VPF�p
V
PpV
PUu.uF$p\V4PR4^,NK&	ppRPV4pVPVR4p\V\4'd\V4M
\V4pVPV\V4W�VVV.4K�	EKc	EK�	V#uup
p	iuupi)z -> c3�d"�TF&p\V4PR4^,x�K(	R#5i)r2N)r8�split)�.0�xs& r�	<genexpr>�#build_task_table.<locals>.<genexpr>�s/���%4�,2�q�&9��%;�%A�%A�#�%F�q�%I�%I�,2�s�.0r1�0x0r2�Unknown)rJ�	thread_idr:r;r<r=r>�joinr?�hexr8r�rur4rr)r@rr`�tablerCr�rDr;r<�cororF�frames�
coro_stackrEr\r��awaiter_frames�
awaiter_chain�awaiter_name�
parent_id_strs&                   r�build_task_tabler��s����6�N�M�G�Q���E��� �*�*�	�%�0�0�I��'�'�G�!�+�+�I�)2�(A�(A�3�(A��"&�/�/���"1��(A�F�3����%4�,2�%4�4�J��'�'�'����i��W��y���E�+�,��'�1�1�	�%�/�/�	�)2�)=�)=�"?�)=�A�#6�a�"8�">�">�s�"C�A�"F�"F�)=��"?� &���N� ;�
�&�{�{�9�i�@��3=�i��3M�3M��Y��$'�	�N�����i��W��y�)�<��H�I�2�%1��@�L��13��"?s�F
�1*F"
c�$�V^8�dQhR\/#)r�	exception)r)rs"rr!r!�s��3�3�&9�3rc�a�\R\PR7\R\PR7SPF<pRP	V3RlV44p\RV2\PR7K>	R#)z9ERROR: await-graph contains cycles - cannot print a tree!)�filer1u → c3�n<"�TF*pSPPV\V44x�K,	R#5ir$)rrur�)r�rZr�s& �rr��)_print_cycle_exception.<locals>.<genexpr>�s+����P�a�s�i�/�/�3�3�C��S��B�B�a�s�25zcycle: N)�print�sys�stderrrr�)r�rN�inamessf  r�_print_cycle_exceptionr��sY���	�
E�C�J�J�W�	�"�3�:�:��
�
�
�����P�a�P�P��
���x� �s�z�z�2�rc�H�\R4\P!^4R#)z�
Prints a message pointing to platform-specific permission help text and exits the program.
This function is called when a PermissionError is encountered while trying
to attach to a process.
z�Error: The specified process cannot be attached to due to insufficient permissions.
See the Python documentation for details on required privileges and troubleshooting:
https://docs.python.org/3.14/howto/remote_debugging.html#permission-requirements
N)r�r��exitr
rr�exit_with_permission_help_textr��s��
�	]��
�H�H�Q�Krc�0�V^8�dQhR\R\/#)rr�r)rr)rs"rr!r!�s��	)�	)�s�	)�t�	)rc��\V4# \dLpTPeTPpK\RT24\P
!^4Rp?R#Rp?i\dp\4Rp?R#Rp?ii;i)NzError retrieving tasks: )r��RuntimeError�__context__r�r�r��PermissionErrorr�)r��es& r�_get_awaited_by_tasksr��sd��)�!�#�&�&�����m�m�'��
�
�A�
�(���,�-���������)�&�(�(��)�s'�

�B�AA�B�+B�,
A<�<Bc�(�V^8�dQhR\RR/#�rr�rN�r)rs"rr!r!�s��m�m��m��mrc�T�\V4p\V4p\RR
RRR
RRR
RRR
RR	R
RR
R
RRR
2
4\R4VFZp\V^,R
RV^,R
RV^,R
RV^,R
RV^,R
RV^,R
RV^,R
2
4K\	R
#)z9Build and print a table of all pending tasks under `pid`.rZz<10r2ztask idz<20z	task namezcoroutine stackz<50z
awaiter chainzawaiter namez<15z
awaiter idNz�------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------)r�r�r�)r��tasksr��rows&   r�display_awaited_by_tasks_tabler��s���
"�#�&�E��U�#�E�	���+�Q�y��o�Q�{�3�&7�q�9J�3�8O�q�Q`�ad�Pe�ef�gu�vy�fz�z{�}I�JM�|N�	O��
�)����
��Q����A�c�!�f�S�\��3�q�6�#�,�a��A��s�|�1�S��V�C�L�PQ�RU�VW�RX�Y\�Q]�]^�_b�cd�_e�fi�^j�k�l�rc�(�V^8�dQhR\RR/#r�r�)rs"rr!r!	s����s��t�rc���\V4p\V4pXFp\
RPV44K	R# \d,p\T4\P
!^4Rp?LVRp?ii;i)z8Build and print a tree of all pending tasks under `pid`.N�
)r�r�rr�r�r�r�r�)r�r�r@r��trees&    r�display_awaited_by_tasks_treer�	s`��
"�#�&�E��!�%�(��
��
�d�i�i��o����	���q�!���������s�=�A3�!A.�.A3)z(T)r1)r*�collectionsrr�	itertoolsr�enumrr��_remote_debuggingrrr	�	Exceptionrr8rJrbrhrnr�r�r�r�r�r�r�r�r�r
rr�<module>r�sx��9�/���
�7�
�t�
�
	�)�	��(�2#�L:�

��<)�
?�>$�L3��	)�m�r

Youez - 2016 - github.com/yon3zu
LinuXploit