metasploit version : 4.9
cp db_autopwn.rb to path:/opt/metasploit/apps/pro/msf3/plugins/
msf>load db_autopwn