简介
最近更换了Manjaro作为我的主力系统,在安装常用的渗透测试工具的时候,安装msf遇到了一些问题
安装
Arch系的pacman之强早有所耳闻,但是没想到有这么强,Msf都可以直接Pacman
sudo pacman -S metasploit
至此,msf就成功安装了
配置
问题就出来了msf数据库的配置上,在安装好postgresql之后,仍然无法通过msfdb进行init
Missing requirement: 'bundle' does not appear to be installed or 'bundle' is not in the environment path
[!] You need to have postgres installed or specify a database with --connection-string
在多次配置后无果,搜索发现可以使用BlackArch的源来进行配置,尝试后成功
加入Blackarch的源
sudo vim /etc/pacman.conf
在后面加入
[blackarch]
SigLevel = Optional TrustAll
Server = https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch
然后更新源
sudo pacman -Syy