HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python3.6/site-packages/tracer/views/__pycache__/default.cpython-36.pyc
3

�|
`��@s�ddlmZddlmZddlmZddlmZddlmZddl	m
Z
ddlmZdd	l
mZdd
lmZddlZGdd
�d
e�ZdS)�)�print_function)�unicode_literals�)�View)�_)�Applications)�NoteForHiddenView)�
BlocksView)�StringIO)�version_infoNc@seZdZdd�ZdS)�DefaultViewcs�fdd�}�fdd�}�fdd�}�fdd�}�fd	d
�}dtd�|�d
�dtd�|�d
�dtd�|�d
�g}�jjjr�|jdtd�|tjd�d
��|jdtd�|tjd�d
��n|jd|�i�t�j�}|jd|�|j	��r�j
td��|j�dS)Ncs�d}tjdtjdtjdg}�jjj�j|�jd�}xF|D]>}dj|j�}|j	rl|j
rl|dj|j�7}|d|d	7}q>W|S)
N��SESSION�STATIC�ERASED�helperz; z  # {}z      �
)
r�TYPES�args�applications�with_helpers�
exclude_types�sorted�join�helpersZhelper_contains_formatingZhelper_contains_name�format�name)�content�typesr�applicationr)�self��/usr/lib/python3.6/default.py�with_helpers_contents
z0DefaultView.render.<locals>.with_helpers_contentcsFd}�jjjtjd�j�jd�}x|D]}|d|jd7}q(W|S)Nr
rrz      r)rrrrrZwithout_helpersrr)rZappsr)r r!r"�without_helpers_contents

z3DefaultView.render.<locals>.without_helpers_contentcs@d}x6�jjjtjdg�jd�D]}|d|jd7}q"W|S)Nr
rrz      r)rr�filter_typesrrrr)rr)r r!r"�erased_content#s"z*DefaultView.render.<locals>.erased_contentcsBd}�jjj�j|g�jd�}x|D]}|d|jd7}q$W|S)Nr
rz      r)rrrr%rr)Zapp_typerrr)r r!r"�unrestartable_content)s

z1DefaultView.render.<locals>.unrestartable_contentcs�t�}t|�}|jd�jj�|jdt�jj��|jd�jjjtjd��|jd�jjjtjd��|j	�t
jdkr�|j�S|j�j
d�S)	NrZtotal_countZ
session_countrZstatic_countr��utf8)r
r�assignr�lenrZ
count_typerr�renderr�major�getvalue�decode)r�view)r r!r"�note_content0sz(DefaultView.render.<locals>.note_contentz  * zSome applications using:)�titlerzThese applications manually:zUninstalled applications:z+These applications restarting your session:rz+These applications rebooting your computer:rr�blockszYou should restart:)rr�all�appendrrr	�outr*Zhas_content_and_title�printr,)r r#r$r&r'r1r3r0r!)r r"r,s*




zDefaultView.renderN)�__name__�
__module__�__qualname__r,r!r!r!r"rsr)Z
__future__rrr
rZtracer.resources.langrZtracer.resources.applicationsrZtracer.views.note_for_hiddenrZtracer.views.blocksr	Ztracer.resources.pycompr
�sysr�rerr!r!r!r"�<module>s