Metasploit mailing list archives

db_autopwn issue when using db_nmap and db_add_host command


From: "Jacky Zhu" <Jacky_Zhu () symantec com>
Date: Sun, 22 Nov 2009 09:27:20 -0700

Hello All

 

I want to test db_autopwn but encountered problem as below when typing
db_nmap or db_addhost command,

I have updated the latest version today and all other functions works
very well except this, does anyone have the same problem?

 

msf > db_driver postgresql 

[*] Using database driver postgresql

msf > db_connect postgres:passwordhere@localhost:5432/postgres

msf > db_add_host 10.0.0.1  ****// the same result when using db_nmap
x.x.x.x //****

[*] Adding 1 hosts...

[-] Error while running command db_add_host: unknown attribute: created

 

Call stack:

/msf3/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:27
45:in `block in attributes='

/msf3/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:27
41:in `each'

/msf3/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:27
41:in `attributes='

/msf3/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:24
39:in `initialize'

/msf3/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:72
6:in `new'

/msf3/data/msfweb/vendor/rails/activerecord/lib/active_record/base.rb:72
6:in `create'

/msf3/lib/msf/core/db.rb:300:in `get_host'

/msf3/lib/msf/ui/console/command_dispatcher/db.rb:202:in `block in
cmd_db_add_host'

/msf3/lib/msf/ui/console/command_dispatcher/db.rb:201:in `each'

/msf3/lib/msf/ui/console/command_dispatcher/db.rb:201:in
`cmd_db_add_host'

/msf3/lib/rex/ui/text/dispatcher_shell.rb:235:in `run_command'

/msf3/lib/rex/ui/text/dispatcher_shell.rb:197:in `block in run_single'

/msf3/lib/rex/ui/text/dispatcher_shell.rb:192:in `each'

/msf3/lib/rex/ui/text/dispatcher_shell.rb:192:in `run_single'

/msf3/lib/rex/ui/text/shell.rb:137:in `run'

msfconsole:87:in `<main>'

msf >db_hosts

msf> *********nothing here*******

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: