shell bypass 403
UnknownSec Shell
:
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
runner
/
test
/
__pycache__
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
test_inetdconf.cpython-312.pyc
� Ϫ�f~ � �J � d Z ddlmZ ddlmZ G d� dej � Zy)z, Tests for implementations of L{inetdconf}. � )� inetdconf)�unittestc �( � e Zd ZdZdd�Zdd�Zdd�Zy)�ServicesConfTestsz- Tests for L{inetdconf.ServicesConf} Nc �H � | j � | _ t | j d� 5 }|j d� d d d � | j � | _ t | j d� 5 }|j d� d d d � y # 1 sw Y �OxY w# 1 sw Y y xY w)N�wz� # This is a comment http 80/tcp www www-http # WorldWideWeb HTTP http 80/udp www www-http http 80/sctp z] https 443/tcp # http protocol over TLS/SSL )�mktemp�servicesFilename1�open�write�servicesFilename2)�self�fs �D/usr/lib/python3/dist-packages/twisted/runner/test/test_inetdconf.py�setUpzServicesConfTests.setUp s� � �!%������ �$�(�(�#� .� �!� �G�G�� � � "&������ �$�(�(�#� .� �!� �G�G�� � � � � �� � �s �B�1B�B�B!c � � t j � }| j |_ |j � | j |j dddddddd�� y)z< Services are parsed from default filename. �P ))�http�tcp)r �udp)r �sctp)�wwwr )r r )�www-httpr )r r N)r �ServicesConfr �defaultFilename� parseFile�assertEqual�services)r �confs r �test_parseDefaultFilenamez+ServicesConfTests.test_parseDefaultFilename$ sY � � �%�%�'��#�5�5�����������M�M�!#�!#�"$� "� "�%'�%'� � � c �� � t j � }t | j � 5 }|j |� ddd� | j |j ddi� y# 1 sw Y �(xY w)z9 Services are parsed from given C{file}. N)�httpsr i� )r r r r r r r )r r r s r �test_parseFilez ServicesConfTests.test_parseFile8 sb � � �%�%�'�� �$�(�(� )� �Q��N�N�1�� �����M�M� �#� � � � �s �A#�#A,)�returnN)�__name__� __module__�__qualname__�__doc__r r r$ � r! r r r s � ���& �( r! r N)r) �twisted.runnerr � twisted.trialr �TestCaser r* r! r �<module>r. s$ ��� %� "�8 ��)�)� 8 r!
© 2026 UnknownSec