403Webshell
Server IP : 162.0.232.140  /  Your IP : 3.147.28.162
Web Server : LiteSpeed
System : Linux premium139.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : micrcvoy ( 740)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib64/python2.7/Demo/sockets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python2.7/Demo/sockets/udpecho.pyo
�
Afc@sQddlZddlTd
ZdZd�Zd�Zd�Zd	�Ze�dS(i����N(t*iP�iicCsdttj�dkrt�ntjddkr<t�n$tjddkrYt�nt�dS(Niis-ss-c(tlentsystargvtusagetservertclient(((s,/usr/lib64/python2.7/Demo/sockets/udpecho.pytmains


cCs'tjt_dGHdGHtjd�dS(Ns,Usage: udpecho -s [port]            (server)s,or:    udpecho -c host [port] <file (client)i(Rtstderrtstdouttexit(((s,/usr/lib64/python2.7/Demo/sockets/udpecho.pyRscCs�ttj�dkr+ttjd�}nt}ttt�}|jd|f�dGHx8|j	t
�\}}d||fGH|j||�q[WdS(Nitsudp echo server readysserver received %r from %r(RRRtevalt	ECHO_PORTtsockettAF_INETt
SOCK_DGRAMtbindtrecvfromtBUFSIZEtsendto(tporttstdatataddr((s,/usr/lib64/python2.7/Demo/sockets/udpecho.pyRscCs�ttj�dkrt�ntjd}ttj�dkrWttjd�}nt}||f}ttt�}|j	d�dGHxQtj
j�}|s�Pn|j||�|j
t�\}}d||fGHq�WdS(NiiRis$udp echo client ready, reading stdinsclient received %r from %r(Ri(RRRRRR
RRRRtstdintreadlineRRR(thostRRRtlineRtfromaddr((s,/usr/lib64/python2.7/Demo/sockets/udpecho.pyR+s"


iW�(RRR
RRRRR(((s,/usr/lib64/python2.7/Demo/sockets/udpecho.pyt<module>s
	
		
	

Youez - 2016 - github.com/yon3zu
LinuXploit