403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.124
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/db2pickle.cpython-36.opt-1.pyc
3

x2_:�-@sdZddlZyddlZWnek
r0dZYnXyddljZWnek
rXdZYnXyddljZ	Wnek
r�dZ	YnXyddljZ
Wnek
r�dZ
YnXddlZyddlZWnek
r�ddlZYnXej
dZdd�Zdd�Zedk�rejeej
dd���dS)	aI
Synopsis: %(prog)s [-h|-g|-b|-r|-a] dbfile [ picklefile ]

Convert the database file given on the command line to a pickle
representation.  The optional flags indicate the type of the database:

    -a - open using dbm (any supported format)
    -b - open as bsddb btree file
    -d - open as dbm file
    -g - open as gdbm file
    -h - open as bsddb hash file
    -r - open as bsddb recno file

The default is hash.  If a pickle file is named it is opened for write
access (deleting any existing data).  If no pickle file is named, the pickle
output is written to standard output.

�NcCstjjtt��dS)N)�sys�stderr�write�__doc__�globals�rr�</opt/alt/python36/lib64/python3.6/Tools/scripts/db2pickle.py�usage/sr	c	Cs�y"tj|dddddddg�\}}Wntjk
r>t�dSXt|�d	ksXt|�d
krbt�dSt|�dkr~|d	}tj}nD|d	}yt|dd�}Wn(tk
r�tjj	d|d�dSXd}�xj|D�]`\}}|d"k�ry
t
j}Wn"tk
�rtjj	d�dSXq�|d#k�rLy
t
j
}Wn"tk
�rHtjj	d�dSXq�|d$k�r�y
t
j}Wn"tk
�r�tjj	d�dSXq�|d%k�r�y
tj}Wn"tk
�r�tjj	d�dSXq�|d&k�r�y
tj}Wn"tk
�r�tjj	d�dSXq�|d'kr�y
tj}Wq�tk
�r.tjj	d�dSXq�W|dk�rjt
dk�rdtjj	d�tjj	d�dSt
j}y||d�}Wn4t
jk
�r�tjj	d |�tjj	d!�dSXx,|j�D] }tj|||f|ddk��q�W|j�|j�d	S)(NZhbrdag�hashZbtreeZrecno�dbm�gdbm�anydbm�r��wbzUnable to open %s
�-h�--hashzbsddb module unavailable.
�-b�--btree�-r�--recno�-a�--anydbmzdbm module unavailable.
�-g�--gdbmzdbm.gnu module unavailable.
�-d�--dbmzdbm.ndbm module unavailable.
zbsddb module unavailable - zmust specify dbtype.
�rzUnable to open %s.  z&Check for format or version mismatch.
)rr)rr)rr)rr)rr)rr)�getopt�errorr	�lenr�stdout�open�IOErrorrr�bsddbZhashopen�AttributeErrorZbtopenZrnopenr
rr�keys�pickle�dump�close)	�argsZoptsZdbfileZpfileZdbopenZopt�argZdb�krrr�main2s�













 r-�__main__r)rrr$�ImportErrorZdbm.ndbmZndbmrZdbm.gnuZgnurr
rr'�argv�progr	r-�__name__�exitrrrr�<module>s6




T


Youez - 2016 - github.com/yon3zu
LinuXploit