Server IP : 184.154.167.98 / Your IP : 3.144.96.170 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/cagefs/cpanel/__pycache__/ |
Upload File : |
� ��cg[ � �* � d dl mZ d dl mZ d dl mZ d dl mZ d dlZd dlmZ ej � � d dl T d dl Z d dlZ d dlZ n# e$ r d dl Z Y nw xY wdZd � Zd � Zdek r2 e j ee j � � � � � � � dS dS )� )�absolute_import)�division)�print_function)�unicode_literalsN)�standard_library)�*z/usr/sbin/cagefsctlc �B � t j t �d| ��� � dS )z Write message to log z: N)�syslog�__file__)�msgs �i/builddir/build/BUILDROOT/cagefs-7.6.23-1.el8.cloudlinux.x86_64/usr/share/cagefs/cpanel/rearrange_hook.py� log_errorr s% � � �M�h�h�h���,�-�-�-�-�-� c �H � t j | � � } |d d dk r|d d }nt d� � dS n # t $ r t d� � Y d S w xY wt j t �d |��dd� � � dk rt d|z � � d S dS )z Run hook action �context�eventzAccounts::rearrangeacct�data�userz Unknown event� z$Can't get username from event stream� z --remount Tz /bin/bash)�shell� executabler zCan't remount user %s)�json�loadsr �KeyError� subprocess�call� CAGEFSCTL)� input_datar r s r �mainr % s� � � �:�j�!�!�D��� �?�7�#�'@�@�@���<��'�D�D��o�&�&�&��1� �� � � � ��8�9�9�9��q�q����� ��I�I�I�t�t�<�D�U`�a�a�a�ef�f�f��)�D�0�1�1�1��q��1s �0A � A&�%A&�__main__)� __future__r r r r r �futurer �install_aliases�builtins�sysr � simplejsonr �ImportErrorr r r �__name__�exit�stdin�read� r r �<module>r. sA �� '� &� &� &� &� &� � � � � � � %� %� %� %� %� %� '� '� '� '� '� '� � � � � #� #� #� #� #� #� � � � "� "� "� � � � � � � � � � � � ��������� � � ��K�K�K�K�K����� "� �.� .� .� � � �. �����C�H�T�T�#�)�.�.�"�"� #� #�$�$�$�$�$� �s �A � A�A