__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

`�gN���SrSrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK	r	SSK
Jr \R"S5r
"SS\5rSr\S	:Xa\"5 gg)
z�
Integration of debconf on the client side

Provides the DebconfProxy class which allows to run the debconf frontend
as normal user by connecting to the root running debconf through the
socket of the passthrough frontend.
)�DebconfProxy�N)�GLibzAptClient.DebconfProxyc�F�\rSrSrSrSSjrSrSrSrSr	S	r
S
rSrg)
r�+z�The DebconfProxy class allows to run the debconf frontend
as normal user by connecting to the root debconf through the socket of the
passthrough frontend.
Nc��X lSUlUcH[R"SS9Ul[R
R
URS5Ul[RSUR-5 [R"[R[R5Ul	URRUR5 Xl
SUlSUlSUl/Ulg)z�Initialize a new DebconfProxy instance.

Keyword arguments:
frontend -- the to be used debconf frontend (defaults to gnome)
socket_path -- the path to the socket of the passthrough frontend.
    Will be created if not specified
Nz
aptdaemon-)�prefixzdebconf.socketzdebconf socket: %s)�socket_path�temp_dir�tempfile�mkdtemp�os�path�join�log�debug�socket�AF_UNIX�SOCK_STREAM�bind�frontend�_listener_id�_active_conn�helper�
_watch_ids)�selfrr	s   �3/usr/lib/python3/dist-packages/aptdaemon/debconf.py�__init__�DebconfProxy.__init__2s���'����
���$�,�,�L�A�D�M�!�w�w�|�|�D�M�M�;K�L�D���	�	�&��)9�)9�9�:��m�m�F�N�N�F�4F�4F�G���������)�)�*� �
� ��� ���������c���[R"[R5nSUS'SUS'URUS'[R
[R:XaSUS'U$)zSReturns a dictonary of the environment variables required by
the debconf frontend.
�configdb�DEBCONF_DB_REPLACEzPipe{infd:none outfd:none}�DEBCONF_DB_OVERRIDE�DEBIAN_FRONTEND�.�
DEBCONF_DEBUG)�copyr
�environrr�level�logging�DEBUG)r�envs  r�_get_debconf_env�DebconfProxy._get_debconf_envHsZ���i�i��
�
�#��$.�� �!�%A��!�"�!%�������9�9��
�
�%�#&�C�� ��
rc��[R"S5 URRS5 [R
"UR[R[RUR5Ul	g)zStart listening on the socket.zdebconf.start()�N)
r*rr�listenr�io_add_watch�PRIORITY_DEFAULT_IDLE�IO_IN�_accept_connectionr�rs r�start�DebconfProxy.startTsR���
�
�'�(������1�� �-�-��K�K��3�3��J�J��/�/�1��rc�"�[R"S5 URR5 URb;URR5 URR
5 SUlURb'[R"UR5 SUlUR(aB[R"UR5 [R"UR5 gg![a gf=f)zStop listening on the socket.zdebconf.stop()N)r*rr�closer�	terminate�waitrr�
source_remover
r
�remover	�rmdir�OSErrorr6s r�stop�DebconfProxy.stop\s����
�
�&�'��������;�;�"��K�K�!�!�#��K�K�����D�K����(����t�0�0�1� $�D���=�=�
��	�	�$�*�*�+�������'����
��
�s�?AD�
D�
Dc�.�UR(a[RS5 gURb4URR	5 URR5 UR"5up4X0l[R[R-[R-[R-n[R"S/[R[RUR5S9Ul[R "U[R"XPR$URR&5 [R "URR([R"XPR*U5 g)NzDelaying connectionTzdebconf-communicate)�stdin�stdoutr,)rrrrr;r<�acceptrr4�IO_ERR�IO_HUP�IO_NVAL�
subprocess�Popen�PIPEr-r2�PRIORITY_HIGH_IDLE�
_copy_connrDrE�_copy_stdout)rr�	condition�conn�addr�masks      rr5�DebconfProxy._accept_connectionns
������I�I�+�,���;�;�"��K�K�!�!�#��K�K�����]�]�_�
�� ���z�z�D�K�K�'�$�+�+�5����D�� �&�&�(=�'>�-7�_�_�.8�o�o�+/�+@�+@�+B�D���	
���$�� 7� 7�������1B�1B�	D����$�+�+�,�,�d�.E�.E�� 1� 1�4�	9�rc��[R"S5 UR5nU(a([RSU5 UR	U5 g[RS5 URb$URRR5 URR5 SUlg![
R[4an[RU5 SnAN�SnAff=f)zYCallback to copy data from the stdout of debconf-communicate to
the passthrough frontend.rOzFrom debconf: %sTNzStop reading from stdoutF)r*r�readliner�sendr�error�IOErrorrrEr:r)r�sourcerPrQ�debconf_datarXs      rrO�DebconfProxy._copy_stdout�s���	�
�
�n�%�	�!�?�?�,�L���	�	�,�l�;��	�	�,�'���	�	�	�,�-��;�;�"��K�K���$�$�&������!� ��������g�&�	��I�I�e����	�s�>C�C9�C4�4C9c���[R"S5 URS5nU(a8[RSU5 UR	U5 UR5 g[RS5 URb$URRR5 g![R[4an[RU5 SnAN{SnAff=f)zTCallback to copy data from the passthrough frontend to stdin of
debconf-communicate.rNizFrom socket: %sTNzStop reading from connF)r*r�recvr�write�flushrrXrYrrDr:)rrZrPrD�socket_datarXs      rrN�DebconfProxy._copy_conn�s���	�
�
�l�#�	� �+�+�d�+�K���	�	�+�[�9����K�(����
��	�	�	�	�*�+��;�;�"��K�K���#�#�%���
���g�&�	��I�I�e����	�s�AB0�0C)�
C$�$C))rrrrrrr	r
)�gnomeN)
�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr-r7rAr5rOrN�__static_attributes__�rrrr+s*���
�,
�1��$�(�(rrc�B�[R"[RS9 Sn[RRU5(a[R"U5 [SU5nUR5 [R"5nUR5 g)a Run the DebconfProxy from the command line for testing purposes.

You have to execute the following commands before in a separate terminal:
$ echo "fset debconf/frontend seen false" | debconf-communicate
$ export DEBCONF_PIPE=/tmp/debconf.socket
$ dpkg-reconfigure debconf -f passthrough
)r)z/tmp/debconf.socketrcN)r*�basicConfigr+r
r�existsr>rr7r�MainLoop�run)r	�proxy�loops   r�_testrr�sc�����g�m�m�,�'�K�	�w�w�~�~�k�"�"�
�	�	�+����+�.�E�	�K�K�M��=�=�?�D��H�H�Jr�__main__)rh�__all__r'r*r
�os.pathrrJr�sys�
gi.repositoryr�	getLoggerr�objectrrrrdrjrr�<module>rzse���0����	��
���
��
���0�1��|�6�|�~�"�z��	�G�r

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 495 B 0644
client.cpython-313.pyc File 64.91 KB 0644
console.cpython-313.pyc File 33.16 KB 0644
core.cpython-313.pyc File 96.5 KB 0644
crash.cpython-313.pyc File 3.17 KB 0644
debconf.cpython-313.pyc File 9.05 KB 0644
enums.cpython-313.pyc File 20.51 KB 0644
errors.cpython-313.pyc File 9.93 KB 0644
gtk3widgets.cpython-313.pyc File 67.17 KB 0644
lock.cpython-313.pyc File 8.36 KB 0644
logger.cpython-313.pyc File 2.48 KB 0644
loop.cpython-313.pyc File 555 B 0644
networking.cpython-313.pyc File 12.09 KB 0644
policykit1.cpython-313.pyc File 7.13 KB 0644
progress.cpython-313.pyc File 43.79 KB 0644
utils.cpython-313.pyc File 5.03 KB 0644
Filemanager