403Webshell
Server IP : 3.96.16.70  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3.9/site-packages/cloudinit/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/cloudinit/__pycache__/atomic_helper.cpython-39.opt-1.pyc
a

�½b��@sVddlZddlZddlZddlZddlZdZe�e�Zeddfdd�Z	efdd�Z
dS)	�Ni��wbFc
Cs�|r2zt�|�}t�|j�}Wnty0Yn0d}zdtjtj�|�d|d�}t	�
d||j||t|��|�
|�|��t�|j|�t�|j|�Wn<ty�}z$|dur�t�|j�|�WYd}~n
d}~00dS)NF)�dir�delete�modezOAtomically writing to file %s (via temporary file %s) - %s: [%o] %d bytes/chars)�os�stat�S_IMODE�st_mode�OSError�tempfileZNamedTemporaryFile�path�dirname�LOG�debug�name�len�write�close�chmod�rename�	Exception�unlink)�filenameZcontentr�omodeZ
preserve_modeZ	file_statZtf�e�r�;/usr/lib/python3.9/site-packages/cloudinit/atomic_helper.py�
write_file
s6
��	
rcCs t|tj|ddd�dd|d�S)N�T)�indentZ	sort_keys�
�w)rr)r�json�dumps)r�datarrrr�
write_json1s�r%)r"ZloggingrrrZ
_DEF_PERMSZ	getLogger�__name__rrr%rrrr�<module>s
�
$

Youez - 2016 - github.com/yon3zu
LinuXploit