403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.55
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/lxml/html/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/lxml/html/__pycache__/_diffcommand.cpython-311.pyc
�

��cI��b�ddlmZddlZddlZddlZddlZddlmZdZej	de���Z
e
�dd	d
ddd
���e
�ddddd���dd�Zd�Z
ejdejejz��Zejdejejz��Zd�Zd�ZdS)�)�absolute_importN�)�htmldiff�zR%prog [OPTIONS] FILE1 FILE2
%prog --annotate [OPTIONS] INFO1 FILE1 INFO2 FILE2 ...)�usage�descriptionz-oz--output�FILE�output�-zFile to write the difference to)�metavar�dest�default�helpz-az--annotation�
store_true�
annotationzDo an annotation)�actionr
rc��|�tjdd�}t�|��\}}|jrt||��St
|��dkr<td��t���tj	d��|\}}t|��}t|��}t|��d}t|��\}}}	t||��}
||
z|	z}
|j
dkr;|
�d��s|
dz
}
tj�|
��dSt#|j
d��5}|�|
��ddd��dS#1swxYwYdS)Nr�zError: you must give two filesr�
�wb)�sys�argv�parser�
parse_argsr�annotate�len�print�
print_help�exit�	read_file�
split_bodyrr
�endswith�stdout�write�open)�args�options�file1�file2�input1�input2�body1�pre�body2�post�result�fs            �8/usr/lib/python3/dist-packages/lxml/html/_diffcommand.py�mainr3 s����|��x����|���%�%�d�+�+�M�G�T���'����&�&�&�
�4�y�y�A�~�~�
�.�/�/�/��������������L�E�5�
�u�
�
�F�
�u�
�
�F��v���q�!�E�!�&�)�)��C���
�e�U�
#�
#�F�
�6�\�D�
 �F��~�������t�$�$�	��d�N�F��
���� � � � � �
�'�.�$�
'�
'�	�1�
�G�G�F�O�O�O�	�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	�	�	s�E;�;E?�E?c�*�|dkrtj���}nmtj�|��st
d|z���t|d��5}|���}ddd��n#1swxYwY|S)NrzInput file %s does not exist�rb)r�stdin�read�os�path�exists�OSErrorr%)�filename�cr1s   r2r r 9s����3����I�N�N�����
�W�^�^�H�
%�
%���*�X�5�7�7�	7��(�D�
!�
!�	�Q������A�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	��Hs�'B�B�Bz	<body.*?>z
</body.*?>c�d�dx}}t�|��}|r8|d|����}||���d�}t�|��}|r8||���d�}|d|����}|||fS)Nr)�
body_start_re�search�end�body_end_re�start)�htmlr-r/�matchs    r2r!r!Is����O�C�$�� � ��&�&�E��"��<�E�I�I�K�K�<� ���E�I�I�K�K�L�L�!�����t�$�$�E��$��E�K�K�M�M�N�N�#���N�U�[�[�]�]�N�#����d�?��c�L�td��tjd��dS)NzNot yet implementedr)rrr)r'r&s  r2rrUs"��	�
� � � ��H�Q�K�K�K�K�KrF)N)�
__future__r�optparser�rer8�diffrr�OptionParserr�
add_optionr3r �compile�I�Sr?rBr!r�rFr2�<module>rRsa��&�&�&�&�&�&�����
�
�
�
�	�	�	�	�	�	�	�	���������
��	�=��
�
�
������*��	��	*���������.��	�	�	��������2	
�	
�	
���
��"�$�r�t�)���
��b�j��2�4���9����
�
�
�����rF

Youez - 2016 - github.com/yon3zu
LinuXploit