Metaspolit下如何使用Nessus

本文介绍了如何在Metasploit环境下使用Nessus进行安全扫描,包括登录Nessus、查看和运行扫描策略、查看结果以及将Nessus内容导入Metasploit。虽然Metasploit的bash界面没有图形化操作便捷,但通过命令行也能完成基本操作。在Nessus中创建并运行扫描任务,然后在Metasploit中导入结果,有助于进一步的安全分析。
摘要由CSDN通过智能技术生成

前面讲了在外面如何使用Nessus,但是bash下使用绝对是王道,有可能没有UI的界面和操作简便,但是需要的环境较为简单,还是学一下!

1.登录!以及之前的准备

当然,首先你还是需要先下载好Nessus,我的实验是发现不下载的话我无法开启一些列服务的,Metasploit应该只是调用了它的一个接口吧!(如果有错误欢迎指正!),具体需要如何配置请看我之前的文章
http://blog.csdn.net/qq_35078631/article/details/76160336

万物之始我们需要开启Nessus服务,然后使用Metasploit中的登录,首先要

load nessus

加载模块,然后登录

nessus_connect username:passwrod@localhost:8834 ok

注意这里面的usernmae和password是之前Nessus申请的帐号哈。如果没有也应该使用命令行建立也是可以的,这里就不实验了。
申请链接成功后是这样的

msf > nessus_connect Assassin:password@localhost:8834 ok
[*] Connecting to https://localhost:8834/ as Assassin
[*] User Assassin authenticated successfully.

然后我们看一下help,输入指令

nessus_help

然后这里贴一下help的内容

Command                     Help Text
-------                     ---------
Generic Commands            
-----------------           -----------------
nessus_connect              Connect to a Nessus server
nessus_logout               Logout from the Nessus server
nessus_login                Login into the connected Nesssus server with a different username and password
nessus_save                 Save credentials of the logged in user to nessus.yml
nessus_help                 Listing of available nessus commands
nessus_server_properties    Nessus server properties such as feed type, version, plugin set and server UUID.
nessus_server_status        Check the status of your Nessus Server
nessus_admin                Checks if user is an admin
nessus_template_list        List scan or policy templates
nessus_folder_list          List all configured folders on the Nessus server
nessus_scanner_list         List all the scanners configured on the Nessus server
Nessus Database Commands    
-----------------           -----------------
nessus_db_scan              Create a scan of all IP addresses in db_hosts
nessus_db_scan_workspace    Create a scan of all IP addresses in db_hosts for a given workspace
nessus_db_import            Import Nessus scan to the Metasploit connected database

Reports Commands            
-----------------           -----------------
nessus_report_hosts         Get list of hosts from a report
nessus_report_vulns         Get list of vulns from a report
nessus_report_host_details  Get detailed information from a report item on a host

Scan Commands    
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值