403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.55
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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


W[S�@s�dZddlmZmZddlZddlmZddlmZddl	m
Z
ddlmZddl
mZmZd	Zd
Zeeej�Gdd�de��Ze�ZdS)
z;
Cred plugin for a file of the format 'username:password'.
�)�absolute_import�divisionN)�implementer)�plugin)�FilePasswordDB)�ICheckerFactory)�IUsernamePassword�IUsernameHashedPasswordz�
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.cCsLddlm}|��s$td|j��n ||���sD|j�dt|f�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%s: %s
)
Ztwisted.python.filepathr�strip�
ValueError�authType�isfile�errorOutput�write�invalidFileWarningr)�selfZ	argstringr�r�;/usr/lib/python3/dist-packages/twisted/plugins/cred_file.py�generateChecker-sz"FileCheckerFactory.generateCheckerN)�__name__�
__module__�__qualname__�__doc__r�fileCheckerFactoryHelpZauthHelpZargStringFormatrr	ZcredentialInterfaces�sys�stderrrrrrrrr
 sr
)rZ
__future__rrrZzope.interfacerZtwistedrZtwisted.cred.checkersrZtwisted.cred.strcredrZtwisted.cred.credentialsrr	rrZIPlugin�objectr
ZtheFileCheckerFactoryrrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit