⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.203
Server IP:
104.21.96.1
Server:
Linux vmi2315822.contaboserver.net 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.3.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
CyberCP
/
backup
/
__pycache__
/
View File Name :
backupRouter.cpython-310.pyc
o (36hC � @ s G d d� d�Z dS )c @ s2 e Zd ZdZdd� Zdd� Zdd� Zdd d �ZdS )�backupRouterz\ A router to control all database operations on models in the auth application. c K � |j jdkrdS dS )z= Attempts to read auth models go to auth_db. �backup�rootdbN��_meta� app_label��self�model�hints� r �)/usr/local/CyberCP/backup/backupRouter.py�db_for_read � zbackupRouter.db_for_readc K r )z> Attempts to write auth models go to auth_db. r r Nr r r r r �db_for_write r zbackupRouter.db_for_writec K s |j jdks|j jdkrdS dS )zI Allow relations if a model in the auth app is involved. r TNr )r �obj1�obj2r r r r �allow_relation s zbackupRouter.allow_relationNc K s |dkr|dkS dS )zX Make sure the auth app only appears in the 'auth_db' database. r r Nr )r �dbr � model_namer r r r � allow_migrate s zbackupRouter.allow_migrate)N)�__name__� __module__�__qualname__�__doc__r r r r r r r r r s r N)r r r r r �<module> s