上手第一步就是更新
apt update # 更新软件源
apt search [软件名] # 搜索软件
apt install [软件名] # 安装一个软件
apt remove [软件名] # 卸载一个软件
如果apt update失败,添加签名
wget archive.kali.org/archive-key.asc
apt-key add archive-key.asc
更换阿里软件源
https://developer.aliyun.com/mirror/
vim /etc/apt/sources.list
deb https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
apt-get update # 更新索引
配置静态ip
ifconfig
ip a
配置ssh允许连接
vim /etc/ssh/sshd_config
PermitRootLogin yes
systemctl restart ssh
伪装计算机
kali-undercover
查看端口占用
lsof -i:22