This Script help you to install beef-xss from github in kali linux and resolve all beef-xss problem's in kali-linux
How to run ?
git clone https://github.com/ziflar/beef-xss_fix.git
cd /beef-xss_fix
chmod +x beef-resolve.sh
./beef-resolve.sh