Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 216.73.216.206
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python38 /
lib /
python3.8 /
site-packages /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-04-04 09:00
_distutils_hack
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
certifi
[ DIR ]
drwxr-xr-x
2024-03-05 23:48
certifi-2018.4.16-py3.8.egg-info
[ DIR ]
drwxr-xr-x
2024-03-05 23:48
pip
[ DIR ]
drwxr-xr-x
2024-03-03 22:49
pip-22.2.1.dist-info
[ DIR ]
drwxr-xr-x
2024-03-03 22:49
pkg_resources
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
sentry_sdk
[ DIR ]
drwxr-xr-x
2024-03-05 23:48
sentry_sdk-0.7.10-py3.8.egg-info
[ DIR ]
drwxr-xr-x
2024-03-05 23:48
setuptools
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
setuptools-58.3.0.dist-info
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
six-1.12.0-py3.8.egg-info
[ DIR ]
drwxr-xr-x
2024-03-05 23:48
urllib3
[ DIR ]
drwxr-xr-x
2024-08-12 10:30
urllib3-1.26.6-py3.8.egg-info
[ DIR ]
drwxr-xr-x
2024-08-12 10:30
.sentry.conf
101
B
-rw-------
2025-04-04 08:00
NCSentry.py
1.49
KB
-rw-r--r--
2025-03-26 11:05
PySocks-1.5.7-py3.8.egg-info
322
B
-rw-r--r--
2020-07-10 11:16
distutils-precedence.pth
152
B
-rw-r--r--
2023-11-13 21:45
six.py
31.69
KB
-rw-r--r--
2018-12-10 00:59
socks.py
29.25
KB
-rw-r--r--
2016-05-21 21:54
sockshandler.py
2.84
KB
-rw-r--r--
2016-05-21 21:54
Save
Rename
#!/opt/alt/python38/bin/python3 import os import sentry_sdk import warnings class NCSentry: """ Simple Wrapper sentry = NCSentry() After successfully inited class we can use Sentry debug system: Report to Sentry: SentryClient.capture_message("test") SentryClient.capture_exception(Exception("MyAwsomeString")) """ __conflict_under_version = "0.19.2" def __init__(self, config_dir=None): self.sentry_args = {} if config_dir: dir_path = config_dir else: dir_path = os.path.dirname(os.path.realpath(__file__)) self.conf_path = os.path.join(dir_path, ".sentry.conf") self.construct_args() with open(self.conf_path) as fh: self.dsn = fh.read() self.client = sentry_sdk.init(self.dsn, **self.sentry_args) self.capture_message = sentry_sdk.capture_message self.capture_exception = sentry_sdk.capture_exception def construct_args(self): try: import pkg_resources _conflict_under_version = pkg_resources.extern.packaging.version.Version( self.__conflict_under_version ) if ( pkg_resources.get_distribution("sentry-sdk").parsed_version >= _conflict_under_version ): self.sentry_args["traces_sample_rate"] = 0 except Exception as err: warnings.warn(f"Can't setup sentry default args {err}")