Monday, June 4, 2012

Working through another hacking book

I've pretty much finished with the hacking/penetration testing book by at Engebretson, and I've started another:

Metasploit: The Penetration Tester's Guide
by Kennedy et al

I'm still using Backtrack 5 R2. Here are some things I had to do in order to work through this book

1. See installing postgres-8.4 and changing the password for user postgres. In Backtrack 5 R2, I had to install postgresql 8.4 (the book uses 8.3, but I think 8.4 will work just fine):

apt-get install postgresql-8.4

Then I had to change the password for the user postgres to toor:

sudo -u postgres psql template1
ALTER USER postgres with encrypted password 'toor';
 
press Ctrl+shift+z to exit, and I think you should be all set.