下载beEF
链接: https://github.com/beefproject/beef.
git clone https://github.com/beefproject/beef
安装ruby
sudo pacman -S ruby ruby-dev
安装gem
sudo pacman -S gem
注:安装完gem后,gem需要关闭IPV6支持,否则无法下载和更新
安装bundler
gem install bundler
设置环境变量
vim ~/.zshrc
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
设置好后即可使用bundler
安装beEF
cd beef
bundler install
启动需要修改配置文件config.yaml
vim config.yaml
启动beEF
./beef
输出
[13:10:16][*] running on network interface: 127.0.0.1
[13:10:16] | Hook URL: http://127.0.0.1:3000/hook.js
[13:10:16] |_ UI URL: http://127.0.0.1:3000/ui/panel
[13:10:16][*] running on network interface: 192.168.10.88
[13:10:16] | Hook URL: http://192.168.10.88:3000/hook.js
[13:10:16] |_ UI URL: http://192.168.10.88:3000/ui/panel
[13:10:16][*] running on network interface: 172.17.0.1
[13:10:16] | Hook URL: http://172.17.0.1:3000/hook.js
[13:10:16] |_ UI URL: http://172.17.0.1:3000/ui/panel
[13:10:16][*] RESTful API key: 6590fc4381eff019****************f942e92d
[13:10:16][!] [GeoIP] Could not find MaxMind GeoIP database: '/usr/share/GeoIP/GeoLite2-City.mmdb'
[13:10:16][*] HTTP Proxy: http://127.0.0.1:6789