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 :  /usr/lib/python3.14/dbm/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc
+
��3j�-���Rt^RIt^RIt^RIt^RItRR.t	Rt
]t!RR]PP4tRRltR#)	a�A dumb and slow but simple dbm clone.

For database spam, spam.dir contains the index (a text file),
spam.bak *may* contain a backup of the index (also a text file),
while spam.dat contains the data (a binary file).

XXX TO DO:

- seems to contain a bug when updating...

- reclaim free space (currently, space once occupied by deleted or expanded
items is never reused)

- support concurrent access (currently, if two processes take turns making
updates, they can mess up the index)

- support efficient access to large databases (currently, the whole index
is read when the database is opened, and some updates rewrite the whole index)

- support opening for read-only (flag = 'm')

N�error�openic�a�]tRt^#to]t]tRRltRtRtRt	]	t
RtRtRt
RtR	tR
tRtRtR
tRtRt]tRtRt]tRtRtRtRtVtR#)�	_Databasec��VPPV4pW nVR8HVnVR,VnVR,VnVR,VnRVnVPV4VPV4R#)�rs.dirs.dats.bakN)
�_os�fsencode�_mode�	_readonly�_dirfile�_datfile�_bakfile�_index�_create�_update)�self�filebasename�mode�flags&&&&�/usr/lib/python3.14/dbm/dumb.py�__init__�_Database.__init__0sq���x�x�(�(��6���
��#�+���%�w�.��
�%�w�.��
�$�w�.��
����	
���T�����T��c��VR8XdBVPVPVP3Fp\P!V4K	\P!VPRRR7pVP4R# \
dKbi;i \
dqTR9dh\P!TPRRR7;_uu_4pTPTP4RRR4R# +'giR#;ii;i)�nr�Latin-1��encoding�wN��cr)
r
rrr�remove�OSError�_ior�close�_chmod)rr�filename�fs&&  rr�_Database._createJs����3�;�!�]�]�D�M�M�4�=�=�I����J�J�x�(�J�	��������i�@�A�
�G�G�I�������
�	+��:�%�����$�-�-��y�A�A�Q����D�M�M�*�B�A�A�A��	+�s;�A?�
#B�?B�
B�>D�C6�+D�6D�D�Dc�^�RVn/Vn\P!VPRRR7pT;_uu_4VFJpVP4p\P!V4wrEVPR4pWPPV&KL	RRR4R# +'giR#;i \dvTR9dhTPPTPRRR7;_uu_4pTPTP4RRR4R# +'giR#;ii;i)FrrrNrr )�	_modifiedrr$rr�rstrip�_ast�literal_eval�encoder#r&)rrr(�line�key�pos_and_siz_pairs&&    rr�_Database._update]s���������
	8��������i�@�A����D��;�;�=�D�,0�,=�,=�d�,C�)�C��*�*�Y�/�C�'7�K�K��$�	������
