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