[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.15.214.244: ~ $
�
6i�ac@s�ddlmZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZdZddl
mZmZmZmZmZmZd�Zdd�Zd�Zd	�ZdS(
i����(tprint_functionN(tdefaultdicts
dnssec-keymgr(tdnskeytkeydictt	keyseriestpolicytparsetabtutilscOst||�tjd�dS(Ni(tprinttsystexit(targstkwargs((s./usr/lib/python2.7/site-packages/isc/keymgr.pytfatals
cCs�|}|s6tjj|�s6tj|tj�r�tjd}|sXtjj}nx_|jtj�D]H}|tj	|}tjj|�r�tj|tj�r�Pnd}qkWn|S(s2 find the location of a specified command. If a default is supplied,
    exists and it's an executable, we use it; otherwise we search PATH
    for an alternative.
    :param command: command to look for
    :param default: default value to use
    :return: PATH with the location of a suitable binary
    tPATHN(tostpathtisfiletaccesstX_OKtenvirontdefpathtsplittpathseptseptNone(tcommandtdefaulttfpathRt	directory((s./usr/lib/python2.7/site-packages/isc/keymgr.pytset_paths0
'
cCs�tdtjjtjd�d��}tdtjjtjd�d��}tjdtd�}|j	ddt
dd	d
d:ddd
�|j	ddddt
dddd�|j	ddddt
dddd�|j	dddd
|dt
dddd�|j	ddddt
d
d:dddd�|j	dddd
|dt
dd dd�|j	d!dd"d#d$d
tdd%�|j	d&dd'd#d$d
tdd(�|j	d)d*dd+d#d$d
tdd,d-�|j	d.d/dd0d#d$d
tdd1�|j	d2d3d#d4d4tj
�|j�}|jr@|jr@td5�n|jd:kr\td6�n|jd:krxtd7�n|jd:k	r�tjj|j�s�td8|j�q�n<tjjtjd9�|_tjj|j�s�d:|_n|S(;sc Read command line arguments, returns 'args' object
    :return: args object properly prepared
    s
dnssec-keygentsbinsdnssec-settimetdescriptionsA: schedule DNSSEC key rollovers according to a pre-defined policytzonettypetnargst*Rthelps.Zone(s) to which the policy should be applied s%(default: all zones in the directory)s-KtdestRsDirectory containing keystmetavartdirs-ct
policyfilesPolicy definition filetfiles-gtkeygensPath to 'dnssec-keygen's-rt	randomdevs@Path to a file containing random data to pass to 'dnssec-keygen's-stsettimesPath to 'dnssec-settime's-ktno_zsktactiont
store_trues,Only apply policy to key-signing keys (KSKs)s-ztno_ksks-Only apply policy to zone-signing keys (ZSKs)s-fs--forcetforcesForce updates to key events seven if they are in the pasts-qs--quiettquietsUpdate keys silentlys-vs	--versiontversions)ERROR: -z and -k cannot be used together.sERROR: dnssec-keygen not foundsERROR: dnssec-settime not founds!ERROR: Policy file "%s" not foundsdnssec-policy.confN(RRRtjoinRtprefixtargparsetArgumentParsertprogtadd_argumenttstrRtFalseR4t
parse_argsR.R1R
R+R-R)texistst
sysconfdir(R+R-tparserR((s./usr/lib/python2.7/site-packages/isc/keymgr.pyR=6sb!!

	




c
Csft�}i|jd6|jd6|jd6|jd6}ytj|j�}Wn'tk
rv}t	dt
|��nXy"t|d|jd|j�}Wn'tk
r�}t	dt
|��nXyt
|d	|�}Wn'tk
r}t	d
t
|��nXy5|j|d|jd|jd
|jd|j�Wn'tk
ra}t	dt
|��nXdS(Ntkeygen_pathtsettime_patht	keys_pathR,sUnable to load DNSSEC policy: Rtzoness Unable to build key dictionary: tcontextsUnable to build key series: tksktzskR2R3sUnable to apply policy: (R=R+R-RR,Rt
dnssec_policyR)t	ExceptionR
R;RR!Rtenforce_policyR.R1R2R3(RREtdptetkdtks((s./usr/lib/python2.7/site-packages/isc/keymgr.pytmain}s,	



"(t
__future__RRR	R7tglobtrettimetcalendartpprinttcollectionsRR9tiscRRRRRRR
RRR=RO(((s./usr/lib/python2.7/site-packages/isc/keymgr.pyt<module>s`.		G

Filemanager

Name Type Size Permission Actions
.__init__.pyo.40009 File 617 B 0644
.checkds.pyo.40009 File 5.29 KB 0644
.coverage.pyo.40009 File 7.37 KB 0644
.dnskey.pyo.40009 File 16.59 KB 0644
.eventlist.pyo.40009 File 4.83 KB 0644
.keydict.pyo.40009 File 3.21 KB 0644
.keyevent.pyo.40009 File 2.32 KB 0644
.keymgr.pyo.40009 File 4.91 KB 0644
.keyseries.pyo.40009 File 5 KB 0644
.keyzone.pyo.40009 File 1.54 KB 0644
.parsetab.pyo.40009 File 10.36 KB 0644
.policy.pyo.40009 File 22.62 KB 0644
.rndc.pyo.40009 File 6.34 KB 0644
.utils.pyo.40009 File 1.58 KB 0644
__init__.py File 936 B 0644
__init__.pyc File 617 B 0644
__init__.pyo File 617 B 0644
checkds.py File 6.49 KB 0644
checkds.pyc File 5.29 KB 0644
checkds.pyo File 5.29 KB 0644
coverage.py File 9.61 KB 0644
coverage.pyc File 7.37 KB 0644
coverage.pyo File 7.37 KB 0644
dnskey.py File 15.9 KB 0644
dnskey.pyc File 16.59 KB 0644
dnskey.pyo File 16.59 KB 0644
eventlist.py File 5.71 KB 0644
eventlist.pyc File 4.83 KB 0644
eventlist.pyo File 4.83 KB 0644
keydict.py File 2.67 KB 0644
keydict.pyc File 3.21 KB 0644
keydict.pyo File 3.21 KB 0644
keyevent.py File 2.76 KB 0644
keyevent.pyc File 2.32 KB 0644
keyevent.pyo File 2.32 KB 0644
keymgr.py File 6.35 KB 0644
keymgr.pyc File 4.91 KB 0644
keymgr.pyo File 4.91 KB 0644
keyseries.py File 7.34 KB 0644
keyseries.pyc File 5 KB 0644
keyseries.pyo File 5 KB 0644
keyzone.py File 1.86 KB 0644
keyzone.pyc File 1.54 KB 0644
keyzone.pyo File 1.54 KB 0644
parsetab.py File 9.98 KB 0644
parsetab.pyc File 10.36 KB 0644
parsetab.pyo File 10.36 KB 0644
policy.py File 25.8 KB 0644
policy.pyc File 22.62 KB 0644
policy.pyo File 22.62 KB 0644
rndc.py File 6.54 KB 0644
rndc.pyc File 6.34 KB 0644
rndc.pyo File 6.34 KB 0644
utils.py File 2.17 KB 0644
utils.pyc File 1.59 KB 0644
utils.pyo File 1.59 KB 0644