�	+��:�%�������t�}�}�c�I��F�F�!����D�M�M�*�G�F�F�F��	+�s6�#B,�AB�B)	�,AD,�/D�D,�D(�!D,�(D,c��VPeVP'gR#VPPVP4VPP
VPVP4VPPVPRRR7;_uu_4pVPVP4VPP4F/wr#VPR4:RV:R2pVPV4K1	RRR4RVnR# \
dL�i;i \
dL�i;i +'giL;;i)Nrrr�, �
F)rr+r�unlinkrr#�renamerr$rr&�items�decode�write)rr(r1r2�entrys&    r�_commit�_Database._commitrs����;�;��d�n�n�n��	��H�H�O�O�D�M�M�*�	��H�H�O�O�D�M�M�4�=�=�9��X�X�]�]�4�=�=�#�	�]�
B�
B�a��K�K��
�
�&�)-���):�):�)<�%��'*�j�j��&;�=M�N�������	*=�C������	��	��
�	��	��C�
B�s0�%D$�
0D5�*A)E�$D2�1D2�5E�E�E	c�8�VPf\R4hR#)N�"DBM object has already been closed)rr�rs&r�_verify_open�_Database._verify_open�s���;�;���<�=�=�rc�n�\V\4'dVPR4pVP4VPV,wr#\
P!VPR4;_uu_4pVPV4VPV4pRRR4V# +'giX#;i)�utf-8�rbN)
�
isinstance�strr/rBrr$rr
�seek�read)rr1�pos�sizr(�dats&&    r�__getitem__�_Database.__getitem__�s����c�3����*�*�W�%�C������;�;�s�#���
�X�X�d�m�m�T�
*�
*�a�
�F�F�3�K��&�&��+�C�+��
�+�
*��
�s�6#B#�#B4	c��\P!VPR4;_uu_4pVP^^4\	VP44pV\,^,
\,\,pVPRWC,
,4TpVPV4RRR4X\V43# +'giL;i)�rb+�N)	r$rr
rI�int�tell�
_BLOCKSIZEr;�len)r�valr(rK�nposs&&   r�_addval�_Database._addval�s���
�X�X�d�m�m�U�
+�
+�q�
�F�F�1�a�L��a�f�f�h�-�C��:�%��)�j�8�J�F�D�
�G�G�E�4�8�$�%��C�
�G�G�C�L�
,��S��X���,�
+�s�BC�C	c���\P!VPR4;_uu_4pVPV4VP	V4RRR4V\V43# +'giL;i)rQN)r$rr
rIr;rV)rrKrWr(s&&& r�_setval�_Database._setval�sM��
�X�X�d�m�m�U�
+�
+�q�
�F�F�3�K�
�G�G�C�L�,��S��X���,�
+�s�#A"�"A2	c�8�W PV&\P!VPRRR7;_uu_4pVP	VP4VPVP
R4:RV:R24RRR4R# +'giR#;i)�arrr5r6N)rr$rrr&r;r:)rr1r2r(s&&& r�_addkey�_Database._addkey�sa��+���C��
�X�X�d�m�m�S�9�
=�
=���K�K��
�
�&�
�G�G�#�*�*�Y�"7�9I�J�K�>�
=�
=�
=�s�AB�B	c�N�VP'd\R4h\V\4'dVP	R4pM'\V\
\34'g\R4h\V\4'dVP	R4pM'\V\
\34'g\R4hVP4RVn	WP9d#VPWPV44R#VPV,wr4V\,^,
\,p\V4\,^,
\,pWe8:d!VPW24VPV&R#VPV4VPV&R#)�'The database is opened for reading onlyrEzkeys must be bytes or stringszvalues must be bytes or stringsTN)rrrGrHr/�bytes�	bytearray�	TypeErrorrBr+rr`rYrUrVr\)rr1rWrKrL�	oldblocks�	newblockss&&&    r�__setitem__�_Database.__setitem__�s/���>�>�>��A�B�B��c�3����*�*�W�%�C��C�%��!3�4�4��;�<�<��c�3����*�*�W�%�C��C�%��!3�4�4��=�>�>���������k�k�!��L�L��l�l�3�/�0��{�{�3�'�H�C��z�)�A�-�*�<�I��S��J�.��2�z�A�I��%�#'�<�<��#9����C� �
$(�<�<��#4����C� rc��VP'd\R4h\V\4'dVP	R4pVP4RVnVPVVP4R#)rcrETN)	rrrGrHr/rBr+rr=�rr1s&&r�__delitem__�_Database.__delitem__�s\���>�>�>��A�B�B��c�3����*�*�W�%�C���������K�K���
	
���rc�d�\VP4# \d\R4Rhi;i�r@N)�listrrfrrAs&r�keys�_Database.keys��6��	H�����$�$���	H��<�=�4�G�	H����/c��VP4VPP4Uu.uFqW,3NK	up#uupi�N)rBrrrrls& rr9�_Database.items�s:������,0�K�K�,<�,<�,>�?�,>�S�d�i� �,>�?�?��?s�Ac���\V\4'dVPR4pWP9# \dTPf
\R4Rhhi;i)rENr@)rGrHr/rrfrrls&&r�__contains__�_Database.__contains__�sY���c�3����*�*�W�%�C�	��+�+�%�%���	��{�{�"��@�A�t�K��		�s	�
7�'Ac�d�\VP4# \d\R4Rhi;irp)�iterrrfrrAs&r�iterkeys�_Database.iterkeysrtruc�d�\VP4# \d\R4Rhi;irp)rVrrfrrAs&r�__len__�_Database.__len__
s6��	H��t�{�{�#�#���	H��<�=�4�G�	H�ruc��VP4R;Vn;Vn;VnVnR# R;Tn;Tn;TnTni;irw)r=rr
rrrAs&rr%�_Database.closesJ��	O��L�L�N�JN�N�D�K�N�$�-�N�$�-�$�-��$�N�D�K�N�$�-�N�$�-�$�-�s	�0�Ac�P�VPPWP4R#rw)r�chmodr
)r�files&&rr&�_Database._chmods�������t�Z�Z�(rc��V#rw�rAs&r�	__enter__�_Database.__enter__s���rc�&�VP4R#rw)r%)r�argss&*r�__exit__�_Database.__exit__!s���
�
�r)rr
rrr
r+rN)r!)�__name__�
__module__�__qualname__�__firstlineno__rr$rrrr=�syncrBrNrYr\r`rirmrrr9rzr~�__iter__r�r%�__del__r&r�r��__static_attributes__�__classdictcell__)�
__classdict__s@rrr#s������C�

�C��4�&8�*�4�D�>����L�5�J
�H�@�	�H�
�H�H�O��G�)���rrc���\P!^4p\P!V4W#(,pVR9d\R4h\	WVR7# \dL,i;i)a!Open the database file, filename, and return corresponding object.

The flag argument, used to control how the database is opened in the
other DBM implementations, supports only the semantics of 'c' and 'n'
values.  Other values will default to the semantics of 'c' value:
the database will always opened for update and will be created if it
does not exist.

The optional mode argument is the UNIX mode of the file, used only when
the database has to be created.  It defaults to octal code 0o666 (and
will be modified by the prevailing umask).

z)Flag must be one of 'r', 'w', 'c', or 'n')r)rrr!r)r�umask�AttributeError�
ValueErrorr)r�rr�ums&&& rrr%s`�� �
�Y�Y�q�\���	�	�"�
�
�s�|���'�'��D�E�E��T�d�+�+���
��
�s�,A�A$�#A$)r!i�)�__doc__�astr-�ior$�osr�collections.abc�collections�__all__rUr#r�abc�MutableMappingrrr�rr�<module>r�sJ���.�����F�
��
�
�������.�.��D,r

Youez - 2016 - github.com/yon3zu
LinuXploit