温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

ubuntu 安装pocsuite

发布时间:2020-06-08 16:42:17 来源:网络 阅读:1354 作者:老鹰a 栏目:安全技术

 

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 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账户设置里边的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

安装完成。

 


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI