On Monday 15 September 2008, H D Moore wrote:
> For now, I am just fixing the drop table for notes, if you have a
> strong reason for removing all of the drop table calls, let me know.
> Not removing them causes subsequent db_create calls with the same name
> to reuse the old tables, which is probably not what people expect.

I see the reason for removing the drop table lines -- you call dropdb 
instead. This patch also changes the default user to 'postgres' when one 
is not specified, while this works for BackTrack, it causes problems when 
people run MSF as a normal user account and expect db_create to work 
without arguments with a postgres instance they just started (it will 
fail because the owner is their uid, not postgres). I am removing the 
default-to-postgres behavior from the patch, because even though it helps 
BackTrack users, it makes it more difficult to use for everyone else 
(BackTrack users can just specify the postgres user on the command line).

-HD
_______________________________________________
Framework-Hackers mailing list
Framework-Hackers@spool.metasploit.com
http://spool.metasploit.com/mailman/listinfo/framework-hackers

Reply via email to