403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.124
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/diff.cpython-36.pyc
3

x2_��@sVdZddlZddlZddlZddlZddlmZmZdd�Zdd�Ze	dkrRe�dS)	aS Command line interface to difflib.py providing diffs in four formats:

* ndiff:    lists every line and highlights interline changes.
* context:  highlights clusters of changes in a before/after format.
* unified:  highlights clusters of changes in an inline format.
* html:     generates side by side comparison with change highlights.

�N)�datetime�timezonecCs"tjtj|�jtj�}|j�j�S)N)	rZ
fromtimestamp�os�stat�st_mtimerZutcZ
astimezoneZ	isoformat)�path�t�r	�7/opt/alt/python36/lib64/python3.6/Tools/scripts/diff.py�
file_mtimesrcCs^tj�}|jddddd�|jddddd�|jdddd	d�|jd
dddd�|jdd
tddd�|jd�|jd�|j�}|j}|j}|j}t|�}t|�}t	|��}|j
�}WdQRXt	|��}	|	j
�}
WdQRX|jr�tj
||
|||||d�}nT|j�rtj||
�}n>|j�r6tj�j||
|||j|d�}ntj||
|||||d�}tjj|�dS)Nz-c�
store_trueFz'Produce a context format diff (default))�action�default�helpz-uzProduce a unified format diffz-mzAProduce HTML side by side diff (can use -c and -l in conjunction)z-nzProduce a ndiff format diffz-lz--lines�z'Set number of context lines (default 3))�typerr�fromfile�tofile)�n)�contextZnumlines)�argparse�ArgumentParser�add_argument�int�
parse_args�linesrrr�open�	readlines�u�difflibZunified_diffrZndiff�mZHtmlDiffZ	make_file�cZcontext_diff�sys�stdout�
writelines)�parserZoptionsrrrZfromdateZtodateZffZ	fromlinesZtfZtolinesZdiffr	r	r
�mains>







r&�__main__)
�__doc__r"rrrrrrr&�__name__r	r	r	r
�<module>	s (

Youez - 2016 - github.com/yon3zu
LinuXploit