??????????????
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
ó
=OXc @ s+ d d l Z d d l Z d d l m Z d d l m Z d d l m Z m Z m Z m
Z
y d d l m Z Wn! e
k
r‘ d d l m Z n Xd d l m Z d d l m Z d d l m Z m Z d d
l m Z d d l m Z d e f d
„ ƒ YZ d e f d „ ƒ YZ d d d „ ƒ YZ d S( iÿÿÿÿN( t sha1( t HMAC( t bt ut encodebytest decodebytes( t MutableMapping( t DictMixin( t DSSKey( t RSAKey( t
get_loggert constant_time_bytes_eq( t ECDSAKey( t SSHExceptiont HostKeysc B s¡ e Z d Z d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z d
„ Z
d „ Z d „ Z d
„ Z d „ Z e d d „ ƒ Z RS( sZ
Representation of an OpenSSH-style "known hosts" file. Host keys can be
read from one or more files, and then individual hosts can be looked up to
verify server keys during SSH negotiation.
A `.HostKeys` object can be treated like a dict; any dict lookup is
equivalent to calling `lookup`.
.. versionadded:: 1.5.3
c C s) g | _ | d k r% | j | ƒ n d S( s¿
Create a new HostKeys object, optionally loading keys from an OpenSSH
style host-key file.
:param str filename: filename to load host keys from, or ``None``
N( t _entriest Nonet load( t selft filename( ( s5 /usr/lib/python2.7/site-packages/paramiko/hostkeys.pyt __init__5 s c C se xB | j D]7 } | | j k r
| j j ƒ | k r
| | _ d Sq
W| j j t | g | ƒ ƒ d S( s.
Add a host key entry to the table. Any existing entry for a
``(hostname, keytype)`` pair will be replaced.
:param str hostname: the hostname (or IP) to add
:param str keytype: key type (``"ssh-rsa"`` or ``"ssh-dss"``)
:param .PKey key: the key to add
N( R t hostnamest keyt get_namet appendt HostKeyEntry( R t hostnamet keytypeR t e( ( s5 /usr/lib/python2.7/site-packages/paramiko/hostkeys.pyt addA s
$ c C s t | d ƒ û } xñ t | d ƒ D]à \ } } | j ƒ } t | ƒ d k s" | d d k rb q" n y t j | | ƒ } Wn t k
rŽ q" n X| d k r" | j } x6 | D]. } | j | | j
ƒ r« | j j | ƒ q« q« Wt | j ƒ r| j j
| ƒ qq" q" WWd QXd S( sV
Read a file of known SSH host keys, in the format used by OpenSSH.
This type of file unfortunately doesn't exist on Windows, but on
posix, it will usually be stored in
``os.path.expanduser("~/.ssh/known_hosts")``.
If this method is called multiple times, the host keys are merged,
not cleared. So multiple calls to `load` will just call `add`,
replacing any existing entries and adding new ones.
:param str filename: name of the file to read host keys from
:raises IOError: if there was an error reading the file
t ri i t #N( t opent enumeratet stript lenR t from_lineR
R R t checkR t removeR R ( R R t ft linenot lineR t
_hostnamest h( ( s5 /usr/lib/python2.7/site-packages/paramiko/hostkeys.pyR P s "
c C sR t | d ƒ = } x3 | j D]( } | j ƒ } | r | j | ƒ q q WWd QXd S( sà
Save host keys into a file, in the format used by OpenSSH. The order of
keys in the file will be preserved when possible (if these keys were
loaded from a file originally). The single exception is that combined
lines will be split into individual key lines, which is arguably a bug.
:param str filename: name of the file to write
:raises IOError: if there was an error writing the file
.. versionadded:: 1.6.1
t wN( R R t to_linet write( R R R' R R) ( ( s5 /usr/lib/python2.7/site-packages/paramiko/hostkeys.pyt savep s
c sÆ d t f ‡ f d † ƒ Y} g } x{ | j D]p } xg | j D]\ } | j d ƒ r| ˆ j d ƒ r| t | j ˆ | ƒ | ƒ sˆ | ˆ k r<