⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
plugins
/
View File Name :
cred_anonymous.py
# -*- test-case-name: twisted.test.test_strcred -*- # # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Cred plugin for anonymous logins. """ from zope.interface import implementer from twisted import plugin from twisted.cred.checkers import AllowAnonymousAccess from twisted.cred.credentials import IAnonymous from twisted.cred.strcred import ICheckerFactory anonymousCheckerFactoryHelp = """ This allows anonymous authentication for servers that support it. """ @implementer(ICheckerFactory, plugin.IPlugin) class AnonymousCheckerFactory: """ Generates checkers that will authenticate an anonymous request. """ authType = "anonymous" authHelp = anonymousCheckerFactoryHelp argStringFormat = "No argstring required." credentialInterfaces = (IAnonymous,) def generateChecker(self, argstring=""): return AllowAnonymousAccess() theAnonymousCheckerFactory = AnonymousCheckerFactory()