1. apt install beef-xss #安装beef
2. cd /usr/share/beef-xss #切换到beef目录
3. vim config.yaml #打开配置文件
4. 按i进入插入模式,找到默认user,password进行修改,找到host修改成本机地址
5. systemctl start beef-xss.service #开启beef
systemctl stop beef-xss.service #关闭beef
systemctl restart beef-xss.service #重启beef
6. 浏览器打开 http://192.168.10.132:3000/ui/authentication #把192.168.10.132替换成本机IP