Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.11/site-packages/pymysql/__pycache__/ |
Upload File : |
� S�_� � �� � d Z ddlmZ ddlmZ ddlmZmZ ddlm Z dZ n # e$ r dZ Y nw xY wdd lm Z dd lZdZdZ e ej d� � Zd � Zd� Zdad� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd S )z Implements auth methods � )�OperationalError� )�default_backend)� serialization�hashes)�paddingTF)�partialN� �sha1c �` � | sdS t | � � � � � }t |� � � � � }t � � }|� |dt � � � |� |� � |� � � }t ||� � S )z'Scramble used for mysql_native_password� N)�sha1_new�digest�update�SCRAMBLE_LENGTH� _my_crypt)�password�message�stage1�stage2�s�results �2/usr/lib/python3.11/site-packages/pymysql/_auth.py�scramble_native_passwordr s� � �� ��s� �h� � � &� &� (� (�F� �f� � � $� $� &� &�F�� � �A��H�H�W�%�o�%� &�'�'�'��H�H�V���� �X�X�Z�Z�F��V�V�$�$�$r c � � t | � � }t t |� � � � D ]}||xx || z cc<