数据库 Database
首先,开启数据库服务。service postgresql start
条件,第一次使用则初始化数据库。msfdb init
然后,进入数据库,查看状态。db_status
Ax 说明
Database Backend Commands
Command Description
------- -----------
analyze Analyze database information about a specific address or address range
db_connect Connect to an existing data service
db_disconnect Disconnect from the current data service
db_export Export a file containing the contents of the database
db_import Import a scan result file (filetype will be auto-detected)
db_nmap Executes nmap and records the output automatically
db_rebuild_cache Rebuilds the database-stored module cache (deprecated)
db_remove Remove the saved data service entry
db_save Save the current data service connection as the default to reconnect on startup
db_status Show the current data service status
hosts List all hosts in the database
loot List all loot in the database
notes List all notes in the database
services List all services in the database
vulns List all vulnerabilities in the database
workspace Switch between database workspaces
工作台 Workspace
首先,咱们启动MSF。msfconsole
条件,查看有没有连接数据库。db_status
然后,开启学习工作台之旅啦,哈哈哈。
Ax 说明
workspace 列出工作台列表
workspace -v 列表工作台的详细信息
workspace [name] 转换工作台
workspace -a [name] ... 添加工作台
workspace -d [name] ... 删除工作台
workspace -D 删除所有工作台
workspace -r <old> <new> 给工作台重命名
Bx 示例
只有一个默认的
创建工作台 ES
查看工作台
改名字
新建并切换工作台到eonian,并删除sharp
删除所有工作台,毁灭吧,哈哈哈哈,呀哈哈哈哈哈,嘿嘿嘿嘿,一啊哈哈哈
笑你个头,笑。
使用MSF内置命令,才会有记录。
参考 References
[1] https://blog.csdn.net/qq_34444097/article/details/79679640