403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/lib64/python3.9/site-packages/lxml/html/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib64/python3.9/site-packages/lxml/html/__pycache__/_diffcommand.cpython-39.opt-1.pyc
a

��aI�@s�ddlmZddlZddlZddlZddlZddlmZdZej	ded�Z
e
jdd	d
ddd
d�e
jdddddd�ddd�Zdd�Z
e�dejejB�Ze�dejejB�Zdd�Zdd�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Cs|durtjdd�}t�|�\}}|jr4t||�St|�dkrZtd�t��t�	d�|\}}t
|�}t
|�}t|�d}t|�\}}}	t||�}
||
|	}
|j
dkr�|
�d�s�|
d7}
tj�|
�n6t|j
d��}|�|
�Wd�n1s�0YdS)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�optionsZfile1Zfile2Zinput1Zinput2Zbody1�preZbody2�post�result�f�r*�</usr/lib64/python3.9/site-packages/lxml/html/_diffcommand.py�main s,




r,cCsd|dkrtj��}nLtj�|�s.td|��n2t|d��}|��}Wd�n1sV0Y|S)Nr
zInput file %s does not exist�rb)r�stdin�read�os�path�exists�OSErrorr#)�filename�cr)r*r*r+r9s�&rz	<body.*?>z
</body.*?>cCsnd}}t�|�}|r6|d|���}||��d�}t�|�}|rd||��d�}|d|���}|||fS)Nr)�
body_start_re�search�end�body_end_re�start)Zhtmlr&r'�matchr*r*r+rIs

rcCstd�t�d�dS)NzNot yet implementedr)rrr)r%r$r*r*r+rUsr)N)Z
__future__rZoptparser�rer0�diffrrZOptionParserrZ
add_optionr,r�compile�I�Sr6r9rrr*r*r*r+�<module>sB���
��

Youez - 2016 - github.com/yon3zu
LinuXploit