403Webshell
Server IP : 46.62.235.243  /  Your IP : 216.73.216.254
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
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-312.pyc
�

oj���dZddlZddlmZddlmZddlmZddlm	Z	m
Z
ddlmZdZ
d	Zeeej�Gd
�d��Ze�Zy)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�B�eZdZdZdZeZdZee	fZ
ejZ
d�Zy)�FileCheckerFactoryz7
    A factory for instances of L{FilePasswordDB}.
    �filez,Location of a FilePasswordDB-formatted file.c���ddlm}|j�std|jz��||�j�s%|jjt�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
s   �;/usr/lib/python3/dist-packages/twisted/plugins/cred_file.py�generateCheckerz"FileCheckerFactory.generateChecker+se��	5���� ��5��
�
�E�F�F��)�$�+�+�-����"�"�&8�%9��I�;�b�#I�J��i�(�(�N)�__name__�
__module__�__qualname__�__doc__r�fileCheckerFactoryHelp�authHelp�argStringFormatrr�credentialInterfaces�sys�stderrrr�rrr
r
s2����H�%�H�D�O�-�/F�G���*�*�K�
)rr
)rr$�zope.interfacer�twistedr�twisted.cred.checkersr�twisted.cred.credentialsrr�twisted.cred.strcredrr r�IPluginr
�theFileCheckerFactoryr&rr�<module>r.s]���
�&��0�O�0���1��
�_�f�n�n�-�)�)�.�)�:+�,�r

Youez - 2016 - github.com/yon3zu
LinuXploit