Linux server322.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
LiteSpeed
Server IP : 198.54.115.172 & Your IP : 216.73.216.179
Domains :
Cant Read [ /etc/named.conf ]
User : fourgwnl
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python310 /
lib64 /
python3.10 /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
asyncio
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
collections
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
concurrent
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
config-3.10-x86_64-linux-gnu
[ DIR ]
drwxr-xr-x
2025-07-22 09:06
ctypes
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
curses
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
dbm
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
distutils
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
email
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
encodings
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
ensurepip
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
html
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
http
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
importlib
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
json
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
lib-dynload
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
lib2to3
[ DIR ]
drwxr-xr-x
2025-07-22 09:07
logging
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
multiprocessing
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
pydoc_data
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
site-packages
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
sqlite3
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
unittest
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
urllib
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
venv
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
wsgiref
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
xml
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
xmlrpc
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
zoneinfo
[ DIR ]
drwxr-xr-x
2025-07-22 09:04
LICENSE.txt
13.61
KB
-rw-r--r--
2025-06-03 18:23
__future__.py
5.03
KB
-rw-r--r--
2025-06-03 18:23
__phello__.foo.py
64
B
-rw-r--r--
2025-06-03 18:23
_aix_support.py
3.19
KB
-rw-r--r--
2025-06-03 18:23
_bootsubprocess.py
2.61
KB
-rw-r--r--
2025-06-03 18:23
_collections_abc.py
31.53
KB
-rw-r--r--
2025-06-03 18:23
_compat_pickle.py
8.54
KB
-rw-r--r--
2025-06-03 18:23
_compression.py
5.55
KB
-rw-r--r--
2025-06-03 18:23
_markupbase.py
14.31
KB
-rw-r--r--
2025-06-03 18:23
_osx_support.py
21.28
KB
-rw-r--r--
2025-06-03 18:23
_py_abc.py
6.04
KB
-rw-r--r--
2025-06-03 18:23
_pydecimal.py
223.32
KB
-rw-r--r--
2025-06-03 18:23
_pyio.py
92.25
KB
-rw-r--r--
2025-06-03 18:23
_sitebuiltins.py
3.05
KB
-rw-r--r--
2025-06-03 18:23
_strptime.py
24.68
KB
-rw-r--r--
2025-06-03 18:23
_sysconfigdata__linux_x86_64-linux-gnu.py
40.38
KB
-rw-r--r--
2025-06-18 15:53
_sysconfigdata_d_linux_x86_64-linux-gnu.py
39.81
KB
-rw-r--r--
2025-06-18 15:42
_threading_local.py
7.05
KB
-rw-r--r--
2025-06-03 18:23
_weakrefset.py
5.78
KB
-rw-r--r--
2025-06-03 18:23
abc.py
6.37
KB
-rw-r--r--
2025-06-03 18:23
aifc.py
31.84
KB
-rw-r--r--
2025-06-03 18:23
antigravity.py
500
B
-rw-r--r--
2025-06-03 18:23
argparse.py
96.23
KB
-rw-r--r--
2025-06-03 18:23
ast.py
58.5
KB
-rw-r--r--
2025-06-03 18:23
asynchat.py
11.25
KB
-rw-r--r--
2025-06-03 18:23
asyncore.py
19.79
KB
-rw-r--r--
2025-06-03 18:23
base64.py
20.37
KB
-rwxr-xr-x
2025-06-03 18:23
bdb.py
31.64
KB
-rw-r--r--
2025-06-03 18:23
binhex.py
14.44
KB
-rw-r--r--
2025-06-03 18:23
bisect.py
3.06
KB
-rw-r--r--
2025-06-03 18:23
bz2.py
11.57
KB
-rw-r--r--
2025-06-03 18:23
cProfile.py
6.21
KB
-rwxr-xr-x
2025-06-03 18:23
calendar.py
24
KB
-rw-r--r--
2025-06-03 18:23
cgi.py
33.31
KB
-rwxr-xr-x
2025-06-03 18:23
cgitb.py
11.81
KB
-rw-r--r--
2025-06-03 18:23
chunk.py
5.31
KB
-rw-r--r--
2025-06-03 18:23
cmd.py
14.51
KB
-rw-r--r--
2025-06-03 18:23
code.py
10.37
KB
-rw-r--r--
2025-06-03 18:23
codecs.py
35.85
KB
-rw-r--r--
2025-06-03 18:23
codeop.py
5.48
KB
-rw-r--r--
2025-06-03 18:23
colorsys.py
3.92
KB
-rw-r--r--
2025-06-03 18:23
compileall.py
19.78
KB
-rw-r--r--
2025-06-03 18:23
configparser.py
53.33
KB
-rw-r--r--
2025-06-03 18:23
contextlib.py
25.28
KB
-rw-r--r--
2025-06-03 18:23
contextvars.py
129
B
-rw-r--r--
2025-06-03 18:23
copy.py
8.48
KB
-rw-r--r--
2025-06-03 18:23
copyreg.py
7.25
KB
-rw-r--r--
2025-06-03 18:23
crypt.py
3.76
KB
-rw-r--r--
2025-06-03 18:23
csv.py
15.65
KB
-rw-r--r--
2025-06-03 18:23
dataclasses.py
55.07
KB
-rw-r--r--
2025-06-03 18:23
datetime.py
86.02
KB
-rw-r--r--
2025-06-03 18:23
decimal.py
320
B
-rw-r--r--
2025-06-03 18:23
difflib.py
81.36
KB
-rw-r--r--
2025-06-03 18:23
dis.py
19.55
KB
-rw-r--r--
2025-06-03 18:23
doctest.py
102.68
KB
-rw-r--r--
2025-06-03 18:23
enum.py
38.9
KB
-rw-r--r--
2025-06-03 18:23
filecmp.py
9.94
KB
-rw-r--r--
2025-06-03 18:23
fileinput.py
16.06
KB
-rw-r--r--
2025-06-03 18:23
fnmatch.py
6.56
KB
-rw-r--r--
2025-06-03 18:23
fractions.py
27.58
KB
-rw-r--r--
2025-06-03 18:23
ftplib.py
34.66
KB
-rw-r--r--
2025-06-03 18:23
functools.py
37.18
KB
-rw-r--r--
2025-06-03 18:23
genericpath.py
5.12
KB
-rw-r--r--
2025-06-03 18:23
getopt.py
7.31
KB
-rw-r--r--
2025-06-03 18:23
getpass.py
5.85
KB
-rw-r--r--
2025-06-03 18:23
gettext.py
26.63
KB
-rw-r--r--
2025-06-03 18:23
glob.py
7.7
KB
-rw-r--r--
2025-06-03 18:23
graphlib.py
9.35
KB
-rw-r--r--
2025-06-03 18:23
gzip.py
21.34
KB
-rw-r--r--
2025-06-03 18:23
hashlib.py
9.99
KB
-rw-r--r--
2025-06-03 18:23
heapq.py
22.34
KB
-rw-r--r--
2025-06-03 18:23
hmac.py
7.54
KB
-rw-r--r--
2025-06-03 18:23
imaplib.py
53.92
KB
-rw-r--r--
2025-06-03 18:23
imghdr.py
3.72
KB
-rw-r--r--
2025-06-03 18:23
imp.py
10.34
KB
-rw-r--r--
2025-06-03 18:23
inspect.py
121.46
KB
-rw-r--r--
2025-06-03 18:23
io.py
4.1
KB
-rw-r--r--
2025-06-03 18:23
ipaddress.py
78.94
KB
-rw-r--r--
2025-06-03 18:23
keyword.py
1.04
KB
-rw-r--r--
2025-06-03 18:23
linecache.py
5.56
KB
-rw-r--r--
2025-06-03 18:23
locale.py
76.29
KB
-rw-r--r--
2025-06-03 18:23
lzma.py
12.97
KB
-rw-r--r--
2025-06-03 18:23
mailbox.py
76.95
KB
-rw-r--r--
2025-06-03 18:23
mailcap.py
8.9
KB
-rw-r--r--
2025-06-03 18:23
mimetypes.py
22.01
KB
-rw-r--r--
2025-06-03 18:23
modulefinder.py
23.83
KB
-rw-r--r--
2025-06-03 18:23
netrc.py
5.61
KB
-rw-r--r--
2025-06-03 18:23
nntplib.py
40.06
KB
-rw-r--r--
2025-06-03 18:23
ntpath.py
29.24
KB
-rw-r--r--
2025-06-03 18:23
nturl2path.py
2.82
KB
-rw-r--r--
2025-06-03 18:23
numbers.py
10.11
KB
-rw-r--r--
2025-06-03 18:23
opcode.py
5.76
KB
-rw-r--r--
2025-06-03 18:23
operator.py
10.5
KB
-rw-r--r--
2025-06-03 18:23
optparse.py
58.95
KB
-rw-r--r--
2025-06-03 18:23
os.py
38.63
KB
-rw-r--r--
2025-06-03 18:23
pathlib.py
48.41
KB
-rw-r--r--
2025-06-03 18:23
pdb.py
61.76
KB
-rwxr-xr-x
2025-06-03 18:23
pickle.py
63.43
KB
-rw-r--r--
2025-06-03 18:23
pickletools.py
91.29
KB
-rw-r--r--
2025-06-03 18:23
pipes.py
8.71
KB
-rw-r--r--
2025-06-03 18:23
pkgutil.py
24
KB
-rw-r--r--
2025-06-03 18:23
platform.py
41.05
KB
-rwxr-xr-x
2025-06-03 18:23
plistlib.py
27.69
KB
-rw-r--r--
2025-06-03 18:23
poplib.py
14.84
KB
-rw-r--r--
2025-06-03 18:23
posixpath.py
16.05
KB
-rw-r--r--
2025-06-03 18:23
pprint.py
23.87
KB
-rw-r--r--
2025-06-03 18:23
profile.py
22.36
KB
-rwxr-xr-x
2025-06-03 18:23
pstats.py
28.64
KB
-rw-r--r--
2025-06-03 18:23
pty.py
5.09
KB
-rw-r--r--
2025-06-03 18:23
py_compile.py
7.71
KB
-rw-r--r--
2025-06-18 15:40
pyclbr.py
11.13
KB
-rw-r--r--
2025-06-03 18:23
pydoc.py
107.03
KB
-rwxr-xr-x
2025-06-03 18:23
queue.py
11.23
KB
-rw-r--r--
2025-06-03 18:23
quopri.py
7.11
KB
-rwxr-xr-x
2025-06-03 18:23
random.py
32.44
KB
-rw-r--r--
2025-06-03 18:23
re.py
15.49
KB
-rw-r--r--
2025-06-03 18:23
reprlib.py
5.14
KB
-rw-r--r--
2025-06-03 18:23
rlcompleter.py
7.63
KB
-rw-r--r--
2025-06-03 18:23
runpy.py
12.8
KB
-rw-r--r--
2025-06-03 18:23
sched.py
6.2
KB
-rw-r--r--
2025-06-03 18:23
secrets.py
1.99
KB
-rw-r--r--
2025-06-03 18:23
selectors.py
19.08
KB
-rw-r--r--
2025-06-03 18:23
shelve.py
8.36
KB
-rw-r--r--
2025-06-03 18:23
shlex.py
13.18
KB
-rw-r--r--
2025-06-03 18:23
shutil.py
53.29
KB
-rw-r--r--
2025-06-03 18:23
signal.py
2.38
KB
-rw-r--r--
2025-06-03 18:23
site.py
22.39
KB
-rw-r--r--
2025-06-03 18:23
smtpd.py
34.35
KB
-rwxr-xr-x
2025-06-03 18:23
smtplib.py
44.37
KB
-rwxr-xr-x
2025-06-03 18:23
sndhdr.py
6.93
KB
-rw-r--r--
2025-06-03 18:23
socket.py
36.14
KB
-rw-r--r--
2025-06-03 18:23
socketserver.py
26.66
KB
-rw-r--r--
2025-06-03 18:23
sre_compile.py
27.32
KB
-rw-r--r--
2025-06-03 18:23
sre_constants.py
7.01
KB
-rw-r--r--
2025-06-03 18:23
sre_parse.py
39.82
KB
-rw-r--r--
2025-06-03 18:23
ssl.py
52.63
KB
-rw-r--r--
2025-06-03 18:23
stat.py
5.36
KB
-rw-r--r--
2025-06-03 18:23
statistics.py
42.19
KB
-rw-r--r--
2025-06-03 18:23
string.py
10.32
KB
-rw-r--r--
2025-06-03 18:23
stringprep.py
12.61
KB
-rw-r--r--
2025-06-03 18:23
struct.py
257
B
-rw-r--r--
2025-06-03 18:23
subprocess.py
82.93
KB
-rw-r--r--
2025-06-03 18:23
sunau.py
17.73
KB
-rw-r--r--
2025-06-03 18:23
symtable.py
9.98
KB
-rw-r--r--
2025-06-03 18:23
sysconfig.py
26.96
KB
-rw-r--r--
2025-06-03 18:23
tabnanny.py
11.05
KB
-rwxr-xr-x
2025-06-03 18:23
tarfile.py
108.99
KB
-rwxr-xr-x
2025-06-03 18:23
telnetlib.py
22.71
KB
-rw-r--r--
2025-06-03 18:23
tempfile.py
28.78
KB
-rw-r--r--
2025-06-03 18:23
textwrap.py
19.31
KB
-rw-r--r--
2025-06-03 18:23
this.py
1003
B
-rw-r--r--
2025-06-03 18:23
threading.py
55.41
KB
-rw-r--r--
2025-06-18 15:40
timeit.py
13.19
KB
-rwxr-xr-x
2025-06-03 18:23
token.py
2.33
KB
-rw-r--r--
2025-06-03 18:23
tokenize.py
25.31
KB
-rw-r--r--
2025-06-03 18:23
trace.py
28.54
KB
-rwxr-xr-x
2025-06-03 18:23
traceback.py
25.61
KB
-rw-r--r--
2025-06-03 18:23
tracemalloc.py
17.62
KB
-rw-r--r--
2025-06-03 18:23
tty.py
879
B
-rw-r--r--
2025-06-03 18:23
types.py
9.88
KB
-rw-r--r--
2025-06-03 18:23
typing.py
90.39
KB
-rw-r--r--
2025-06-03 18:23
uu.py
7.11
KB
-rw-r--r--
2025-06-18 15:55
uuid.py
26.86
KB
-rw-r--r--
2025-06-03 18:23
warnings.py
19.23
KB
-rw-r--r--
2025-06-03 18:23
wave.py
17.58
KB
-rw-r--r--
2025-06-03 18:23
weakref.py
21.05
KB
-rw-r--r--
2025-06-03 18:23
webbrowser.py
23.69
KB
-rwxr-xr-x
2025-06-03 18:23
xdrlib.py
5.77
KB
-rw-r--r--
2025-06-03 18:23
zipapp.py
7.36
KB
-rw-r--r--
2025-06-03 18:23
zipfile.py
88.09
KB
-rw-r--r--
2025-06-03 18:23
zipimport.py
30.17
KB
-rw-r--r--
2025-06-03 18:23
Save
Rename
"""Recognize image file formats based on their first few bytes.""" from os import PathLike __all__ = ["what"] #-------------------------# # Recognize image headers # #-------------------------# def what(file, h=None): f = None try: if h is None: if isinstance(file, (str, PathLike)): f = open(file, 'rb') h = f.read(32) else: location = file.tell() h = file.read(32) file.seek(location) for tf in tests: res = tf(h, f) if res: return res finally: if f: f.close() return None #---------------------------------# # Subroutines per image file type # #---------------------------------# tests = [] def test_jpeg(h, f): """JPEG data in JFIF or Exif format""" if h[6:10] in (b'JFIF', b'Exif'): return 'jpeg' tests.append(test_jpeg) def test_png(h, f): if h.startswith(b'\211PNG\r\n\032\n'): return 'png' tests.append(test_png) def test_gif(h, f): """GIF ('87 and '89 variants)""" if h[:6] in (b'GIF87a', b'GIF89a'): return 'gif' tests.append(test_gif) def test_tiff(h, f): """TIFF (can be in Motorola or Intel byte order)""" if h[:2] in (b'MM', b'II'): return 'tiff' tests.append(test_tiff) def test_rgb(h, f): """SGI image library""" if h.startswith(b'\001\332'): return 'rgb' tests.append(test_rgb) def test_pbm(h, f): """PBM (portable bitmap)""" if len(h) >= 3 and \ h[0] == ord(b'P') and h[1] in b'14' and h[2] in b' \t\n\r': return 'pbm' tests.append(test_pbm) def test_pgm(h, f): """PGM (portable graymap)""" if len(h) >= 3 and \ h[0] == ord(b'P') and h[1] in b'25' and h[2] in b' \t\n\r': return 'pgm' tests.append(test_pgm) def test_ppm(h, f): """PPM (portable pixmap)""" if len(h) >= 3 and \ h[0] == ord(b'P') and h[1] in b'36' and h[2] in b' \t\n\r': return 'ppm' tests.append(test_ppm) def test_rast(h, f): """Sun raster file""" if h.startswith(b'\x59\xA6\x6A\x95'): return 'rast' tests.append(test_rast) def test_xbm(h, f): """X bitmap (X10 or X11)""" if h.startswith(b'#define '): return 'xbm' tests.append(test_xbm) def test_bmp(h, f): if h.startswith(b'BM'): return 'bmp' tests.append(test_bmp) def test_webp(h, f): if h.startswith(b'RIFF') and h[8:12] == b'WEBP': return 'webp' tests.append(test_webp) def test_exr(h, f): if h.startswith(b'\x76\x2f\x31\x01'): return 'exr' tests.append(test_exr) #--------------------# # Small test program # #--------------------# def test(): import sys recursive = 0 if sys.argv[1:] and sys.argv[1] == '-r': del sys.argv[1:2] recursive = 1 try: if sys.argv[1:]: testall(sys.argv[1:], recursive, 1) else: testall(['.'], recursive, 1) except KeyboardInterrupt: sys.stderr.write('\n[Interrupted]\n') sys.exit(1) def testall(list, recursive, toplevel): import sys import os for filename in list: if os.path.isdir(filename): print(filename + '/:', end=' ') if recursive or toplevel: print('recursing down:') import glob names = glob.glob(os.path.join(glob.escape(filename), '*')) testall(names, recursive, 0) else: print('*** directory (use -r) ***') else: print(filename + ':', end=' ') sys.stdout.flush() try: print(what(filename)) except OSError: print('*** not found ***') if __name__ == '__main__': test()