NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/tigervnc.cpython-36.pyc
3

~�g��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s$eZdZdZdZdZdZdd�ZdS)	�TigerVNCa�
    This plugin gathers information for VNC servers provided by the tigervnc
    package. This is explicitly for server-side collections, not clients.

    By default, this plugin will capture the contents of /etc/tigervnc, which
    may include usernames. If usernames are sensitive information for end
    users of sos, consider using the `--clean` option to obfuscate these
    names.
    zTigerVNC server configurationZtigervnc�tigervnc-servercCsn|jd�|jd�}|ddkr`x>|dj�D].}|j�}|s@q.|j|d�|j|d�q.W|jd�dS)Nz/etc/tigervnc/z:systemctl list-units --type=service --no-legend vncserver*Zstatusr�outputzvncserver -list)Z
add_copy_specZexec_cmd�
splitlines�splitZadd_service_statusZadd_journalZadd_cmd_output)�selfZvncsZservZvnc�r
�/usr/lib/python3.6/tigervnc.py�setups
zTigerVNC.setupN)r)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZpackagesrr
r
r
rrs
	rN)Zsos.report.pluginsrrrr
r
r
r�<module>s

NineSec Team - 2022