shell bypass 403
UnknownSec Shell
:
/
usr
/
lib
/
python3
/
dist-packages
/
sos
/
policies
/
init_systems
/
__pycache__
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
systemd.cpython-312.pyc
� i��d� � �2 � d dl mZ d dlmZ G d� de� Zy)� )� InitSystem)� shell_outc �8 � � e Zd ZdZd� fd� Zd� Zd� Zdd�Z� xZS )�SystemdInitz*InitSystem abstraction for SystemD systemsc �T �� t t | � ddd|�� | j � y )N� systemctlzlist-unit-files --type=service�status)�init_cmd�list_cmd� query_cmd�chroot)�superr �__init__�load_all_services)�selfr � __class__s ��C/usr/lib/python3/dist-packages/sos/policies/init_systems/systemd.pyr zSystemdInit.__init__ s1 �� � �k�4�)� �5��� *� � ��� � c � � |j � D ]6 }|j � j d� s�#|j � d c S y)NzActive:� �unknown)� splitlines�strip� startswith�split)r �output�lines r �parse_queryzSystemdInit.parse_query sC � ��%�%�'� '�D��z�z�|�&�&�y�1��z�z�|�A��&� '� r c � � t | j | j �� j � dd }|D ]<