AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/twisted/plugins/__pycache__/cred_file.cpython-310.pyc
o

�b�@sxdZddlZddlmZddlmZddlmZddlm	Z	m
Z
ddlmZdZ
d	Zeeej�Gd
d�d��Ze�ZdS)z;
Cred plugin for a file of the format 'username:password'.
�N)�implementer)�plugin)�FilePasswordDB)�IUsernameHashedPassword�IUsernamePassword)�ICheckerFactoryz�
This checker expects to receive the location of a file that
conforms to the FilePasswordDB format. Each line in the file
should be of the format 'username:password', in plain text.
zWarning: not a valid filec@s2eZdZdZdZeZdZee	fZ
ejZ
dd�ZdS)�FileCheckerFactoryz7
    A factory for instances of L{FilePasswordDB}.
    �filez,Location of a FilePasswordDB-formatted file.cCsNddlm}|��std|j��||���s#|j�t�d|�d��t	|�S)z�
        This checker factory expects to get the location of a file.
        The file should conform to the format required by
        L{FilePasswordDB} (using defaults for all
        initialization parameters).
        r)�FilePathz%r requires a filenamez: �
)
�twisted.python.filepathr
�strip�
ValueError�authType�isfile�errorOutput�write�invalidFileWarningr)�self�	argstringr
�r�;/usr/lib/python3/dist-packages/twisted/plugins/cred_file.py�generateChecker+sz"FileCheckerFactory.generateCheckerN)�__name__�
__module__�__qualname__�__doc__r�fileCheckerFactoryHelp�authHelp�argStringFormatrr�credentialInterfaces�sys�stderrrrrrrrrsr)rr!�zope.interfacer�twistedr�twisted.cred.checkersr�twisted.cred.credentialsrr�twisted.cred.strcredrrr�IPluginr�theFileCheckerFactoryrrrr�<module>s



Anon7 - 2022
AnonSec Team