Kali Linux 从入门到精通(三)-入侵系统定制
定制
-
网络配置
- 临时IP地址
- dhclient eth0
- ifconfig eth0 192.168.11/24
- route add default gw 192.168.1.1 # 添加默认网关
- echo nameserver 192.168.1.1 > /etc/resolv.conf
- 固定IP地址(计算机重启后依然生效)
- auto th0
- iface th0 inel stalic
- address 192.168.20.1
- netmask 255.255.255.0
- network 192.168.20.255
- broadcast 192.168.20.255
- gateway 192.168.20.2
- dns-nameservers 192.168.1.1 192.168.1.2
- up route add -net 172.16.5.0 gw 192.168.10.100 eth1
- down route del -net 172.24.0.0/24
- 临时IP地址
-
更新升级
- apt-get update: 实际上是更新的是包的索引文件
- apt-get upgrade: 实际更新包的指令
-
安装软件包
- 库