ok

Mini Shell

Direktori : /proc/self/root/proc/self/root/proc/thread-self/root/usr/lib64/python2.7/Demo/sockets/
Upload File :
Current File : //proc/self/root/proc/self/root/proc/thread-self/root/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


Zerion Mini Shell 1.0