403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.158
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/ctypes/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyc
�
�q2_c@s�ddlZddlZddlTyeWnek
rCeZnXddlZeej�Z	dej
fd��YZedkr�ej
�ndS(i����N(t*tCFuncPtrTestCasecBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCs�tttt�}d�}||�}|j|jt�|j|jttf�|jt|�tt��|jt|�tt��dS(NcWs
t|�S(N(tlen(targs((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pytfuncs(tWINFUNCTYPEtc_inttassertEqualtrestypetargtypestsizeoftc_voidp(tselftXRtx((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyt
test_basics	cCs�tttt�}tttt�}d�}||�}||�}|j|dd�d�|j|dd�d�|j|dddddd�d�ttk	r�tjdkr�|jt|ddd�ndS(	NcSs||S(N((tatb((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyRsiiiiiitce(RRt	CFUNCTYPERtostnametassertRaisest	TypeError(RtStdCallbackt
CdeclCallbackRtstc((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyt
test_firsts	%cs�tttttt��d�}t�t�t�t�dtf�����fd��Y}|�}�|�|_tttttt�}|j�|�|j|jdddd�d�|j}~~|j|dd	d
d�d�dS(
NcSs||||S(N((thwndtmsgtwParamtlParam((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pytwndproc0stWNDCLASSc
s_eZdefd�fdefdefd�fd�fd�fd�fd�fg	ZRS(	tstyletlpfnWndProct
cbClsExtrat
cbWndExtrat	hInstancethIconthCursortlpszMenuNamet
lpszClassName(t__name__t
__module__tc_uintRt_fields_((tHCURSORtHICONt	HINSTANCEtLPCTSTRtWNDPROC(s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyR"8s								iiiii
iii
i.(Rtc_longRtc_char_pt	StructureR$tassertIsR(RR!R"twndclasst	WNDPROC_2tf((R0R1R2R3R4s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyttest_structures-s 	(	"	cCs�d�}tj}t|_ttf|_|j|dd�d�|j|dd�d�tj}t|_d�}d}||�}|j||d�d	�|j|dd�d�|j|dd�d
�|j|dd�d�dS(NcSs|st��n|S(N(tWinError(tvalue((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pytNoNullHandle\st	abcdefghiRtbcdefghiRcSst|�d}t||�S(Ni(Rtc_char(tinittsize((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pytc_stringnssa
b
cs
RR(	tlibt	my_strchrR6RRBR	RtNonet	my_strtok(RR?tstrchrtstrtokRERR((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyttest_dllfunctionsZs						cCs0ddlm}|jt|dddd�dS(Ni����(t	_CFuncPtri
Ri*tiid(tctypesRMRR(RRM((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyt
test_abstract~s(R,R-RRR<RLRP(((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyR
s
			-	$t__main__(RtunittestRORt	NameErrorRt_ctypes_testtCDLLt__file__RFtTestCaseRR,tmain(((s=/opt/alt/python27/lib64/python2.7/ctypes/test/test_funcptr.pyt<module>s


v

Youez - 2016 - github.com/yon3zu
LinuXploit