kali网络配置

touch 1.txt#创建一个文件

配置网卡

auto eth0
iface eth0 inet static
address 172.16.30.102#要设置的主机IP地址
netmask 255.255.255.0#子网掩码
gateway 172.16.30.254#网关

---

auto at0
iface at0 inet static
address 172.16.30.101
netmask 255.255.255.0

修改DNS

1 编辑文件
```nano /etc/resolv.conf```
2 添加DNS
```nameserver XX.XX.XX.XX```

service networking restart#重启网卡
autilus /usr/lib/python2.7/dist-packages/wifiphisher/data/phishing-pages#打开图形化界面(文件夹)



https://www.cnblogs.com/shiguangliangchunshanbo/p/8465165.html

posted @ 2018-11-20 13:46  糖水煮蛤蟆  阅读(266)  评论(0)    收藏  举报