⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
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()