⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
python3
/
debpython
/
__pycache__
/
View File Name :
files.cpython-311.pyc
� ґ2d� � � � d dl Z d dlmZ d dlmZmZmZ d dlmZm Z d dl mZ e j e � � Zdd�Zdd�Zd � Zd � Zd� ZdS ) � N)�walk)�abspath�isfile�join)�Popen�PIPE)� PUBLIC_DIR_RE�z.pyc # � K � t |� � }t | t t f� � r| D ]}t |� � D ]}|V � ��dS t | � � r| � |� � r| V � dS t t | � � � � D ]2\ }}}|D ])}|� |� � rt ||� � V � �*�3dS )z6Generate *.py file names available in given directory.N) �tuple� isinstance�list�from_directoryr �endswithr r r )�dname� extensions�item�fn�root�dirs� file_namess �%/usr/share/python3/debpython/files.pyr r s � � � ��z�"�"�J��%�$���'�'� )�� � �D�$�T�*�*� � ������� � � � ���� )�5�>�>�*�5�5� )�������&*�7�5�>�>�&:�&:� )� )�"�D�$� � � )� )���;�;�z�*�*� )��t�R�.�.�(�(�(�� )� )� )� c # �N K � t |� � }t dd| ft t �� � }|� � � \ }}|j dk rt d| z � � �t |d� � }|� � � D ]}|� |� � r|V � �dS )z4Generate *.py file names available in given package.z /usr/bin/dpkgz-L)�stdout�stderrr zcannot get content of %szutf-8N) r r r �communicate� returncode� Exception�str� splitlinesr )�package_namer �processr r �lines r �from_packager% . s� � � � ��z�"�"�J��_�d�L�9�$� $�&� &� &�G��(�(�*�*�N�F�F���Q����2�\�A�B�B�B� ��� !� !�F��!�!�#�#� � ���=�=��$�$� ��J�J�J��� r c # �F K � | D ]}|� |� � r|V � �dS )z4Generate *.py file names that match given directory.N)� startswith)�filesr r s r �filter_directoryr) <