403Webshell
Server IP : 93.115.150.27  /  Your IP : 216.73.216.221
Web Server : LiteSpeed
System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
User : dorfakkh ( 1797)
PHP Version : 8.1.34
Disable Function : show_source, system, passthru, exec, popen, proc_open, mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3.6/site-packages/zope/component/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/zope/component/__pycache__/security.cpython-36.pyc
3

,�W)�@s�dZddlmZddlmZddlmZddlmZddlmZddlm	Z	ddl
mZdd	l
mZdd
l
m
Z
ddlmZdZGd
d�de�Zdd�Zddd�Zdd�Zdd�ZdS)z5zope.security support for the configuration handlers
�)�
providedBy)�	ProxyBase)�getProxiedObject)�LocatingTrustedAdapterFactory)�LocatingUntrustedAdapterFactory)�TrustedAdapterFactory)�Checker)�
CheckerPublic)�InterfaceChecker)�Proxyzzope.Publicc@s eZdZdZdd�Zee�ZdS)�PermissionProxy�__Security_checker__cCstt|��S)N)rr)�self�r�/usr/lib/python3.6/security.py�__providedBy__"szPermissionProxy.__providedBy__N)r
)�__name__�
__module__�__qualname__�	__slots__r�propertyrrrrrsrcCsx|r|rdg}|tkrt}i}|r<x|D]}|||<q,W|rlx*|D]"}x|jdd�D]}|||<qXWqFWt|�}|S)N�__call__T)�all)�PublicPermissionr	�namesr)Z_context�
permissionZallowed_interfaceZallowed_attributesZrequire�name�i�checkerrrr�_checker&s

rNcCsH|dkr6|dks|dkr td��|tkr,t}t||�}t|�}||_|S)z�Try to get the object proxied with the `checker`, but not too soon

    We really don't want to proxy the object unless we need to.
    Nz<Required arguments: checker or both provides and permissions)�
ValueErrorrr	r
rr
)�obr�providesrrrr�proxify9s
r#cs.|tkrt}t||����fdd�}�|_|S)Ncs6�|�}y
�|_Wntk
r0t|��}YnX|S)N)r
�AttributeErrorr)�argsr!)r�original_factoryrr�factoryOs
z!protectedFactory.<locals>.factory)rr	r
r')r&r"rr'r)rr&r�protectedFactoryJs
r(cCsJ|tkrt}|s |dk	r6|tk	r6|r,t|�St|�Sn|rBt|�S|SdS)N)rr	rrr)r'rZlocateZtrustedrrr�securityAdapterFactoryYs
r))NNN)�__doc__Zzope.interfacerZ
zope.proxyrrZzope.security.adapterrrrZzope.security.checkerrr	r
Zzope.security.proxyrrrrr#r(r)rrrr�<module>s 


Youez - 2016 - github.com/yon3zu
LinuXploit