添加root用户
直接sudo passwd root搞定
接下来输入原来用户密码,再为root设置密码就好了
虚拟机与物理机之间的复制粘贴
apt-get install open-vm-tools fuse
reboot
更新metasploit
apt-get update
apt-get upgrade
apt-get install metasploit-framework
无法使用ifconfig
apt-get install net-tools -y
kali更换源
vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
更新升级
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get clean