AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/web/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

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

�b�@s�dZddlmZddlmZddlmZddlmZddl	m
Z
e
eddd	d�d
d�dd
��Ze
eddd	d�d
d�dd��Ze
eddd	d�d
d�dd��Z
e
eddd	d�d
d�dd��ZdS)z I hold HTML generation helpers.
���escape)�StringIO)�Version)�log)�
deprecated�Twisted��ztwisted.web.template)�replacementcCsdt|�dS)z4Wrap <pre> tags around some text and HTML-escape it.z<pre>z</pre>r)�text�r
�2/usr/lib/python3/dist-packages/twisted/web/html.py�PREsrcCs:t�}|�d�|D]	}|�d|�q
|�d�|��S)N�<ul>
z
<li> %s</li>
�</ul>�r�write�getvalue)�lst�io�elr
r
r�ULs

rcCsHt�}|�d�|D]\}}|�d|�d|�d��q
|�d�|��S)Nrz<li> <a href="z">z
</a></li>
rr)rr�hrrr
r
r�linkList"s

rcOsFz||i|��WSty"t�d|�d��t��td�YSw)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�kwr
r
r�output,s�r"N)�__doc__�htmlrrr�incrementalr�twisted.pythonr�twisted.python.deprecaterrrrr"r
r
r
r�<module>s

	
	

Anon7 - 2022
AnonSec Team