metasploit为了方便,自动将当前工作区的内容放入数据库

首先就是工作区

metasploit数据库使用学习

-a 增加工作区,-d删除工作区

metasploit数据库使用学习

metasploit数据库使用学习

不同工作区的内容会分开储存到数据库

default工作区

 metasploit数据库使用学习

test工作区

metasploit数据库使用学习

 

db_import为数据导入,可以导入nmap等其他扫描器的扫描信息

nmap可以直接用db_namp,扫描的内容直接导入到数据库,metasploit的内置模块直接导入数据库

metasploit数据库使用学习

 

 

工作区介绍完了就是工作区内数据库数据的查看

 hosts

metasploit数据库使用学习

hosts -c显示指定的列

metasploit数据库使用学习

可以利用hosts命令筛选主机出来,直接扔到内置的扫描模块

metasploit数据库使用学习

-R,--rhosts       Set RHOSTS from the results of the search  将搜索的结果设置为rhosts
  -S,--search       Search string to filter by                  搜索字符串

 

services  类似于hosts

metasploit数据库使用学习

service -c 搜索显示指定列

metasploit数据库使用学习

 

 

creds

监听或者获取到的密码,对密码进行管理

metasploit数据库使用学习

 

 

loot对入侵的主机进行hash转出

 

最后,所有信息导出

metasploit数据库使用学习

 

相关文章:

  • 2021-07-10
  • 2021-05-31
  • 2021-09-17
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-07-05
  • 2021-09-15
猜你喜欢
  • 2022-12-23
  • 2021-12-02
  • 2021-08-09
  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
相关资源
相似解决方案