msfconsole漏洞利用框架

本章介绍了在Kali系统环境下通过msfconsole漏洞利用框架实现对虚拟机win2003的漏洞利用

1 配置Kali系统IP地址  

vim /etc/network/interfaces

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.31.250
netmask 255.255.255.0
gateway 192.168.31.1

win2003 IP地址如下:

 Kali系统与win2003可以互通

 我是在虚拟机VMware中将网络适配器设置为桥接模式,如果不行将虚拟机关机还原一下网络设置。在Kali系统中用ifup eth0将网卡启动

顺便提一下在Kali中安装软件命令为:apt-get install xxx  需要更新apt的源命令如下:vim /etc/apt/sources.list  这里推荐用阿里云的源,方法自行百度。

2 msfconsole 漏洞利用框架

1 输入msfconsole启动程序

 使用msfupdate命令可以更新 参考网址https://www.cnblogs.com/zuoxiaolongzzz/p/8927173.html

2 search ms17-010

use xxx

show options

info 查看说明

set rhost 192.168.31.138

exploit

待完善!!!

猜你喜欢

转载自www.cnblogs.com/52kj/p/12389558.html