码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 安装pocsuite

时间:2017-02-14 10:50:37      阅读:344      评论:0      收藏:0      [点我收藏+]

标签:ubuntu   pocsuite   

 

1      生成ssh rsa

在终端输入。

 ssh-keygen-t rsa -C "forwhat.cn"//注意。forwhat.cn为用户名

如果执行成功。返回

Generatingpublic/private rsa key pair.
Enter file in which to save the key (/home/forwhat.cn/.ssh/id_rsa): 
在这里就是设置存储地址了.反正我是直接按的回车

然后还会返回

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:
这里有一串数。我把他屏蔽了。
The key‘s randomart image 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账户设置里边的SSHkeys

 

2      安装setuptools

  1. 到这个地址https://pypi.python.org/pypi/setuptools下载setuptools

2、进入setuptools解压文件所在目录

sudo python setup.py build

sudo python setup.py install

 

 

3      安装pocsuite

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

安装完成。

 


ubuntu 安装pocsuite

标签:ubuntu   pocsuite   

原文地址:http://laoyinga.blog.51cto.com/11487316/1897461

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!