??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
)‡ægc @ s~ d d l m Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d e f d „ ƒ YZ
d S( iÿÿÿÿ( t OrderedDictNt rndcc B s’ e Z d Z i d d 6d d 6d d 6d d 6d d
6d d 6Z d
„ Z d „ Z e d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z d „ Z
RS( s RNDC protocol client libraryi t md5i¡ t sha1i¢ t sha224i£ t sha256i¤ t sha384i¥ t sha512c C sŠ | | _ | j ƒ } | j d ƒ r1 | d } n | | _ t t | ƒ | _ t j | ƒ | _ t
j d d ƒ | _ d | _ | j ƒ d S( sþ Creates a persistent connection to RNDC and logs in
host - (ip, port) tuple
algo - HMAC algorithm: one of md5, sha1, sha224, sha256, sha384, sha512
(with optional prefix 'hmac-')
secret - HMAC secret, base64 encodeds hmac-i i i i Ni ( t hostt lowert
startswitht algot getattrt hashlibt hlalgot base64t b64decodet secrett randomt randintt sert Nonet noncet _rndc__connect_login( t selfR R R ( ( s, /usr/lib/python2.7/site-packages/isc/rndc.pyt __init__$ s
c C s t | j d | ƒ d ƒ S( s’ Call a RNDC command, all parsing is done on the server side
cmd - a complete string with a command (eg 'reload zone example.com')
t typet _data( t dictt _rndc__command( R t cmd( ( s, /usr/lib/python2.7/site-packages/isc/rndc.pyt call5 s c C sy t ƒ } xi| j ƒ D][\ } } | r: | d k r: q n | t j d t | ƒ ƒ | j d ƒ 7} t | ƒ t k r¤ | t j d d t | ƒ ƒ | j d ƒ 7} q t | ƒ t k rÜ | t j d d t | ƒ ƒ | 7} q t | ƒ t k r| t j d d t | ƒ ƒ | 7} q t | ƒ t k r[| j
| ƒ } | t j d d t | ƒ ƒ | 7} q t d t | ƒ ƒ ‚ q W| S( Nt _autht Bt asciis >BIi i s# Cannot serialize element of type %s( t bytearrayt itemst structt packt lent encodeR t strt bytesR t _rndc__serialize_dictt NotImplementedError( R t datat ignore_autht rvt kt vt sd( ( s, /usr/lib/python2.7/site-packages/isc/rndc.pyt __serialize_dict; s" )/&&&c O s— | j d 7_ t t j ƒ ƒ } t | | Ž } t ƒ } t ƒ | d