403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/aim-bots/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/aim-bots/__pycache__/set_aim_profiles.cpython-312.pyc
�

T?Yj����dZddlmZddlZddlZddlmZddlmZm	Z	m
Z
ed�Zd	d�Ze
dk(r
ee���y)
zBSeed AIM profile HTML into Open OSCAR Server for all persona bots.�)�annotationsN)�Path)�PROFILES�load_profile_from_voice�persist_aim_profilez/opt/aim-bots/personasc	��ttj�dkDrttjd�n
td�}t	t
j
��D]�}|j�s�|dz}|dz}|j�s�/tj|j��}|j�r#tj|j��ni}|d}t||�xs$tj|j�d�}|st!d|�d����t#|||�	�t!d
|�dt|��d����y
)N�z/var/lib/ras/oscar.sqlitezpersona.jsonz
voice.json�screen_name�zskip z: no profile_html)�db_pathz
profile set: z (z chars)r)�len�sys�argvr�sorted�PERSONAS_DIR�iterdir�is_dir�exists�json�loads�	read_textrr�get�lower�printr)�db�persona_dir�persona_path�
voice_path�persona�voice�sn�htmls        �!/opt/aim-bots/set_aim_profiles.py�mainr$s&��!�#�(�(�m�a�/��c�h�h�q�k�	�T�:U�5V�B��l�2�2�4�5�8���!�!�#��"�^�3�� �<�/�
��"�"�$���*�*�\�3�3�5�6��6@�6G�6G�6I��
�
�:�/�/�1�2�r��
�]�
#��&�u�g�6�V�(�,�,�r�x�x�z�SU�:V����E�"��.�/�0���B��b�1�
�
�b�T��C��I�;�g�6�7�8� 
��__main__)�return�int)�__doc__�
__future__rrr�pathlibr�aim_profilesrrrrr$�__name__�
SystemExit�r%r#�<module>r0sF��H�"��
��O�O��,�-��
�*�z��
�T�V�
��r%

Youez - 2016 - github.com/yon3zu
LinuXploit