KaliRpi

0. img下载地址

  • 登陆用户密码: kali, kali;

1. 镜像源地址

kali@kali:~$ sudo vi /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
#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#东软大学
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#重庆大学
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
#官方源
#deb http://http.kali.org/kali kali-rolling main non-free contrib
#deb-src http://http.kali.org/kali kali-rolling main non-free contrib

2. VPN 配置

apt install x11vnc -y
x11vnc -storepasswd 123456 /home/kali/.vnc/passwd
cd /lib/systemd/system
sudo vim x11vnc.service
###
[Unit]
Description=Start x11vnc at startup
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/kali/.vnc/passwd -rfbport 5900 -shared
[Install]
WantedBy=multi-user.target
###
systemctl enable x11vnc.service
reboot
netstat -tunlp

-storepasswd:保存一个新的密码 123456:这个是密码 /etc/x11vnc.pass:保存在这个路径下的 “x11vnc.pass” 文件

https://lddpicture.oss-cn-beijing.aliyuncs.com/picture/image-20210118235103487.png

4. 黑客工具

0%