Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
trac /
util /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
46.03
KB
-rw-r--r--
autoreload.py
4.35
KB
-rw-r--r--
compat.py
2.08
KB
-rw-r--r--
concurrency.py
1017
B
-rw-r--r--
daemon.py
3.19
KB
-rw-r--r--
datefmt.py
42.91
KB
-rw-r--r--
dist.py
684
B
-rw-r--r--
html.py
34.34
KB
-rw-r--r--
presentation.py
13.88
KB
-rw-r--r--
text.py
26.92
KB
-rw-r--r--
translation.py
15.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : compat.py
# -*- coding: utf-8 -*- # # Copyright (C) 2006-2021 Edgewall Software # Copyright (C) 2006 Matthew Good <trac@matt-good.net> # Copyright (C) 2006 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at https://trac.edgewall.org/wiki/TracLicense. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at https://trac.edgewall.org/log/. import errno import os import subprocess import time # Windows doesn't have a crypt module by default. try: from crypt import crypt except ImportError: try: from passlib.hash import des_crypt except ImportError: crypt = None else: def crypt(secret, salt): # encrypt method deprecated in favor of hash in passlib 1.7 if hasattr(des_crypt, 'hash'): return des_crypt.using(salt=salt).hash(secret) else: return des_crypt.encrypt(secret, salt=salt) def rpartition(s, sep): return s.rpartition(sep) # An error is raised by subprocess if we ever pass close_fds=True on Windows. # We want it to be True on all other platforms to not leak file descriptors. close_fds = os.name != 'nt' def wait_for_file_mtime_change(filename): """This function is typically called before a file save operation, waiting if necessary for the file modification time to change. The purpose is to avoid successive file updates going undetected by the caching mechanism that depends on a change in the file modification time to know when the file should be reparsed.""" from trac.util import touch_file try: mtime = os.stat(filename).st_mtime touch_file(filename) while mtime == os.stat(filename).st_mtime: time.sleep(1e-3) touch_file(filename) except OSError as e: if e.errno == errno.ENOENT: pass else: raise
Close