您好,登錄后才能下訂單哦!
在終端輸入。
ssh-keygen-t rsa -C "forwhat.cn"http://注意。forwhat.cn為用戶名
如果執(zhí)行成功。返回
Generatingpublic/private rsa key pair.
Enter file in which to save the key (/home/forwhat.cn/.ssh/id_rsa):
在這里就是設(shè)置存儲地址了.反正我是直接按的回車
然后還會返回
Enterpassphrase (empty for no passphrase):
再次直接回車。
Enter same passphrase again:
再次回車。
Youridentification has been saved in /home/forwhat.cn/.ssh/id_rsa.
Your public key has been saved in /home/forwhat.cn/.ssh/id_rsa.pub.
The key fingerprint is:
這里有一串數(shù)。我把他屏蔽了。
The key's randomart p_w_picpath is:
+--[ RSA 2048]----+
| |
| |
| |
| o |
| + . S |
| . = . o |
| o + +o.o |
|E o . o.=+. |
|.+ ==+ooo. |
+-----------------+
這樣SSH key就生成了。直接cat一下就好了。
000000:~/a$cat /home/forwhat.cn/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQ(我屏蔽了)
把顯示出來的直接添加到github賬戶設(shè)置里邊的SSHkeys
到這個地址https://pypi.python.org/pypi/setuptools下載setuptools
2、進入setuptools解壓文件所在目錄
sudo python setup.py build
sudo python setup.py install
1、 下載pocsuite:
$ wgethttps://github.com/knownsec/Pocsuite/archive/master.zip
$ unzip master.zip
$ cd Pocsuite
進入pocsuit解壓文件所在目錄
sudo python setup.py build
sudo python setup.py install
安裝完成。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。