⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.155
Server IP:
57.129.66.90
Server:
Linux vps-7f548908 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
CyberCP
/
plogical
/
__pycache__
/
View File Name :
hashPassword.cpython-310.pyc
o ߂�g� � @ s4 d dl Z d dlZd dlZdd� Zdd� Zdd� ZdS )� Nc C s, t �� j}t�|�� | �� ��� d | S �N�:)�uuid�uuid4�hex�hashlib�sha256�encode� hexdigest)�password�salt� r �+/usr/local/CyberCP/plogical/hashPassword.py� hash_password s "r c C s, | � d�\}}|t�|�� |�� ��� kS r )�splitr r r r )�hashed_password� user_passwordr r r r r �check_password s r c C s* | � d|� �� � }t�|��� }d�|�S )Nr z Basic {0})r r r r �format)�usernamer �credentials�hashed_credentialsr r r � generateToken s r )r �bcryptr r r r r r r r �<module> s