📁
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: __init__.py
from functools import wraps import grpc from grpc import Channel, Server, intercept_channel from grpc.aio import Channel as AsyncChannel from grpc.aio import Server as AsyncServer from sentry_sdk.integrations import Integration from sentry_sdk.utils import parse_version from .client import ClientInterceptor from .server import ServerInterceptor from .aio.server import ServerInterceptor as AsyncServerInterceptor from .aio.client import ( SentryUnaryUnaryClientInterceptor as AsyncUnaryUnaryClientInterceptor, ) from .aio.client import ( SentryUnaryStreamClientInterceptor as AsyncUnaryStreamClientIntercetor, ) from typing import TYPE_CHECKING, Any, Optional, Sequence # Hack to get new Python features working in older versions # without introducing a hard dependency on `typing_extensions` # from: https://stackoverflow.com/a/71944042/300572 if TYPE_CHECKING: from typing import ParamSpec, Callable else: # Fake ParamSpec class ParamSpec: def __init__(self, _): self.args = None self.kwargs = None # Callable[anything] will return None class _Callable: def __getitem__(self, _): return None # Make instances Callable = _Callable() P = ParamSpec("P") GRPC_VERSION = parse_version(grpc.__version__) def _wrap_channel_sync(func: Callable[P, Channel]) -> Callable[P, Channel]: "Wrapper for synchronous secure and insecure channel." @wraps(func) def patched_channel(*args: Any, **kwargs: Any) -> Channel: channel = func(*args, **kwargs) if not ClientInterceptor._is_intercepted: ClientInterceptor._is_intercepted = True return intercept_channel(channel, ClientInterceptor()) else: return channel return patched_channel def _wrap_intercept_channel(func: Callable[P, Channel]) -> Callable[P, Channel]: @wraps(func) def patched_intercept_channel( channel: Channel, *interceptors: grpc.ServerInterceptor ) -> Channel: if ClientInterceptor._is_intercepted: interceptors = tuple( [ interceptor for interceptor in interceptors if not isinstance(interceptor, ClientInterceptor) ] ) else: interceptors = interceptors return intercept_channel(channel, *interceptors) return patched_intercept_channel # type: ignore def _wrap_channel_async(func: Callable[P, AsyncChannel]) -> Callable[P, AsyncChannel]: "Wrapper for asynchronous secure and insecure channel." @wraps(func) def patched_channel( # type: ignore *args: P.args, interceptors: Optional[Sequence[grpc.aio.ClientInterceptor]] = None, **kwargs: P.kwargs, ) -> Channel: sentry_interceptors = [ AsyncUnaryUnaryClientInterceptor(), AsyncUnaryStreamClientIntercetor(), ] interceptors = [*sentry_interceptors, *(interceptors or [])] return func(*args, interceptors=interceptors, **kwargs) # type: ignore return patched_channel # type: ignore def _wrap_sync_server(func: Callable[P, Server]) -> Callable[P, Server]: """Wrapper for synchronous server.""" @wraps(func) def patched_server( # type: ignore *args: P.args, interceptors: Optional[Sequence[grpc.ServerInterceptor]] = None, **kwargs: P.kwargs, ) -> Server: interceptors = [ interceptor for interceptor in interceptors or [] if not isinstance(interceptor, ServerInterceptor) ] server_interceptor = ServerInterceptor() interceptors = [server_interceptor, *(interceptors or [])] return func(*args, interceptors=interceptors, **kwargs) # type: ignore return patched_server # type: ignore def _wrap_async_server(func: Callable[P, AsyncServer]) -> Callable[P, AsyncServer]: """Wrapper for asynchronous server.""" @wraps(func) def patched_aio_server( # type: ignore *args: P.args, interceptors: Optional[Sequence[grpc.ServerInterceptor]] = None, **kwargs: P.kwargs, ) -> Server: server_interceptor = AsyncServerInterceptor() interceptors = [ server_interceptor, *(interceptors or []), ] # type: Sequence[grpc.ServerInterceptor] try: # We prefer interceptors as a list because of compatibility with # opentelemetry https://github.com/getsentry/sentry-python/issues/4389 # However, prior to grpc 1.42.0, only tuples were accepted, so we # have no choice there. if GRPC_VERSION is not None and GRPC_VERSION < (1, 42, 0): interceptors = tuple(interceptors) except Exception: pass return func(*args, interceptors=interceptors, **kwargs) # type: ignore return patched_aio_server # type: ignore class GRPCIntegration(Integration): identifier = "grpc" @staticmethod def setup_once() -> None: import grpc grpc.insecure_channel = _wrap_channel_sync(grpc.insecure_channel) grpc.secure_channel = _wrap_channel_sync(grpc.secure_channel) grpc.intercept_channel = _wrap_intercept_channel(grpc.intercept_channel) grpc.aio.insecure_channel = _wrap_channel_async(grpc.aio.insecure_channel) grpc.aio.secure_channel = _wrap_channel_async(grpc.aio.secure_channel) grpc.server = _wrap_sync_server(grpc.server) grpc.aio.server = _wrap_async_server(grpc.aio.server)
Save