uawdijnntqw1x1x1
IP : 3.142.40.44
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
..
/
lib
/
python2.7
/
site-packages
/
rhn
/
..
/
isc
/
checkds.pyo
/
/
� }�ofc@s�ddlZddlZddlZddlmZmZddlmZmZdZ dd d��YZ ddd�Zd�Z d �ZdS(i����N(tPopentPIPE(tprefixtversionsdnssec-checkdstSECRRcBsreZidd6dd6dd6dd6ZdZd ZdZdZdZdZ d Z dd�Zd�Zd �Z RS(sSHA-1isSHA-256itGOSTisSHA-384ittINicCsQ|st�n|jd�j�}t|�dkr?t�n|r>d|_|j�|_|dj�jd�jd�}|j�|jd�}|j�xPt|�dkr�t|�dkr�|d|dkr�|d}|d}q�W|rt�n|j�dj |�|_ |j d|jd|_nd|_|dj�|_|d}|dj�dkr�|dj�|_ |d}n0t|d�|_|dj�|_ |d}|dj�|jkr td|dj�|jf��ntt|dd !�\|_|_|_dj |d �j�|_dS(NtasciiitDLVit.itDSRtCHtHSis%s does not match %siR(sINRR (t Exceptiontdecodetsplittlentrrtypetlowertdlvnametstriptreversetjointparenttrrnametuppertrrclasstinttttltmaptkeyidtkeyalgthashalgtdigest(tselftrrtextRtfieldsRtdlv((s//usr/lib/python2.7/site-packages/isc/checkds.pyt__init__$sD " ; (cCs2d|j|j|j|j|j|j|jfS(Ns%s %s %s %d %d %d %s(RRRRR R!R"(R#((s//usr/lib/python2.7/site-packages/isc/checkds.pyt__repr__OscCs|j�|j�kS(N(R((R#tother((s//usr/lib/python2.7/site-packages/isc/checkds.pyt__eq__TsN(t__name__t __module__thashalgsRRtNoneRR R!R"RR'R(R*(((s//usr/lib/python2.7/site-packages/isc/checkds.pyRs"+ c Cs�g}|jddd|r!dndd|r;|d|n|g}t|dt�j�\}}x*|j�D]}|jt||��qoWt|d d ��}g} |r |jd|g}|r�|d|g7}n|j|�t|dt�j�\}}n�t|jdddd d|gdt�j�\} }|jddg}|rj|d|g7}n|j|�t|dtdt�j| �\}}x*|j�D]}| jt||��q�Wt | �dkr�dGHt St }x�| D]�}||krEd|j|jj d�|j|jtj|jfGHt}q�d|j|jj d�|j|jtj|jfGHq�W|s�d|r�dndGHn|S(Ns+noalls+answers-tR&tdss-qR tstdouttkeycSs|j|j|jfS(N(RR R!(trr((s//usr/lib/python2.7/site-packages/isc/checkds.pyt<lambda>gss-fs-ltdnskeyt-tstdinis$No DNSKEY records found in zone apexs,%s for KSK %s/%03d/%05d (%s) found in parents0%s for KSK %s/%03d/%05d (%s) missing from parents'No %s records were found for any DNSKEYR R(tdigRRtcommunicatet splitlinestappendRtsortedt dsfromkeyRtFalseRRRR RR-R!tTrue( tzonetargst masterfilet lookasidetrrlisttcmdtfpt_tlinetklisttintodstfoundR2((s//usr/lib/python2.7/site-packages/isc/checkds.pytcheck_sN !! ' cCsptjdtd�}d}tjdkr1dnd}|jddtdd �|jd ddd dtdd�|jdddddtdd�|jdddddtjjt |�d�dtdd�|jdddddtjjt |�d�dtdd�|jdddddt �|j�}|jj d �|_|jrl|jj d �|_n|S(!Ntdescriptions: checks DS coveragetbintnttsbinR?ttypethelps zone to checks-fs--filetdestRAszone master files-ls--lookasideRBsDLV lookaside zones-ds--digR7tdefaults path to 'dig's-Ds--dsfromkeyR<sdnssec-dsfromkeys-vs --versiontactionRR (targparsetArgumentParsertprogtostnametadd_argumenttstrtpathRRRt parse_argsR?RRB(tparsertbindirtsbindirR@((s//usr/lib/python2.7/site-packages/isc/checkds.pyR]�s, cCsAt�}t|j||j|j�}t|r6dnd�dS(Nii(R]RKR?RARBtexit(R@RJ((s//usr/lib/python2.7/site-packages/isc/checkds.pytmain�s ((RURXtsyst subprocessRRt isc.utilsRRRWRR.RKR]Rb(((s//usr/lib/python2.7/site-packages/isc/checkds.pyt<module>sE7
/home/../lib/python2.7/site-packages/rhn/../isc/checkds.pyo