403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
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_unix.cpython-314.pyc
+
Dfj?����Rt^RIHt^RIHt^RIHt^RIHt^RI	H
t
^RIHt^RI
HtRt]!]4!R	R
44tRt]!]]P$4!RR
44t]!4tR#)z%
Cred plugin for UNIX user accounts.
)�implementer)�plugin)�ICredentialsChecker)�IUsernamePassword)�UnauthorizedLogin)�ICheckerFactory)�deferc��^RIpVf\R4h\V\4'dVPR4p\V\4'dVPR4pVPW4p\V\4'dVPR4pW08H# \dRpL�i;i \dR#i;i)ab
Use L{crypt.crypt} to Verify that an unencrypted
password matches the encrypted password.

@param crypted: The encrypted password, obtained from
                the Unix password database or Unix shadow
                password database.
@param pw: The unencrypted password.
@return: L{True} if there is successful match, else L{False}.
@rtype: L{bool}
Nz(cred_unix not supported on this platform�utf-8F)�crypt�ImportError�NotImplementedError�
isinstance�bytes�decode�OSError)�crypted�pwr�
crypted_checks&&  �;/usr/lib/python3/dist-packages/twisted/plugins/cred_unix.py�verifyCryptedPasswordrs�����
�}�!�"L�M�M��"�e���
�Y�Y�w�
���'�5�!�!��.�.��)������B�0�
��m�U�+�+�)�0�0��9�M��'�'������������s#�B �$;B3� 
B0�/B0�3C�Cc�<a�]tRt^5toRt]3tRtRtRt	Rt
VtR#)�UNIXCheckera
A credentials checker for a UNIX server. This will check that
an authenticating username/password is a valid user on the system.

Does not work on Windows.

Right now this supports Python's pwd and spwd modules, if they are
installed. It does not support PAM.
c�J�\V\4'dVPR4pVPV4PpVR9dR#\WC4'd\P!V4#R# \d"\P!\44u#i;i)a�
Obtain the encrypted password for C{username} from the Unix password
database using L{pwd.getpwnam}, and see if it it matches it matches
C{password}.

@param pwd: Module which provides functions which
            access to the Unix password database.
@type pwd: C{module}
@param username: The user to look up in the Unix password database.
@type username: L{unicode}/L{str} or L{bytes}
@param password: The password to compare.
@type username: L{unicode}/L{str} or L{bytes}
r
N)�*�x)rrr�getpwnam�	pw_passwdrr�succeed�KeyError�failr)�self�pwd�username�password�cryptedPasss&&&& r�checkPwd�UNIXChecker.checkPwdCs���	/��(�E�*�*�#�?�?�7�3���,�,�x�0�:�:�K��j�(��&�{�=�=��}�}�X�.�.�>��
�	3��:�:�/�1�2�2�	3�s�AA6�6)B"�!B"c��\V\4'dVPR4p\VPRR4'dVPV4PpMVPV4Pp\WC4'd\P!V4#R# \d"\P!\44u#i;i)a�
Obtain the encrypted password for C{username} from the
Unix shadow password database using L{spwd.getspnam},
and see if it it matches it matches C{password}.

@param spwd: Module which provides functions which
             access to the Unix shadow password database.
@type spwd: C{module}
@param username: The user to look up in the Unix password database.
@type username: L{unicode}/L{str} or L{bytes}
@param password: The password to compare.
@type username: L{unicode}/L{str} or L{bytes}
r
�sp_pwdpN)rrr�getattr�struct_spwd�getspnamr)�sp_pwdrrrrr r)r!�spwdr#r$r%s&&&& r�	checkSpwd�UNIXChecker.checkSpwd^s���
	/��(�E�*�*�#�?�?�7�3���t�'�'��D�9�9�"�m�m�H�5�=�=��#�m�m�H�5�<�<��%�[�;�;��}�}�X�.�.�<���	3��:�:�/�1�2�2�	3�s�A;B&�&)C�Cc�<�VPVPr2^RIpVeVP	WBV4pVeV#^RIpVeVP
WbV4pVeV#\P!\44# \dRpLji;i \dRpL\i;i)�N)
r#r$r"rr&r.r/rr r)r!�credentialsr#r$r"�checkedr.s&&     r�requestAvatarId�UNIXChecker.requestAvatarId{s���(�1�1�;�3G�3G�(�	���?��m�m�C�8�<�G��"���	�����n�n�T�X�>�G��"����z�z�+�-�.�.��'�	��C�	���	��D�	�s"�A8�B�8
B�B�
B�B�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r�credentialInterfacesr&r/r5�__static_attributes__�__classdictcell__��
__classdict__s@rrr5s)�����.�/��/�6/�:/�/�ra�
This checker will attempt to use every resource available to
authenticate against the list of users on the local UNIX system.
(This does not support Windows servers for very obvious reasons.)

Right now, this includes support for:

  * Python's pwd module (which checks /etc/passwd)
  * Python's spwd module (which checks /etc/shadow)

Future versions may include support for PAM authentication.
c�Na�]tRt^�toRtRt]tRt]	Pt
RtRtVt
R#)�UNIXCheckerFactoryz
A factory for L{UNIXChecker}.
�unixzNo argstring required.c��\4#)z�
This checker factory ignores the argument string. Everything
needed to generate a user database is pulled out of the local
UNIX environment.
)r)r!�	argstrings&&r�generateChecker�"UNIXCheckerFactory.generateChecker�s���}�rBr7N)r8r9r:r;r<�authType�unixCheckerFactoryHelp�authHelp�argStringFormatrr=rHr>r?r@s@rrDrD�s1������H�%�H�.�O�&�;�;���rBrDN)r<�zope.interfacer�twistedr�twisted.cred.checkersr�twisted.cred.credentialsr�twisted.cred.errorr�twisted.cred.strcredr�twisted.internetrrrrK�IPluginrD�theUnixCheckerFactoryr7rBr�<module>rWs����
'��5�6�0�0�"��@
�
 �!�]/�]/�"�]/�@��
�_�f�n�n�-���.��&+�,�rB

Youez - 2016 - github.com/yon3zu
LinuXploit