Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python2.7 /
ctypes /
test /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
7.16
KB
-rw-r--r--
2024-04-10 08:28
__init__.pyc
7.85
KB
-rw-r--r--
2024-04-10 08:28
__init__.pyo
7.85
KB
-rw-r--r--
2024-04-10 08:28
runtests.py
682
B
-rw-r--r--
2024-04-10 08:28
runtests.pyc
895
B
-rw-r--r--
2024-04-10 08:28
runtests.pyo
895
B
-rw-r--r--
2024-04-10 08:28
test_anon.py
2.49
KB
-rw-r--r--
2024-04-10 08:28
test_anon.pyc
3.55
KB
-rw-r--r--
2024-04-10 08:28
test_anon.pyo
3.55
KB
-rw-r--r--
2024-04-10 08:28
test_array_in_pointer.py
1.69
KB
-rw-r--r--
2024-04-10 08:28
test_array_in_pointer.pyc
2.21
KB
-rw-r--r--
2024-04-10 08:28
test_array_in_pointer.pyo
2.21
KB
-rw-r--r--
2024-04-10 08:28
test_arrays.py
5.19
KB
-rw-r--r--
2024-04-10 08:28
test_arrays.pyc
5.88
KB
-rw-r--r--
2024-04-10 08:28
test_arrays.pyo
5.88
KB
-rw-r--r--
2024-04-10 08:28
test_as_parameter.py
6.62
KB
-rw-r--r--
2024-04-10 08:28
test_as_parameter.pyc
8.73
KB
-rw-r--r--
2024-04-10 08:28
test_as_parameter.pyo
8.73
KB
-rw-r--r--
2024-04-10 08:28
test_bitfields.py
9.85
KB
-rw-r--r--
2024-04-10 08:28
test_bitfields.pyc
13.87
KB
-rw-r--r--
2024-04-10 08:28
test_bitfields.pyo
13.87
KB
-rw-r--r--
2024-04-10 08:28
test_buffers.py
2.56
KB
-rw-r--r--
2024-04-10 08:28
test_buffers.pyc
3.24
KB
-rw-r--r--
2024-04-10 08:28
test_buffers.pyo
3.24
KB
-rw-r--r--
2024-04-10 08:28
test_byteswap.py
10.57
KB
-rw-r--r--
2024-04-10 08:28
test_byteswap.pyc
9.56
KB
-rw-r--r--
2024-04-10 08:28
test_byteswap.pyo
9.56
KB
-rw-r--r--
2024-04-10 08:28
test_callbacks.py
9.65
KB
-rw-r--r--
2024-04-10 08:28
test_callbacks.pyc
12.6
KB
-rw-r--r--
2024-04-10 08:28
test_callbacks.pyo
12.6
KB
-rw-r--r--
2024-04-10 08:28
test_cast.py
3.1
KB
-rw-r--r--
2024-04-10 08:28
test_cast.pyc
3.58
KB
-rw-r--r--
2024-04-10 08:28
test_cast.pyo
3.58
KB
-rw-r--r--
2024-04-10 08:28
test_cfuncs.py
7.5
KB
-rw-r--r--
2024-04-10 08:28
test_cfuncs.pyc
10.67
KB
-rw-r--r--
2024-04-10 08:28
test_cfuncs.pyo
10.67
KB
-rw-r--r--
2024-04-10 08:28
test_checkretval.py
973
B
-rw-r--r--
2024-04-10 08:28
test_checkretval.pyc
1.66
KB
-rw-r--r--
2024-04-10 08:28
test_checkretval.pyo
1.66
KB
-rw-r--r--
2024-04-10 08:28
test_delattr.py
533
B
-rw-r--r--
2024-04-10 08:28
test_delattr.pyc
1.33
KB
-rw-r--r--
2024-04-10 08:28
test_delattr.pyo
1.33
KB
-rw-r--r--
2024-04-10 08:28
test_errno.py
2.28
KB
-rw-r--r--
2024-04-10 08:28
test_errno.pyc
2.84
KB
-rw-r--r--
2024-04-10 08:28
test_errno.pyo
2.84
KB
-rw-r--r--
2024-04-10 08:28
test_find.py
2.07
KB
-rw-r--r--
2024-04-10 08:28
test_find.pyc
2.79
KB
-rw-r--r--
2024-04-10 08:28
test_find.pyo
2.79
KB
-rw-r--r--
2024-04-10 08:28
test_frombuffer.py
3.35
KB
-rw-r--r--
2024-04-10 08:28
test_frombuffer.pyc
4.17
KB
-rw-r--r--
2024-04-10 08:28
test_frombuffer.pyo
4.17
KB
-rw-r--r--
2024-04-10 08:28
test_funcptr.py
3.94
KB
-rw-r--r--
2024-04-10 08:28
test_funcptr.pyc
4.27
KB
-rw-r--r--
2024-04-10 08:28
test_funcptr.pyo
4.27
KB
-rw-r--r--
2024-04-10 08:28
test_functions.py
12.27
KB
-rw-r--r--
2024-04-10 08:28
test_functions.pyc
14.72
KB
-rw-r--r--
2024-04-10 08:28
test_functions.pyo
14.72
KB
-rw-r--r--
2024-04-10 08:28
test_incomplete.py
1019
B
-rw-r--r--
2024-04-10 08:28
test_incomplete.pyc
1.33
KB
-rw-r--r--
2024-04-10 08:28
test_incomplete.pyo
1.33
KB
-rw-r--r--
2024-04-10 08:28
test_init.py
1.02
KB
-rw-r--r--
2024-04-10 08:28
test_init.pyc
1.79
KB
-rw-r--r--
2024-04-10 08:28
test_init.pyo
1.79
KB
-rw-r--r--
2024-04-10 08:28
test_internals.py
2.56
KB
-rw-r--r--
2024-04-10 08:28
test_internals.pyc
4.03
KB
-rw-r--r--
2024-04-10 08:28
test_internals.pyo
4.03
KB
-rw-r--r--
2024-04-10 08:28
test_keeprefs.py
3.95
KB
-rw-r--r--
2024-04-10 08:28
test_keeprefs.pyc
6.57
KB
-rw-r--r--
2024-04-10 08:28
test_keeprefs.pyo
6.57
KB
-rw-r--r--
2024-04-10 08:28
test_libc.py
881
B
-rw-r--r--
2024-04-10 08:28
test_libc.pyc
1.6
KB
-rw-r--r--
2024-04-10 08:28
test_libc.pyo
1.6
KB
-rw-r--r--
2024-04-10 08:28
test_loading.py
4.56
KB
-rw-r--r--
2024-04-10 08:28
test_loading.pyc
4.46
KB
-rw-r--r--
2024-04-10 08:28
test_loading.pyo
4.46
KB
-rw-r--r--
2024-04-10 08:28
test_macholib.py
1.76
KB
-rw-r--r--
2024-04-10 08:28
test_macholib.pyc
1.46
KB
-rw-r--r--
2024-04-10 08:28
test_macholib.pyo
1.46
KB
-rw-r--r--
2024-04-10 08:28
test_memfunctions.py
3.15
KB
-rw-r--r--
2024-04-10 08:28
test_memfunctions.pyc
3.68
KB
-rw-r--r--
2024-04-10 08:28
test_memfunctions.pyo
3.68
KB
-rw-r--r--
2024-04-10 08:28
test_numbers.py
9.05
KB
-rw-r--r--
2024-04-10 08:28
test_numbers.pyc
10.27
KB
-rw-r--r--
2024-04-10 08:28
test_numbers.pyo
10.27
KB
-rw-r--r--
2024-04-10 08:28
test_objects.py
1.63
KB
-rw-r--r--
2024-04-10 08:28
test_objects.pyc
2.15
KB
-rw-r--r--
2024-04-10 08:28
test_objects.pyo
2.15
KB
-rw-r--r--
2024-04-10 08:28
test_parameters.py
9.7
KB
-rw-r--r--
2024-04-10 08:28
test_parameters.pyc
11.38
KB
-rw-r--r--
2024-04-10 08:28
test_parameters.pyo
11.38
KB
-rw-r--r--
2024-04-10 08:28
test_pep3118.py
8.29
KB
-rw-r--r--
2024-04-10 08:28
test_pep3118.pyc
6.64
KB
-rw-r--r--
2024-04-10 08:28
test_pep3118.pyo
6.64
KB
-rw-r--r--
2024-04-10 08:28
test_pickling.py
2.17
KB
-rw-r--r--
2024-04-10 08:28
test_pickling.pyc
3.65
KB
-rw-r--r--
2024-04-10 08:28
test_pickling.pyo
3.65
KB
-rw-r--r--
2024-04-10 08:28
test_pointers.py
6.97
KB
-rw-r--r--
2024-04-10 08:28
test_pointers.pyc
7.49
KB
-rw-r--r--
2024-04-10 08:28
test_pointers.pyo
7.45
KB
-rw-r--r--
2024-04-10 08:28
test_prototypes.py
6.54
KB
-rw-r--r--
2024-04-10 08:28
test_prototypes.pyc
7.05
KB
-rw-r--r--
2024-04-10 08:28
test_prototypes.pyo
7.02
KB
-rw-r--r--
2024-04-10 08:28
test_python_api.py
2.89
KB
-rw-r--r--
2024-04-10 08:28
test_python_api.pyc
3.23
KB
-rw-r--r--
2024-04-10 08:28
test_python_api.pyo
3.23
KB
-rw-r--r--
2024-04-10 08:28
test_random_things.py
2.77
KB
-rw-r--r--
2024-04-10 08:28
test_random_things.pyc
3.21
KB
-rw-r--r--
2024-04-10 08:28
test_random_things.pyo
3.21
KB
-rw-r--r--
2024-04-10 08:28
test_refcounts.py
2.44
KB
-rw-r--r--
2024-04-10 08:28
test_refcounts.pyc
3.05
KB
-rw-r--r--
2024-04-10 08:28
test_refcounts.pyo
3.05
KB
-rw-r--r--
2024-04-10 08:28
test_repr.py
839
B
-rw-r--r--
2024-04-10 08:28
test_repr.pyc
1.71
KB
-rw-r--r--
2024-04-10 08:28
test_repr.pyo
1.71
KB
-rw-r--r--
2024-04-10 08:28
test_returnfuncptrs.py
2.71
KB
-rw-r--r--
2024-04-10 08:28
test_returnfuncptrs.pyc
2.82
KB
-rw-r--r--
2024-04-10 08:28
test_returnfuncptrs.pyo
2.82
KB
-rw-r--r--
2024-04-10 08:28
test_simplesubclasses.py
1.32
KB
-rw-r--r--
2024-04-10 08:28
test_simplesubclasses.pyc
2.83
KB
-rw-r--r--
2024-04-10 08:28
test_simplesubclasses.pyo
2.83
KB
-rw-r--r--
2024-04-10 08:28
test_sizes.py
815
B
-rw-r--r--
2024-04-10 08:28
test_sizes.pyc
1.82
KB
-rw-r--r--
2024-04-10 08:28
test_sizes.pyo
1.82
KB
-rw-r--r--
2024-04-10 08:28
test_slicing.py
6.3
KB
-rw-r--r--
2024-04-10 08:28
test_slicing.pyc
6.36
KB
-rw-r--r--
2024-04-10 08:28
test_slicing.pyo
6.36
KB
-rw-r--r--
2024-04-10 08:28
test_stringptr.py
2.4
KB
-rw-r--r--
2024-04-10 08:28
test_stringptr.pyc
2.62
KB
-rw-r--r--
2024-04-10 08:28
test_stringptr.pyo
2.62
KB
-rw-r--r--
2024-04-10 08:28
test_strings.py
7.18
KB
-rw-r--r--
2024-04-10 08:28
test_strings.pyc
7.63
KB
-rw-r--r--
2024-04-10 08:28
test_strings.pyo
7.63
KB
-rw-r--r--
2024-04-10 08:28
test_struct_fields.py
2.36
KB
-rw-r--r--
2024-04-10 08:28
test_struct_fields.pyc
4.28
KB
-rw-r--r--
2024-04-10 08:28
test_struct_fields.pyo
4.28
KB
-rw-r--r--
2024-04-10 08:28
test_structures.py
16.52
KB
-rw-r--r--
2024-04-10 08:28
test_structures.pyc
23.23
KB
-rw-r--r--
2024-04-10 08:28
test_structures.pyo
23.23
KB
-rw-r--r--
2024-04-10 08:28
test_unaligned_structures.py
1.19
KB
-rw-r--r--
2024-04-10 08:28
test_unaligned_structures.pyc
2.03
KB
-rw-r--r--
2024-04-10 08:28
test_unaligned_structures.pyo
2.03
KB
-rw-r--r--
2024-04-10 08:28
test_unicode.py
5
KB
-rw-r--r--
2024-04-10 08:28
test_unicode.pyc
6.04
KB
-rw-r--r--
2024-04-10 08:28
test_unicode.pyo
6.04
KB
-rw-r--r--
2024-04-10 08:28
test_values.py
2.86
KB
-rw-r--r--
2024-04-10 08:28
test_values.pyc
2.89
KB
-rw-r--r--
2024-04-10 08:28
test_values.pyo
2.95
KB
-rw-r--r--
2024-04-10 08:28
test_varsize_struct.py
1.8
KB
-rw-r--r--
2024-04-10 08:28
test_varsize_struct.pyc
2.36
KB
-rw-r--r--
2024-04-10 08:28
test_varsize_struct.pyo
2.36
KB
-rw-r--r--
2024-04-10 08:28
test_win32.py
5.02
KB
-rw-r--r--
2024-04-10 08:28
test_win32.pyc
6.06
KB
-rw-r--r--
2024-04-10 08:28
test_win32.pyo
6.06
KB
-rw-r--r--
2024-04-10 08:28
test_wintypes.py
1.43
KB
-rw-r--r--
2024-04-10 08:28
test_wintypes.pyc
1.6
KB
-rw-r--r--
2024-04-10 08:28
test_wintypes.pyo
1.6
KB
-rw-r--r--
2024-04-10 08:28
Save
Rename
# A lot of failures in these tests on Mac OS X. # Byte order related? import unittest from ctypes import * from ctypes.test import need_symbol import _ctypes_test class CFunctions(unittest.TestCase): _dll = CDLL(_ctypes_test.__file__) def S(self): return c_longlong.in_dll(self._dll, "last_tf_arg_s").value def U(self): return c_ulonglong.in_dll(self._dll, "last_tf_arg_u").value def test_byte(self): self._dll.tf_b.restype = c_byte self._dll.tf_b.argtypes = (c_byte,) self.assertEqual(self._dll.tf_b(-126), -42) self.assertEqual(self.S(), -126) def test_byte_plus(self): self._dll.tf_bb.restype = c_byte self._dll.tf_bb.argtypes = (c_byte, c_byte) self.assertEqual(self._dll.tf_bb(0, -126), -42) self.assertEqual(self.S(), -126) def test_ubyte(self): self._dll.tf_B.restype = c_ubyte self._dll.tf_B.argtypes = (c_ubyte,) self.assertEqual(self._dll.tf_B(255), 85) self.assertEqual(self.U(), 255) def test_ubyte_plus(self): self._dll.tf_bB.restype = c_ubyte self._dll.tf_bB.argtypes = (c_byte, c_ubyte) self.assertEqual(self._dll.tf_bB(0, 255), 85) self.assertEqual(self.U(), 255) def test_short(self): self._dll.tf_h.restype = c_short self._dll.tf_h.argtypes = (c_short,) self.assertEqual(self._dll.tf_h(-32766), -10922) self.assertEqual(self.S(), -32766) def test_short_plus(self): self._dll.tf_bh.restype = c_short self._dll.tf_bh.argtypes = (c_byte, c_short) self.assertEqual(self._dll.tf_bh(0, -32766), -10922) self.assertEqual(self.S(), -32766) def test_ushort(self): self._dll.tf_H.restype = c_ushort self._dll.tf_H.argtypes = (c_ushort,) self.assertEqual(self._dll.tf_H(65535), 21845) self.assertEqual(self.U(), 65535) def test_ushort_plus(self): self._dll.tf_bH.restype = c_ushort self._dll.tf_bH.argtypes = (c_byte, c_ushort) self.assertEqual(self._dll.tf_bH(0, 65535), 21845) self.assertEqual(self.U(), 65535) def test_int(self): self._dll.tf_i.restype = c_int self._dll.tf_i.argtypes = (c_int,) self.assertEqual(self._dll.tf_i(-2147483646), -715827882) self.assertEqual(self.S(), -2147483646) def test_int_plus(self): self._dll.tf_bi.restype = c_int self._dll.tf_bi.argtypes = (c_byte, c_int) self.assertEqual(self._dll.tf_bi(0, -2147483646), -715827882) self.assertEqual(self.S(), -2147483646) def test_uint(self): self._dll.tf_I.restype = c_uint self._dll.tf_I.argtypes = (c_uint,) self.assertEqual(self._dll.tf_I(4294967295), 1431655765) self.assertEqual(self.U(), 4294967295) def test_uint_plus(self): self._dll.tf_bI.restype = c_uint self._dll.tf_bI.argtypes = (c_byte, c_uint) self.assertEqual(self._dll.tf_bI(0, 4294967295), 1431655765) self.assertEqual(self.U(), 4294967295) def test_long(self): self._dll.tf_l.restype = c_long self._dll.tf_l.argtypes = (c_long,) self.assertEqual(self._dll.tf_l(-2147483646), -715827882) self.assertEqual(self.S(), -2147483646) def test_long_plus(self): self._dll.tf_bl.restype = c_long self._dll.tf_bl.argtypes = (c_byte, c_long) self.assertEqual(self._dll.tf_bl(0, -2147483646), -715827882) self.assertEqual(self.S(), -2147483646) def test_ulong(self): self._dll.tf_L.restype = c_ulong self._dll.tf_L.argtypes = (c_ulong,) self.assertEqual(self._dll.tf_L(4294967295), 1431655765) self.assertEqual(self.U(), 4294967295) def test_ulong_plus(self): self._dll.tf_bL.restype = c_ulong self._dll.tf_bL.argtypes = (c_char, c_ulong) self.assertEqual(self._dll.tf_bL(' ', 4294967295), 1431655765) self.assertEqual(self.U(), 4294967295) def test_longlong(self): self._dll.tf_q.restype = c_longlong self._dll.tf_q.argtypes = (c_longlong, ) self.assertEqual(self._dll.tf_q(-9223372036854775806), -3074457345618258602) self.assertEqual(self.S(), -9223372036854775806) def test_longlong_plus(self): self._dll.tf_bq.restype = c_longlong self._dll.tf_bq.argtypes = (c_byte, c_longlong) self.assertEqual(self._dll.tf_bq(0, -9223372036854775806), -3074457345618258602) self.assertEqual(self.S(), -9223372036854775806) def test_ulonglong(self): self._dll.tf_Q.restype = c_ulonglong self._dll.tf_Q.argtypes = (c_ulonglong, ) self.assertEqual(self._dll.tf_Q(18446744073709551615), 6148914691236517205) self.assertEqual(self.U(), 18446744073709551615) def test_ulonglong_plus(self): self._dll.tf_bQ.restype = c_ulonglong self._dll.tf_bQ.argtypes = (c_byte, c_ulonglong) self.assertEqual(self._dll.tf_bQ(0, 18446744073709551615), 6148914691236517205) self.assertEqual(self.U(), 18446744073709551615) def test_float(self): self._dll.tf_f.restype = c_float self._dll.tf_f.argtypes = (c_float,) self.assertEqual(self._dll.tf_f(-42.), -14.) self.assertEqual(self.S(), -42) def test_float_plus(self): self._dll.tf_bf.restype = c_float self._dll.tf_bf.argtypes = (c_byte, c_float) self.assertEqual(self._dll.tf_bf(0, -42.), -14.) self.assertEqual(self.S(), -42) def test_double(self): self._dll.tf_d.restype = c_double self._dll.tf_d.argtypes = (c_double,) self.assertEqual(self._dll.tf_d(42.), 14.) self.assertEqual(self.S(), 42) def test_double_plus(self): self._dll.tf_bd.restype = c_double self._dll.tf_bd.argtypes = (c_byte, c_double) self.assertEqual(self._dll.tf_bd(0, 42.), 14.) self.assertEqual(self.S(), 42) def test_longdouble(self): self._dll.tf_D.restype = c_longdouble self._dll.tf_D.argtypes = (c_longdouble,) self.assertEqual(self._dll.tf_D(42.), 14.) self.assertEqual(self.S(), 42) def test_longdouble_plus(self): self._dll.tf_bD.restype = c_longdouble self._dll.tf_bD.argtypes = (c_byte, c_longdouble) self.assertEqual(self._dll.tf_bD(0, 42.), 14.) self.assertEqual(self.S(), 42) def test_callwithresult(self): def process_result(result): return result * 2 self._dll.tf_i.restype = process_result self._dll.tf_i.argtypes = (c_int,) self.assertEqual(self._dll.tf_i(42), 28) self.assertEqual(self.S(), 42) self.assertEqual(self._dll.tf_i(-42), -28) self.assertEqual(self.S(), -42) def test_void(self): self._dll.tv_i.restype = None self._dll.tv_i.argtypes = (c_int,) self.assertEqual(self._dll.tv_i(42), None) self.assertEqual(self.S(), 42) self.assertEqual(self._dll.tv_i(-42), None) self.assertEqual(self.S(), -42) # The following repeats the above tests with stdcall functions (where # they are available) try: WinDLL except NameError: def stdcall_dll(*_): pass else: class stdcall_dll(WinDLL): def __getattr__(self, name): if name[:2] == '__' and name[-2:] == '__': raise AttributeError(name) func = self._FuncPtr(("s_" + name, self)) setattr(self, name, func) return func @need_symbol('WinDLL') class stdcallCFunctions(CFunctions): _dll = stdcall_dll(_ctypes_test.__file__) if __name__ == '__main__': unittest.main()