Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
zope /
component /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-05-01 14:25
testfiles
[ DIR ]
drwxr-xr-x
2026-05-01 14:25
tests
[ DIR ]
drwxr-xr-x
2026-05-01 14:25
__init__.py
2.68
KB
-rw-r--r--
2016-08-26 12:09
_api.py
8.83
KB
-rw-r--r--
2016-08-26 12:09
_compat.py
962
B
-rw-r--r--
2016-08-26 12:09
_declaration.py
1.87
KB
-rw-r--r--
2016-08-26 12:09
configure.zcml
444
B
-rw-r--r--
2016-08-26 12:09
event.py
1.2
KB
-rw-r--r--
2016-08-26 12:09
eventtesting.py
2.04
KB
-rw-r--r--
2016-08-26 12:09
factory.py
1.71
KB
-rw-r--r--
2016-08-26 12:09
globalregistry.py
2.67
KB
-rw-r--r--
2016-08-26 12:09
hookable.py
1.29
KB
-rw-r--r--
2016-08-26 12:09
hooks.py
4.18
KB
-rw-r--r--
2016-08-26 12:09
interface.py
4.25
KB
-rw-r--r--
2016-08-26 12:09
interfaces.py
16.28
KB
-rw-r--r--
2016-08-26 12:09
meta.zcml
1.12
KB
-rw-r--r--
2016-08-26 12:09
persistentregistry.py
2.05
KB
-rw-r--r--
2016-08-26 12:09
registry.py
2.14
KB
-rw-r--r--
2016-08-26 12:09
security.py
3.54
KB
-rw-r--r--
2016-08-26 12:09
standalonetests.py
1.18
KB
-rw-r--r--
2016-08-26 12:09
testing.py
1.23
KB
-rw-r--r--
2016-08-26 12:09
testlayer.py
4.09
KB
-rw-r--r--
2016-08-26 12:09
zcml.py
19.94
KB
-rw-r--r--
2016-08-26 12:09
Save
Rename
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE. # ############################################################################## """Factory object """ from zope.interface import implementer from zope.interface import implementedBy from zope.interface.declarations import Implements from zope.component.interfaces import IFactory @implementer(IFactory) class Factory(object): """Generic factory implementation. The purpose of this implementation is to provide a quick way of creating factories for classes, functions and other objects. """ def __init__(self, callable, title='', description='', interfaces=None): self._callable = callable self.title = title self.description = description self._interfaces = interfaces def __call__(self, *args, **kw): return self._callable(*args, **kw) def getInterfaces(self): if self._interfaces is not None: spec = Implements(*self._interfaces) spec.__name__ = getattr(self._callable, '__name__', '[callable]') return spec return implementedBy(self._callable) def __repr__(self): #pragma NO COVER return '<%s for %s>' % (self.__class__.__name__, repr(self._callable))