Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
snap /
core24 /
1587 /
usr /
lib /
python3.12 /
Delete
Unzip
Name
Size
Permission
Date
Action
__phello__
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
__pycache__
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
asyncio
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
collections
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
concurrent
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
ctypes
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
curses
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
dbm
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
email
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
encodings
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
html
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
http
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
importlib
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
json
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
lib-dynload
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
logging
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
multiprocessing
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
pydoc_data
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
re
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
sqlite3
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
test
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
tomllib
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
unittest
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
urllib
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
venv
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
wsgiref
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
xml
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
xmlrpc
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
zipfile
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
zoneinfo
[ DIR ]
drwxr-xr-x
2026-03-17 03:54
EXTERNALLY-MANAGED
645
B
-rw-r--r--
2026-03-03 12:15
LICENSE.txt
13.61
KB
-rw-r--r--
2026-03-03 12:15
__future__.py
5.1
KB
-rw-r--r--
2026-03-03 12:15
__hello__.py
227
B
-rw-r--r--
2026-03-03 12:15
_aix_support.py
3.93
KB
-rw-r--r--
2026-03-03 12:15
_collections_abc.py
31.33
KB
-rw-r--r--
2026-03-03 12:15
_compat_pickle.py
8.56
KB
-rw-r--r--
2026-03-03 12:15
_compression.py
5.55
KB
-rw-r--r--
2026-03-03 12:15
_distutils_system_mod.py
5.58
KB
-rw-r--r--
2026-03-03 12:15
_markupbase.py
14.31
KB
-rw-r--r--
2026-03-03 12:15
_osx_support.py
21.51
KB
-rw-r--r--
2026-03-03 12:15
_py_abc.py
6.04
KB
-rw-r--r--
2026-03-03 12:15
_pydatetime.py
89.94
KB
-rw-r--r--
2026-03-03 12:15
_pydecimal.py
223.85
KB
-rw-r--r--
2026-03-03 12:15
_pyio.py
91.4
KB
-rw-r--r--
2026-03-03 12:15
_pylong.py
8.83
KB
-rw-r--r--
2026-03-03 12:15
_sitebuiltins.py
3.05
KB
-rw-r--r--
2026-03-03 12:15
_strptime.py
24.04
KB
-rw-r--r--
2026-03-03 12:15
_sysconfigdata__linux_x86_64-linux-gnu.py
48.34
KB
-rw-r--r--
2026-03-03 12:15
_sysconfigdata__x86_64-linux-gnu.py
48.34
KB
-rw-r--r--
2026-03-03 12:15
_threading_local.py
7.05
KB
-rw-r--r--
2026-03-03 12:15
_weakrefset.py
5.75
KB
-rw-r--r--
2026-03-03 12:15
abc.py
6.38
KB
-rw-r--r--
2026-03-03 12:15
aifc.py
33.41
KB
-rw-r--r--
2026-03-03 12:15
antigravity.py
500
B
-rw-r--r--
2026-03-03 12:15
argparse.py
99.37
KB
-rw-r--r--
2026-03-03 12:15
ast.py
62.75
KB
-rw-r--r--
2026-03-03 12:15
base64.py
20.12
KB
-rwxr-xr-x
2026-03-03 12:15
bdb.py
31.7
KB
-rw-r--r--
2026-03-03 12:15
bisect.py
3.34
KB
-rw-r--r--
2026-03-03 12:15
bz2.py
11.57
KB
-rw-r--r--
2026-03-03 12:15
cProfile.py
6.4
KB
-rwxr-xr-x
2026-03-03 12:15
calendar.py
24.82
KB
-rw-r--r--
2026-03-03 12:15
cgi.py
33.61
KB
-rwxr-xr-x
2026-03-03 12:15
cgitb.py
12.13
KB
-rw-r--r--
2026-03-03 12:15
chunk.py
5.37
KB
-rw-r--r--
2026-03-03 12:15
cmd.py
14.52
KB
-rw-r--r--
2026-03-03 12:15
code.py
10.44
KB
-rw-r--r--
2026-03-03 12:15
codecs.py
36.01
KB
-rw-r--r--
2026-03-03 12:15
codeop.py
5.77
KB
-rw-r--r--
2026-03-03 12:15
colorsys.py
3.97
KB
-rw-r--r--
2026-03-03 12:15
compileall.py
20.12
KB
-rw-r--r--
2026-03-03 12:15
configparser.py
52.53
KB
-rw-r--r--
2026-03-03 12:15
contextlib.py
26.99
KB
-rw-r--r--
2026-03-03 12:15
contextvars.py
129
B
-rw-r--r--
2026-03-03 12:15
copy.py
8.21
KB
-rw-r--r--
2026-03-03 12:15
copyreg.py
7.44
KB
-rw-r--r--
2026-03-03 12:15
crypt.py
3.82
KB
-rw-r--r--
2026-03-03 12:15
csv.py
16
KB
-rw-r--r--
2026-03-03 12:15
dataclasses.py
60.31
KB
-rw-r--r--
2026-03-03 12:15
datetime.py
268
B
-rw-r--r--
2026-03-03 12:15
decimal.py
320
B
-rw-r--r--
2026-03-03 12:15
difflib.py
81.36
KB
-rw-r--r--
2026-03-03 12:15
dis.py
29.5
KB
-rw-r--r--
2026-03-03 12:15
doctest.py
103.98
KB
-rw-r--r--
2026-03-03 12:15
enum.py
79.72
KB
-rw-r--r--
2026-03-03 12:15
filecmp.py
9.95
KB
-rw-r--r--
2026-03-03 12:15
fileinput.py
15.35
KB
-rw-r--r--
2026-03-03 12:15
fnmatch.py
5.86
KB
-rw-r--r--
2026-03-03 12:15
fractions.py
37.17
KB
-rw-r--r--
2026-03-03 12:15
ftplib.py
33.92
KB
-rw-r--r--
2026-03-03 12:15
functools.py
37.23
KB
-rw-r--r--
2026-03-03 12:15
genericpath.py
5.44
KB
-rw-r--r--
2026-03-03 12:15
getopt.py
7.31
KB
-rw-r--r--
2026-03-03 12:15
getpass.py
5.85
KB
-rw-r--r--
2026-03-03 12:15
gettext.py
21.24
KB
-rw-r--r--
2026-03-03 12:15
glob.py
8.53
KB
-rw-r--r--
2026-03-03 12:15
graphlib.py
9.43
KB
-rw-r--r--
2026-03-03 12:15
gzip.py
24.28
KB
-rw-r--r--
2026-03-03 12:15
hashlib.py
9.13
KB
-rw-r--r--
2026-03-03 12:15
heapq.py
22.48
KB
-rw-r--r--
2026-03-03 12:15
hmac.py
7.54
KB
-rw-r--r--
2026-03-03 12:15
imaplib.py
52.43
KB
-rw-r--r--
2026-03-03 12:15
imghdr.py
4.29
KB
-rw-r--r--
2026-03-03 12:15
inspect.py
122.48
KB
-rw-r--r--
2026-03-03 12:15
io.py
3.5
KB
-rw-r--r--
2026-03-03 12:15
ipaddress.py
76.46
KB
-rw-r--r--
2026-03-03 12:15
keyword.py
1.05
KB
-rw-r--r--
2026-03-03 12:15
linecache.py
5.52
KB
-rw-r--r--
2026-03-03 12:15
locale.py
76.72
KB
-rw-r--r--
2026-03-03 12:15
lzma.py
12.97
KB
-rw-r--r--
2026-03-03 12:15
mailbox.py
77.06
KB
-rw-r--r--
2026-03-03 12:15
mailcap.py
9.11
KB
-rw-r--r--
2026-03-03 12:15
mimetypes.py
22.35
KB
-rw-r--r--
2026-03-03 12:15
modulefinder.py
23.14
KB
-rw-r--r--
2026-03-03 12:15
netrc.py
6.76
KB
-rw-r--r--
2026-03-03 12:15
nntplib.py
40.12
KB
-rw-r--r--
2026-03-03 12:15
ntpath.py
29.32
KB
-rw-r--r--
2026-03-03 12:15
nturl2path.py
2.82
KB
-rw-r--r--
2026-03-03 12:15
numbers.py
11.2
KB
-rw-r--r--
2026-03-03 12:15
opcode.py
12.87
KB
-rw-r--r--
2026-03-03 12:15
operator.py
10.71
KB
-rw-r--r--
2026-03-03 12:15
optparse.py
58.95
KB
-rw-r--r--
2026-03-03 12:15
os.py
38.85
KB
-rw-r--r--
2026-03-03 12:15
pathlib.py
49.95
KB
-rw-r--r--
2026-03-03 12:15
pdb.py
67.83
KB
-rwxr-xr-x
2026-03-03 12:15
pickle.py
63.38
KB
-rw-r--r--
2026-03-03 12:15
pickletools.py
91.66
KB
-rw-r--r--
2026-03-03 12:15
pipes.py
8.77
KB
-rw-r--r--
2026-03-03 12:15
pkgutil.py
17.85
KB
-rw-r--r--
2026-03-03 12:15
platform.py
42.32
KB
-rwxr-xr-x
2026-03-03 12:15
plistlib.py
27.91
KB
-rw-r--r--
2026-03-03 12:15
poplib.py
13.83
KB
-rw-r--r--
2026-03-03 12:15
posixpath.py
17.21
KB
-rw-r--r--
2026-03-03 12:15
pprint.py
23.59
KB
-rw-r--r--
2026-03-03 12:15
profile.py
22.55
KB
-rwxr-xr-x
2026-03-03 12:15
pstats.py
28.6
KB
-rw-r--r--
2026-03-03 12:15
pty.py
5.99
KB
-rw-r--r--
2026-03-03 12:15
py_compile.py
7.69
KB
-rw-r--r--
2026-03-03 12:15
pyclbr.py
11.13
KB
-rw-r--r--
2026-03-03 12:15
pydoc.py
110.44
KB
-rwxr-xr-x
2026-03-03 12:15
queue.py
11.23
KB
-rw-r--r--
2026-03-03 12:15
quopri.py
7.01
KB
-rwxr-xr-x
2026-03-03 12:15
random.py
33.87
KB
-rw-r--r--
2026-03-03 12:15
reprlib.py
6.42
KB
-rw-r--r--
2026-03-03 12:15
rlcompleter.py
7.64
KB
-rw-r--r--
2026-03-03 12:15
runpy.py
12.6
KB
-rw-r--r--
2026-03-03 12:15
sched.py
6.2
KB
-rw-r--r--
2026-03-03 12:15
secrets.py
1.94
KB
-rw-r--r--
2026-03-03 12:15
selectors.py
19.21
KB
-rw-r--r--
2026-03-03 12:15
shelve.py
8.36
KB
-rw-r--r--
2026-03-03 12:15
shlex.py
13.04
KB
-rw-r--r--
2026-03-03 12:15
shutil.py
56.76
KB
-rw-r--r--
2026-03-03 12:15
signal.py
2.44
KB
-rw-r--r--
2026-03-03 12:15
site.py
23.34
KB
-rw-r--r--
2026-03-03 12:15
smtplib.py
42.51
KB
-rwxr-xr-x
2026-03-03 12:15
sndhdr.py
7.27
KB
-rw-r--r--
2026-03-03 12:15
socket.py
36.53
KB
-rw-r--r--
2026-03-03 12:15
socketserver.py
27.2
KB
-rw-r--r--
2026-03-03 12:15
sre_compile.py
231
B
-rw-r--r--
2026-03-03 12:15
sre_constants.py
232
B
-rw-r--r--
2026-03-03 12:15
sre_parse.py
229
B
-rw-r--r--
2026-03-03 12:15
ssl.py
49.63
KB
-rw-r--r--
2026-03-03 12:15
stat.py
5.36
KB
-rw-r--r--
2026-03-03 12:15
statistics.py
49.05
KB
-rw-r--r--
2026-03-03 12:15
string.py
11.51
KB
-rw-r--r--
2026-03-03 12:15
stringprep.py
12.61
KB
-rw-r--r--
2026-03-03 12:15
struct.py
257
B
-rw-r--r--
2026-03-03 12:15
subprocess.py
86.65
KB
-rw-r--r--
2026-03-03 12:15
sunau.py
18.04
KB
-rw-r--r--
2026-03-03 12:15
symtable.py
10.5
KB
-rw-r--r--
2026-03-03 12:15
sysconfig.py
32
KB
-rw-r--r--
2026-03-03 12:15
tabnanny.py
11.26
KB
-rwxr-xr-x
2026-03-03 12:15
tarfile.py
109.92
KB
-rwxr-xr-x
2026-03-03 12:15
telnetlib.py
22.75
KB
-rw-r--r--
2026-03-03 12:15
tempfile.py
36.46
KB
-rw-r--r--
2026-03-03 12:15
textwrap.py
19.26
KB
-rw-r--r--
2026-03-03 12:15
this.py
1003
B
-rw-r--r--
2026-03-03 12:15
threading.py
58.71
KB
-rw-r--r--
2026-03-03 12:15
timeit.py
13.15
KB
-rwxr-xr-x
2026-03-03 12:15
token.py
2.42
KB
-rw-r--r--
2026-03-03 12:15
tokenize.py
20.72
KB
-rw-r--r--
2026-03-03 12:15
trace.py
28.5
KB
-rwxr-xr-x
2026-03-03 12:15
traceback.py
45.24
KB
-rw-r--r--
2026-03-03 12:15
tracemalloc.py
17.62
KB
-rw-r--r--
2026-03-03 12:15
tty.py
1.99
KB
-rw-r--r--
2026-03-03 12:15
turtle.py
142.93
KB
-rw-r--r--
2026-03-03 12:15
types.py
10.74
KB
-rw-r--r--
2026-03-03 12:15
typing.py
114.68
KB
-rw-r--r--
2026-03-03 12:15
uu.py
7.19
KB
-rwxr-xr-x
2026-03-03 12:15
uuid.py
28.96
KB
-rw-r--r--
2026-03-03 12:15
warnings.py
21.25
KB
-rw-r--r--
2026-03-03 12:15
wave.py
22.24
KB
-rw-r--r--
2026-03-03 12:15
weakref.py
21.01
KB
-rw-r--r--
2026-03-03 12:15
webbrowser.py
23.07
KB
-rwxr-xr-x
2026-03-03 12:15
xdrlib.py
5.8
KB
-rw-r--r--
2026-03-03 12:15
zipapp.py
7.37
KB
-rw-r--r--
2026-03-03 12:15
zipimport.py
27.47
KB
-rw-r--r--
2026-03-03 12:15
Save
Rename
"""Recognize image file formats based on their first few bytes.""" from os import PathLike import warnings __all__ = ["what"] warnings._deprecated(__name__, remove=(3, 13)) #-------------------------# # Recognize image headers # #-------------------------# def what(file, h=None): """Return the type of image contained in a file or byte stream.""" 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): """Test for JPEG data with JFIF or Exif markers; and raw JPEG.""" if h[6:10] in (b'JFIF', b'Exif'): return 'jpeg' elif h[:4] == b'\xff\xd8\xff\xdb': return 'jpeg' tests.append(test_jpeg) def test_png(h, f): """Verify if the image is a PNG.""" if h.startswith(b'\211PNG\r\n\032\n'): return 'png' tests.append(test_png) def test_gif(h, f): """Verify if the image is a GIF ('87 or '89 variants).""" if h[:6] in (b'GIF87a', b'GIF89a'): return 'gif' tests.append(test_gif) def test_tiff(h, f): """Verify if the image is a 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): """test for the SGI image library.""" if h.startswith(b'\001\332'): return 'rgb' tests.append(test_rgb) def test_pbm(h, f): """Verify if the image is a 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): """Verify if the image is a 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): """Verify if the image is a 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): """test for the Sun raster file.""" if h.startswith(b'\x59\xA6\x6A\x95'): return 'rast' tests.append(test_rast) def test_xbm(h, f): """Verify if the image is a X bitmap (X10 or X11).""" if h.startswith(b'#define '): return 'xbm' tests.append(test_xbm) def test_bmp(h, f): """Verify if the image is a BMP file.""" if h.startswith(b'BM'): return 'bmp' tests.append(test_bmp) def test_webp(h, f): """Verify if the image is a WebP.""" if h.startswith(b'RIFF') and h[8:12] == b'WEBP': return 'webp' tests.append(test_webp) def test_exr(h, f): """verify is the image ia a OpenEXR fileOpenEXR.""" 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()