metasploit-credential 0.7.14 → 0.7.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGY5ZDBmNjUzNzg1NDdkMTIwOGJkMzQ1NjkwM2Q3NjBiMjAyYTJlYQ==
4
+ NjZlODczMWNjY2IwODEwMDk0NDU4MTdlM2NkMjJkNDlmZjZiNThiMw==
5
5
  data.tar.gz: !binary |-
6
- Yjg5OTlmM2UwYjkyNDNjOGNjZTI4ZWFlOGY1MWRkYmU1YmJlMTYyMw==
6
+ OGE4NWVlODdiMDY0YTU0YTRiODU0OTYzZmI1YTBmZTZmMDFmZjU1NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODI1MmRkYWJhNTBhODBkNzgxZTIzZmM3YjgyNTZmOTQxYWQzZGMwM2M4OTgz
10
- NzI3ZjhkOWMyOWMxZGYzNWI5ZmQ1MGUxYmM4NjQzYWY5ZmU4Yjk2OGE4ZjQw
11
- NWQzY2Y4NmYxMzBhMWY0MThlMDg3NWVmZTM0ZGY3YjdiYmVjZDA=
9
+ ZTliZGIyNDg4NTY1MWUzZmZjNDk3YWZiYTdmYzU4NGJhZGY4NjZkODg4ODc0
10
+ MzM4MzFlOWY0NDlhNjlkY2ExYjY3NDQzNDBmYTdmZDI3YmE2YmJlMmRiYWNh
11
+ Y2IwZTE0ODdhMTkzYzNlMzQyZDhkNTRkMWY3YTJhZDNiYjA3Y2Y=
12
12
  data.tar.gz: !binary |-
13
- MDFlNzJiZTBjNTg2ZmViMWFmZGI0ZTA0MzJlMzBhYzdkMTc1Mzg1ZDYzODNm
14
- ZThhNmVmMjE4M2ZjOTIxNmY0NmM4Y2NhYzBiYTIyMjhlMTRlNGRhYzQ2MWUz
15
- ZTA2OWIwZDM3MWRmZTFiZTdiMDFlOWY2Y2M2NTEwMDdjZjE3MmI=
13
+ OTc5NGZjMzE1MmU3OGRkNDc4ZTBkZmM1MjY0YTBlNjc3M2M4ODBjZjZiNmI3
14
+ MmUzNDZkNjhhY2ZjYzFjYzQ4ZGJiYzJiYjYwZWQyZjk2ZTc0ZTFmYmI5YTFk
15
+ MjUzMDNjYjliZGY3NzNkYTg4ZjA2YWM5Y2JmOTEyMTU5M2FkM2Y=
@@ -426,29 +426,15 @@ module Metasploit
426
426
  status = opts.fetch(:status)
427
427
 
428
428
 
429
- begin
430
- pub_obj = Metasploit::Credential::Public.where(username: public).first.id
431
- rescue NoMethodError
432
- pub_obj = nil
433
- end
434
-
435
- begin
436
- priv_obj = Metasploit::Credential::Private.where(data: private).first.id
437
- rescue NoMethodError
438
- priv_obj = nil
439
- end
440
-
441
- begin
442
- realm_obj = Metasploit::Credential::Realm.where(key: realm_key, value: realm_value).first.id
443
- rescue NoMethodError
444
- realm_obj = nil
445
- end
429
+ pub_obj = Metasploit::Credential::Public.where(username: public).first.try(:id)
430
+ priv_obj = Metasploit::Credential::Private.where(data: private).first.try(:id)
431
+ realm_obj = Metasploit::Credential::Realm.where(key: realm_key, value: realm_value).first.try(:id)
446
432
 
447
433
  core = Metasploit::Credential::Core.where(public_id: pub_obj, private_id: priv_obj, realm_id: realm_obj).first
448
434
 
449
435
  # Do nothing else if we have no matching core. Otherwise look for a Login.
450
436
  if core.present?
451
- login = Metasploit::Credential::Login.joins(service: :host).where(services: { port: port, proto: protocol } ).where( hosts: {address: address}).readonly(false).first
437
+ login = core.logins.joins(service: :host).where(services: { port: port, proto: protocol } ).where( hosts: {address: address}).readonly(false).first
452
438
 
453
439
  if login.present?
454
440
  login.status = status
@@ -7,7 +7,7 @@ module Metasploit
7
7
  # The minor version number, scoped to the {MAJOR} version number.
8
8
  MINOR = 7
9
9
  # The patch number, scoped to the {MINOR} version number.
10
- PATCH = 14
10
+ PATCH = 15
11
11
 
12
12
  # The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
13
13
  # {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
@@ -32643,3 +32643,1444 @@ Connecting to database specified by database.yml
32643
32643
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
32644
32644
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
32645
32645
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
32646
+ Connecting to database specified by database.yml
32647
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
32648
+  (198.4ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
32649
+  (460.8ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
32650
+  (9.7ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32651
+  (2.7ms) CREATE TABLE "clients" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "ua_string" character varying(1024) NOT NULL, "ua_name" character varying(64), "ua_ver" character varying(32), "updated_at" timestamp) 
32652
+  (0.7ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
32653
+  (0.8ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
32654
+  (24.2ms) CREATE TABLE "creds" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user" character varying(2048), "pass" character varying(4096), "active" boolean DEFAULT 't', "proof" character varying(4096), "ptype" character varying(256), "source_id" integer, "source_type" character varying(255))
32655
+  (2.8ms) CREATE TABLE "events" ("id" serial primary key, "workspace_id" integer, "host_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "critical" boolean, "seen" boolean, "username" character varying(255), "info" text) 
32656
+  (2.6ms) CREATE TABLE "exploit_attempts" ("id" serial primary key, "host_id" integer, "service_id" integer, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "port" integer, "proto" character varying(255), "fail_detail" text)
32657
+  (2.7ms) CREATE TABLE "exploited_hosts" ("id" serial primary key, "host_id" integer NOT NULL, "service_id" integer, "session_uuid" character varying(8), "name" character varying(2048), "payload" character varying(2048), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32658
+  (2.9ms) CREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer, "src" character varying(255), "nx_site_name" character varying(255), "nx_site_importance" character varying(255), "nx_scan_template" character varying(255), "nx_risk_score" float)
32659
+  (3.4ms) CREATE TABLE "hosts" ("id" serial primary key, "created_at" timestamp, "address" character varying(255) NOT NULL, "mac" character varying(255), "comm" character varying(255), "name" character varying(255), "state" character varying(255), "os_name" character varying(255), "os_flavor" character varying(255), "os_sp" character varying(255), "os_lang" character varying(255), "arch" character varying(255), "workspace_id" integer NOT NULL, "updated_at" timestamp, "purpose" text, "info" character varying(65536), "comments" text, "scope" text, "virtual_host" text, "note_count" integer DEFAULT 0, "vuln_count" integer DEFAULT 0, "service_count" integer DEFAULT 0, "host_detail_count" integer DEFAULT 0, "exploit_attempt_count" integer DEFAULT 0, "cred_count" integer DEFAULT 0) 
32660
+  (0.9ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
32661
+  (0.9ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
32662
+  (0.8ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
32663
+  (0.8ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
32664
+  (0.8ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
32665
+  (0.8ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
32666
+  (1.9ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
32667
+  (2.8ms) CREATE TABLE "listeners" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "workspace_id" integer DEFAULT 1 NOT NULL, "task_id" integer, "enabled" boolean DEFAULT 't', "owner" text, "payload" text, "address" text, "port" integer, "options" bytea, "macro" text) 
32668
+  (2.6ms) CREATE TABLE "loots" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "host_id" integer, "service_id" integer, "ltype" character varying(512), "path" character varying(1024), "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "content_type" character varying(255), "name" text, "info" text)
32669
+  (3.0ms) CREATE TABLE "macros" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "owner" text, "name" text, "description" text, "actions" bytea, "prefs" bytea) 
32670
+  (3.1ms) CREATE TABLE "metasploit_credential_cores" ("id" serial primary key, "origin_id" integer NOT NULL, "origin_type" character varying(255) NOT NULL, "private_id" integer, "public_id" integer, "realm_id" integer, "workspace_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "logins_count" integer DEFAULT 0)
32671
+  (1.2ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
32672
+  (1.0ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
32673
+  (1.1ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
32674
+  (1.0ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
32675
+  (1.0ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
32676
+  (2.8ms) CREATE TABLE "metasploit_credential_logins" ("id" serial primary key, "core_id" integer NOT NULL, "service_id" integer NOT NULL, "access_level" character varying(255), "status" character varying(255) NOT NULL, "last_attempted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32677
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
32678
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
32679
+  (2.0ms) CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32680
+  (0.9ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
32681
+  (2.6ms) CREATE TABLE "metasploit_credential_origin_imports" ("id" serial primary key, "filename" text NOT NULL, "task_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32682
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
32683
+  (2.2ms) CREATE TABLE "metasploit_credential_origin_manuals" ("id" serial primary key, "user_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32684
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
32685
+  (2.7ms) CREATE TABLE "metasploit_credential_origin_services" ("id" serial primary key, "service_id" integer NOT NULL, "module_full_name" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32686
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
32687
+  (5.2ms) CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32688
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
32689
+  (2.6ms) CREATE TABLE "metasploit_credential_privates" ("id" serial primary key, "type" character varying(255) NOT NULL, "data" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "jtr_format" character varying(255)) 
32690
+  (1.0ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
32691
+  (1.7ms) CREATE TABLE "metasploit_credential_publics" ("id" serial primary key, "username" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32692
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
32693
+  (3.7ms) CREATE TABLE "metasploit_credential_realms" ("id" serial primary key, "key" character varying(255) NOT NULL, "value" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32694
+  (1.2ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
32695
+  (4.1ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
32696
+  (3.6ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
32697
+  (0.8ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
32698
+  (2.8ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
32699
+  (0.9ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
32700
+  (2.8ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
32701
+  (0.8ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
32702
+  (2.9ms) CREATE TABLE "module_details" ("id" serial primary key, "mtime" timestamp, "file" text, "mtype" character varying(255), "refname" text, "fullname" text, "name" text, "rank" integer, "description" text, "license" character varying(255), "privileged" boolean, "disclosure_date" timestamp, "default_target" integer, "default_action" text, "stance" character varying(255), "ready" boolean)
32703
+  (0.9ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
32704
+  (0.8ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
32705
+  (0.9ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
32706
+  (0.8ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
32707
+  (4.4ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
32708
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
32709
+  (2.7ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
32710
+  (0.9ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
32711
+  (2.6ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
32712
+  (0.8ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
32713
+  (44.0ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
32714
+  (22.0ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
32715
+  (1.4ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
32716
+  (4.4ms) CREATE TABLE "nexpose_consoles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "enabled" boolean DEFAULT 't', "owner" text, "address" text, "port" integer DEFAULT 3780, "username" text, "password" text, "status" text, "version" text, "cert" text, "cached_sites" bytea, "name" text)
32717
+  (2.9ms) CREATE TABLE "notes" ("id" serial primary key, "created_at" timestamp, "ntype" character varying(512), "workspace_id" integer DEFAULT 1 NOT NULL, "service_id" integer, "host_id" integer, "updated_at" timestamp, "critical" boolean, "seen" boolean, "data" text) 
32718
+  (0.8ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
32719
+  (2.6ms) CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea) 
32720
+  (2.7ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
32721
+  (0.8ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
32722
+  (5.0ms) CREATE TABLE "report_templates" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "path" character varying(1024), "name" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32723
+  (2.8ms) CREATE TABLE "reports" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "rtype" character varying(255), "path" character varying(1024), "options" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "downloaded_at" timestamp, "task_id" integer, "name" character varying(63)) 
32724
+  (2.8ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
32725
+  (2.6ms) CREATE TABLE "services" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "port" integer NOT NULL, "proto" character varying(16) NOT NULL, "state" character varying(255), "name" character varying(255), "updated_at" timestamp, "info" text) 
32726
+  (0.8ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
32727
+  (0.8ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
32728
+  (0.8ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
32729
+  (0.9ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
32730
+  (2.8ms) CREATE TABLE "session_events" ("id" serial primary key, "session_id" integer, "etype" character varying(255), "command" bytea, "output" bytea, "remote_path" character varying(255), "local_path" character varying(255), "created_at" timestamp)
32731
+  (2.8ms) CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255), "local_id" integer, "last_seen" timestamp) 
32732
+  (5.3ms) CREATE TABLE "tags" ("id" serial primary key, "user_id" integer, "name" character varying(1024), "desc" text, "report_summary" boolean DEFAULT 'f' NOT NULL, "report_detail" boolean DEFAULT 'f' NOT NULL, "critical" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32733
+  (2.8ms) CREATE TABLE "task_creds" ("id" serial primary key, "task_id" integer NOT NULL, "cred_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32734
+  (2.9ms) CREATE TABLE "task_hosts" ("id" serial primary key, "task_id" integer NOT NULL, "host_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32735
+  (2.9ms) CREATE TABLE "task_services" ("id" serial primary key, "task_id" integer NOT NULL, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32736
+  (2.2ms) CREATE TABLE "task_sessions" ("id" serial primary key, "task_id" integer NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32737
+  (2.8ms) CREATE TABLE "tasks" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "module" character varying(255), "completed_at" timestamp, "path" character varying(1024), "info" character varying(255), "description" character varying(255), "progress" integer, "options" text, "error" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "result" text, "module_uuid" character varying(8), "settings" bytea) 
32738
+  (2.8ms) CREATE TABLE "users" ("id" serial primary key, "username" character varying(255), "crypted_password" character varying(255), "password_salt" character varying(255), "persistence_token" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "fullname" character varying(255), "email" character varying(255), "phone" character varying(255), "company" character varying(255), "prefs" character varying(524288), "admin" boolean DEFAULT 't' NOT NULL)
32739
+  (2.7ms) CREATE TABLE "vuln_attempts" ("id" serial primary key, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "fail_detail" text) 
32740
+  (3.1ms) CREATE TABLE "vuln_details" ("id" serial primary key, "vuln_id" integer, "cvss_score" float, "cvss_vector" character varying(255), "title" character varying(255), "description" text, "solution" text, "proof" bytea, "nx_console_id" integer, "nx_device_id" integer, "nx_vuln_id" character varying(255), "nx_severity" float, "nx_pci_severity" float, "nx_published" timestamp, "nx_added" timestamp, "nx_modified" timestamp, "nx_tags" text, "nx_vuln_status" text, "nx_proof_key" text, "src" character varying(255), "nx_scan_id" integer, "nx_vulnerable_since" timestamp, "nx_pci_compliance_status" character varying(255))
32741
+  (2.9ms) CREATE TABLE "vulns" ("id" serial primary key, "host_id" integer, "service_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "info" character varying(65536), "exploited_at" timestamp, "vuln_detail_count" integer DEFAULT 0, "vuln_attempt_count" integer DEFAULT 0) 
32742
+  (0.7ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
32743
+  (1.8ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
32744
+  (2.6ms) CREATE TABLE "web_forms" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "method" character varying(1024), "params" text, "query" text)
32745
+  (0.9ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
32746
+  (2.8ms) CREATE TABLE "web_pages" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "query" text, "code" integer NOT NULL, "cookie" text, "auth" text, "ctype" text, "mtime" timestamp, "location" text, "headers" text, "body" bytea, "request" bytea)
32747
+  (0.9ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
32748
+  (0.7ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
32749
+  (3.1ms) CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text) 
32750
+  (0.8ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
32751
+  (1.0ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
32752
+  (1.1ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
32753
+  (4.7ms) CREATE TABLE "web_vulns" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text NOT NULL, "method" character varying(1024) NOT NULL, "params" text NOT NULL, "pname" text, "risk" integer NOT NULL, "name" character varying(1024) NOT NULL, "query" text, "category" text NOT NULL, "confidence" integer NOT NULL, "description" text, "blame" text, "request" bytea, "proof" bytea NOT NULL, "owner" character varying(255), "payload" text) 
32754
+  (1.3ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
32755
+  (1.3ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
32756
+  (1.1ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
32757
+  (3.8ms) CREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "meth" character varying(32), "path" text, "headers" text, "query" text, "body" text, "respcode" character varying(16), "resphead" text, "response" text, "created_at" timestamp, "updated_at" timestamp) 
32758
+  (2.7ms) CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "selected" integer, "created_at" timestamp, "updated_at" timestamp)
32759
+  (0.7ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
32760
+  (2.7ms) CREATE TABLE "workspaces" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "boundary" character varying(4096), "description" character varying(4096), "owner_id" integer, "limit_to_network" boolean DEFAULT 'f' NOT NULL)
32761
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
32762
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
32763
+  (0.2ms) SELECT version FROM "schema_migrations"
32764
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
32765
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
32766
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
32767
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
32768
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
32769
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
32770
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
32771
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
32772
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
32773
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
32774
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
32775
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
32776
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
32777
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
32778
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
32779
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
32780
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
32781
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
32782
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
32783
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
32784
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
32785
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
32786
+  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
32787
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
32788
+  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
32789
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
32790
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
32791
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
32792
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
32793
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
32794
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
32795
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
32796
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
32797
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
32798
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
32799
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
32800
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
32801
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
32802
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
32803
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
32804
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
32805
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
32806
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
32807
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
32808
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
32809
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
32810
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
32811
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
32812
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
32813
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
32814
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
32815
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
32816
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
32817
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
32818
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
32819
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
32820
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
32821
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
32822
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
32823
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
32824
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
32825
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
32826
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
32827
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
32828
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
32829
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
32830
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
32831
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
32832
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
32833
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
32834
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
32835
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
32836
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
32837
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
32838
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
32839
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
32840
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
32841
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
32842
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
32843
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
32844
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
32845
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
32846
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
32847
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
32848
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
32849
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
32850
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
32851
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
32852
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
32853
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
32854
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
32855
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
32856
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
32857
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
32858
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
32859
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
32860
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
32861
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
32862
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
32863
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
32864
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
32865
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
32866
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
32867
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
32868
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
32869
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
32870
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
32871
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
32872
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
32873
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
32874
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
32875
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
32876
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
32877
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
32878
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
32879
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
32880
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
32881
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
32882
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
32883
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
32884
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
32885
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
32886
+ Connecting to database specified by database.yml
32887
+ Connecting to database specified by database.yml
32888
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
32889
+  (130.0ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
32890
+  (231.3ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
32891
+  (5.1ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32892
+  (2.5ms) CREATE TABLE "clients" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "ua_string" character varying(1024) NOT NULL, "ua_name" character varying(64), "ua_ver" character varying(32), "updated_at" timestamp) 
32893
+  (0.6ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
32894
+  (0.8ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
32895
+  (2.8ms) CREATE TABLE "creds" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user" character varying(2048), "pass" character varying(4096), "active" boolean DEFAULT 't', "proof" character varying(4096), "ptype" character varying(256), "source_id" integer, "source_type" character varying(255))
32896
+  (2.6ms) CREATE TABLE "events" ("id" serial primary key, "workspace_id" integer, "host_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "critical" boolean, "seen" boolean, "username" character varying(255), "info" text) 
32897
+  (2.8ms) CREATE TABLE "exploit_attempts" ("id" serial primary key, "host_id" integer, "service_id" integer, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "port" integer, "proto" character varying(255), "fail_detail" text)
32898
+  (2.7ms) CREATE TABLE "exploited_hosts" ("id" serial primary key, "host_id" integer NOT NULL, "service_id" integer, "session_uuid" character varying(8), "name" character varying(2048), "payload" character varying(2048), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32899
+  (2.8ms) CREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer, "src" character varying(255), "nx_site_name" character varying(255), "nx_site_importance" character varying(255), "nx_scan_template" character varying(255), "nx_risk_score" float)
32900
+  (3.0ms) CREATE TABLE "hosts" ("id" serial primary key, "created_at" timestamp, "address" character varying(255) NOT NULL, "mac" character varying(255), "comm" character varying(255), "name" character varying(255), "state" character varying(255), "os_name" character varying(255), "os_flavor" character varying(255), "os_sp" character varying(255), "os_lang" character varying(255), "arch" character varying(255), "workspace_id" integer NOT NULL, "updated_at" timestamp, "purpose" text, "info" character varying(65536), "comments" text, "scope" text, "virtual_host" text, "note_count" integer DEFAULT 0, "vuln_count" integer DEFAULT 0, "service_count" integer DEFAULT 0, "host_detail_count" integer DEFAULT 0, "exploit_attempt_count" integer DEFAULT 0, "cred_count" integer DEFAULT 0) 
32901
+  (1.5ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
32902
+  (0.8ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
32903
+  (0.8ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
32904
+  (0.9ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
32905
+  (0.9ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
32906
+  (1.0ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
32907
+  (1.9ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
32908
+  (2.8ms) CREATE TABLE "listeners" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "workspace_id" integer DEFAULT 1 NOT NULL, "task_id" integer, "enabled" boolean DEFAULT 't', "owner" text, "payload" text, "address" text, "port" integer, "options" bytea, "macro" text) 
32909
+  (2.7ms) CREATE TABLE "loots" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "host_id" integer, "service_id" integer, "ltype" character varying(512), "path" character varying(1024), "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "content_type" character varying(255), "name" text, "info" text)
32910
+  (2.7ms) CREATE TABLE "macros" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "owner" text, "name" text, "description" text, "actions" bytea, "prefs" bytea) 
32911
+  (2.0ms) CREATE TABLE "metasploit_credential_cores" ("id" serial primary key, "origin_id" integer NOT NULL, "origin_type" character varying(255) NOT NULL, "private_id" integer, "public_id" integer, "realm_id" integer, "workspace_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "logins_count" integer DEFAULT 0)
32912
+  (0.9ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
32913
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
32914
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
32915
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
32916
+  (0.9ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
32917
+  (2.5ms) CREATE TABLE "metasploit_credential_logins" ("id" serial primary key, "core_id" integer NOT NULL, "service_id" integer NOT NULL, "access_level" character varying(255), "status" character varying(255) NOT NULL, "last_attempted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32918
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
32919
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
32920
+  (1.8ms) CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32921
+  (0.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
32922
+  (2.4ms) CREATE TABLE "metasploit_credential_origin_imports" ("id" serial primary key, "filename" text NOT NULL, "task_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32923
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
32924
+  (1.8ms) CREATE TABLE "metasploit_credential_origin_manuals" ("id" serial primary key, "user_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32925
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
32926
+  (2.3ms) CREATE TABLE "metasploit_credential_origin_services" ("id" serial primary key, "service_id" integer NOT NULL, "module_full_name" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32927
+  (1.2ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
32928
+  (2.6ms) CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32929
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
32930
+  (2.5ms) CREATE TABLE "metasploit_credential_privates" ("id" serial primary key, "type" character varying(255) NOT NULL, "data" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "jtr_format" character varying(255)) 
32931
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
32932
+  (1.7ms) CREATE TABLE "metasploit_credential_publics" ("id" serial primary key, "username" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32933
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
32934
+  (2.3ms) CREATE TABLE "metasploit_credential_realms" ("id" serial primary key, "key" character varying(255) NOT NULL, "value" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32935
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
32936
+  (2.4ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
32937
+  (2.5ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
32938
+  (0.8ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
32939
+  (2.4ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
32940
+  (0.8ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
32941
+  (2.3ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
32942
+  (0.8ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
32943
+  (2.6ms) CREATE TABLE "module_details" ("id" serial primary key, "mtime" timestamp, "file" text, "mtype" character varying(255), "refname" text, "fullname" text, "name" text, "rank" integer, "description" text, "license" character varying(255), "privileged" boolean, "disclosure_date" timestamp, "default_target" integer, "default_action" text, "stance" character varying(255), "ready" boolean)
32944
+  (0.8ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
32945
+  (0.8ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
32946
+  (0.8ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
32947
+  (0.9ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
32948
+  (2.6ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
32949
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
32950
+  (2.4ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
32951
+  (0.8ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
32952
+  (2.4ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
32953
+  (0.8ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
32954
+  (0.7ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
32955
+  (2.4ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
32956
+  (0.8ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
32957
+  (2.8ms) CREATE TABLE "nexpose_consoles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "enabled" boolean DEFAULT 't', "owner" text, "address" text, "port" integer DEFAULT 3780, "username" text, "password" text, "status" text, "version" text, "cert" text, "cached_sites" bytea, "name" text)
32958
+  (2.5ms) CREATE TABLE "notes" ("id" serial primary key, "created_at" timestamp, "ntype" character varying(512), "workspace_id" integer DEFAULT 1 NOT NULL, "service_id" integer, "host_id" integer, "updated_at" timestamp, "critical" boolean, "seen" boolean, "data" text) 
32959
+  (0.7ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
32960
+  (2.4ms) CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea) 
32961
+  (2.4ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
32962
+  (0.7ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
32963
+  (2.6ms) CREATE TABLE "report_templates" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "path" character varying(1024), "name" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32964
+  (2.7ms) CREATE TABLE "reports" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "rtype" character varying(255), "path" character varying(1024), "options" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "downloaded_at" timestamp, "task_id" integer, "name" character varying(63)) 
32965
+  (2.3ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
32966
+  (2.4ms) CREATE TABLE "services" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "port" integer NOT NULL, "proto" character varying(16) NOT NULL, "state" character varying(255), "name" character varying(255), "updated_at" timestamp, "info" text) 
32967
+  (0.8ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
32968
+  (0.8ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
32969
+  (0.9ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
32970
+  (0.7ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
32971
+  (2.6ms) CREATE TABLE "session_events" ("id" serial primary key, "session_id" integer, "etype" character varying(255), "command" bytea, "output" bytea, "remote_path" character varying(255), "local_path" character varying(255), "created_at" timestamp)
32972
+  (2.3ms) CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255), "local_id" integer, "last_seen" timestamp) 
32973
+  (2.8ms) CREATE TABLE "tags" ("id" serial primary key, "user_id" integer, "name" character varying(1024), "desc" text, "report_summary" boolean DEFAULT 'f' NOT NULL, "report_detail" boolean DEFAULT 'f' NOT NULL, "critical" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32974
+  (1.8ms) CREATE TABLE "task_creds" ("id" serial primary key, "task_id" integer NOT NULL, "cred_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32975
+  (1.9ms) CREATE TABLE "task_hosts" ("id" serial primary key, "task_id" integer NOT NULL, "host_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32976
+  (1.7ms) CREATE TABLE "task_services" ("id" serial primary key, "task_id" integer NOT NULL, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32977
+  (1.7ms) CREATE TABLE "task_sessions" ("id" serial primary key, "task_id" integer NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
32978
+  (2.6ms) CREATE TABLE "tasks" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "module" character varying(255), "completed_at" timestamp, "path" character varying(1024), "info" character varying(255), "description" character varying(255), "progress" integer, "options" text, "error" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "result" text, "module_uuid" character varying(8), "settings" bytea) 
32979
+  (2.6ms) CREATE TABLE "users" ("id" serial primary key, "username" character varying(255), "crypted_password" character varying(255), "password_salt" character varying(255), "persistence_token" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "fullname" character varying(255), "email" character varying(255), "phone" character varying(255), "company" character varying(255), "prefs" character varying(524288), "admin" boolean DEFAULT 't' NOT NULL)
32980
+  (2.5ms) CREATE TABLE "vuln_attempts" ("id" serial primary key, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "fail_detail" text) 
32981
+  (2.6ms) CREATE TABLE "vuln_details" ("id" serial primary key, "vuln_id" integer, "cvss_score" float, "cvss_vector" character varying(255), "title" character varying(255), "description" text, "solution" text, "proof" bytea, "nx_console_id" integer, "nx_device_id" integer, "nx_vuln_id" character varying(255), "nx_severity" float, "nx_pci_severity" float, "nx_published" timestamp, "nx_added" timestamp, "nx_modified" timestamp, "nx_tags" text, "nx_vuln_status" text, "nx_proof_key" text, "src" character varying(255), "nx_scan_id" integer, "nx_vulnerable_since" timestamp, "nx_pci_compliance_status" character varying(255))
32982
+  (2.6ms) CREATE TABLE "vulns" ("id" serial primary key, "host_id" integer, "service_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "info" character varying(65536), "exploited_at" timestamp, "vuln_detail_count" integer DEFAULT 0, "vuln_attempt_count" integer DEFAULT 0) 
32983
+  (0.8ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
32984
+  (1.8ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
32985
+  (2.4ms) CREATE TABLE "web_forms" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "method" character varying(1024), "params" text, "query" text)
32986
+  (0.8ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
32987
+  (2.5ms) CREATE TABLE "web_pages" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "query" text, "code" integer NOT NULL, "cookie" text, "auth" text, "ctype" text, "mtime" timestamp, "location" text, "headers" text, "body" bytea, "request" bytea)
32988
+  (0.8ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
32989
+  (0.8ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
32990
+  (2.9ms) CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text) 
32991
+  (0.8ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
32992
+  (0.8ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
32993
+  (0.8ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
32994
+  (2.7ms) CREATE TABLE "web_vulns" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text NOT NULL, "method" character varying(1024) NOT NULL, "params" text NOT NULL, "pname" text, "risk" integer NOT NULL, "name" character varying(1024) NOT NULL, "query" text, "category" text NOT NULL, "confidence" integer NOT NULL, "description" text, "blame" text, "request" bytea, "proof" bytea NOT NULL, "owner" character varying(255), "payload" text) 
32995
+  (0.7ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
32996
+  (0.8ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
32997
+  (0.7ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
32998
+  (3.8ms) CREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "meth" character varying(32), "path" text, "headers" text, "query" text, "body" text, "respcode" character varying(16), "resphead" text, "response" text, "created_at" timestamp, "updated_at" timestamp) 
32999
+  (2.7ms) CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "selected" integer, "created_at" timestamp, "updated_at" timestamp)
33000
+  (0.6ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
33001
+  (2.6ms) CREATE TABLE "workspaces" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "boundary" character varying(4096), "description" character varying(4096), "owner_id" integer, "limit_to_network" boolean DEFAULT 'f' NOT NULL)
33002
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
33003
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33004
+  (0.2ms) SELECT version FROM "schema_migrations"
33005
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
33006
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
33007
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
33008
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
33009
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
33010
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
33011
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
33012
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
33013
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
33014
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
33015
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
33016
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
33017
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
33018
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
33019
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
33020
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
33021
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
33022
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
33023
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
33024
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
33025
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
33026
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
33027
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
33028
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
33029
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
33030
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
33031
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
33032
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
33033
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
33034
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
33035
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
33036
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
33037
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
33038
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
33039
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
33040
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
33041
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
33042
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
33043
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
33044
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
33045
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
33046
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
33047
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
33048
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
33049
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
33050
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
33051
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
33052
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
33053
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
33054
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
33055
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
33056
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
33057
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
33058
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
33059
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
33060
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
33061
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
33062
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
33063
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
33064
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
33065
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
33066
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
33067
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
33068
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
33069
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
33070
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
33071
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
33072
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
33073
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
33074
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
33075
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
33076
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
33077
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
33078
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
33079
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
33080
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
33081
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
33082
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
33083
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
33084
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
33085
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
33086
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
33087
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
33088
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
33089
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
33090
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
33091
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
33092
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
33093
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
33094
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
33095
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
33096
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
33097
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
33098
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
33099
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
33100
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
33101
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
33102
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
33103
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
33104
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
33105
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
33106
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
33107
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
33108
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
33109
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
33110
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
33111
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
33112
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
33113
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
33114
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
33115
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
33116
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
33117
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
33118
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
33119
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
33120
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
33121
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
33122
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
33123
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
33124
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
33125
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
33126
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
33127
+ Connecting to database specified by database.yml
33128
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
33129
+  (131.2ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
33130
+  (229.2ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
33131
+  (4.7ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33132
+  (2.7ms) CREATE TABLE "clients" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "ua_string" character varying(1024) NOT NULL, "ua_name" character varying(64), "ua_ver" character varying(32), "updated_at" timestamp) 
33133
+  (0.6ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
33134
+  (0.7ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
33135
+  (2.8ms) CREATE TABLE "creds" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user" character varying(2048), "pass" character varying(4096), "active" boolean DEFAULT 't', "proof" character varying(4096), "ptype" character varying(256), "source_id" integer, "source_type" character varying(255))
33136
+  (2.5ms) CREATE TABLE "events" ("id" serial primary key, "workspace_id" integer, "host_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "critical" boolean, "seen" boolean, "username" character varying(255), "info" text) 
33137
+  (2.7ms) CREATE TABLE "exploit_attempts" ("id" serial primary key, "host_id" integer, "service_id" integer, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "port" integer, "proto" character varying(255), "fail_detail" text)
33138
+  (2.5ms) CREATE TABLE "exploited_hosts" ("id" serial primary key, "host_id" integer NOT NULL, "service_id" integer, "session_uuid" character varying(8), "name" character varying(2048), "payload" character varying(2048), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33139
+  (2.6ms) CREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer, "src" character varying(255), "nx_site_name" character varying(255), "nx_site_importance" character varying(255), "nx_scan_template" character varying(255), "nx_risk_score" float)
33140
+  (3.1ms) CREATE TABLE "hosts" ("id" serial primary key, "created_at" timestamp, "address" character varying(255) NOT NULL, "mac" character varying(255), "comm" character varying(255), "name" character varying(255), "state" character varying(255), "os_name" character varying(255), "os_flavor" character varying(255), "os_sp" character varying(255), "os_lang" character varying(255), "arch" character varying(255), "workspace_id" integer NOT NULL, "updated_at" timestamp, "purpose" text, "info" character varying(65536), "comments" text, "scope" text, "virtual_host" text, "note_count" integer DEFAULT 0, "vuln_count" integer DEFAULT 0, "service_count" integer DEFAULT 0, "host_detail_count" integer DEFAULT 0, "exploit_attempt_count" integer DEFAULT 0, "cred_count" integer DEFAULT 0) 
33141
+  (1.1ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
33142
+  (0.8ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
33143
+  (0.8ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
33144
+  (0.8ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
33145
+  (0.9ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
33146
+  (0.8ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
33147
+  (1.8ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
33148
+  (2.8ms) CREATE TABLE "listeners" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "workspace_id" integer DEFAULT 1 NOT NULL, "task_id" integer, "enabled" boolean DEFAULT 't', "owner" text, "payload" text, "address" text, "port" integer, "options" bytea, "macro" text) 
33149
+  (2.6ms) CREATE TABLE "loots" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "host_id" integer, "service_id" integer, "ltype" character varying(512), "path" character varying(1024), "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "content_type" character varying(255), "name" text, "info" text)
33150
+  (2.6ms) CREATE TABLE "macros" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "owner" text, "name" text, "description" text, "actions" bytea, "prefs" bytea) 
33151
+  (1.8ms) CREATE TABLE "metasploit_credential_cores" ("id" serial primary key, "origin_id" integer NOT NULL, "origin_type" character varying(255) NOT NULL, "private_id" integer, "public_id" integer, "realm_id" integer, "workspace_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "logins_count" integer DEFAULT 0)
33152
+  (1.0ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
33153
+  (0.9ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
33154
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
33155
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
33156
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
33157
+  (2.6ms) CREATE TABLE "metasploit_credential_logins" ("id" serial primary key, "core_id" integer NOT NULL, "service_id" integer NOT NULL, "access_level" character varying(255), "status" character varying(255) NOT NULL, "last_attempted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33158
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
33159
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
33160
+  (1.8ms) CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33161
+  (0.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
33162
+  (2.5ms) CREATE TABLE "metasploit_credential_origin_imports" ("id" serial primary key, "filename" text NOT NULL, "task_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33163
+  (0.7ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
33164
+  (1.9ms) CREATE TABLE "metasploit_credential_origin_manuals" ("id" serial primary key, "user_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33165
+  (0.7ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
33166
+  (2.6ms) CREATE TABLE "metasploit_credential_origin_services" ("id" serial primary key, "service_id" integer NOT NULL, "module_full_name" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33167
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
33168
+  (2.6ms) CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33169
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
33170
+  (2.4ms) CREATE TABLE "metasploit_credential_privates" ("id" serial primary key, "type" character varying(255) NOT NULL, "data" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "jtr_format" character varying(255)) 
33171
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
33172
+  (1.5ms) CREATE TABLE "metasploit_credential_publics" ("id" serial primary key, "username" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33173
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
33174
+  (2.4ms) CREATE TABLE "metasploit_credential_realms" ("id" serial primary key, "key" character varying(255) NOT NULL, "value" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33175
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
33176
+  (2.4ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
33177
+  (2.3ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
33178
+  (0.8ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
33179
+  (2.8ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
33180
+  (0.8ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
33181
+  (2.4ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
33182
+  (0.8ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
33183
+  (2.6ms) CREATE TABLE "module_details" ("id" serial primary key, "mtime" timestamp, "file" text, "mtype" character varying(255), "refname" text, "fullname" text, "name" text, "rank" integer, "description" text, "license" character varying(255), "privileged" boolean, "disclosure_date" timestamp, "default_target" integer, "default_action" text, "stance" character varying(255), "ready" boolean)
33184
+  (0.7ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
33185
+  (0.9ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
33186
+  (0.9ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
33187
+  (0.8ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
33188
+  (2.6ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
33189
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
33190
+  (2.4ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
33191
+  (0.7ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
33192
+  (2.5ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
33193
+  (0.8ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
33194
+  (0.7ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
33195
+  (2.5ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
33196
+  (0.8ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
33197
+  (2.6ms) CREATE TABLE "nexpose_consoles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "enabled" boolean DEFAULT 't', "owner" text, "address" text, "port" integer DEFAULT 3780, "username" text, "password" text, "status" text, "version" text, "cert" text, "cached_sites" bytea, "name" text)
33198
+  (3.2ms) CREATE TABLE "notes" ("id" serial primary key, "created_at" timestamp, "ntype" character varying(512), "workspace_id" integer DEFAULT 1 NOT NULL, "service_id" integer, "host_id" integer, "updated_at" timestamp, "critical" boolean, "seen" boolean, "data" text) 
33199
+  (0.7ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
33200
+  (2.5ms) CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea) 
33201
+  (2.5ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
33202
+  (0.8ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
33203
+  (2.5ms) CREATE TABLE "report_templates" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "path" character varying(1024), "name" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33204
+  (2.7ms) CREATE TABLE "reports" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "rtype" character varying(255), "path" character varying(1024), "options" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "downloaded_at" timestamp, "task_id" integer, "name" character varying(63)) 
33205
+  (2.5ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
33206
+  (2.5ms) CREATE TABLE "services" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "port" integer NOT NULL, "proto" character varying(16) NOT NULL, "state" character varying(255), "name" character varying(255), "updated_at" timestamp, "info" text) 
33207
+  (0.7ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
33208
+  (0.8ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
33209
+  (0.8ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
33210
+  (0.8ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
33211
+  (2.6ms) CREATE TABLE "session_events" ("id" serial primary key, "session_id" integer, "etype" character varying(255), "command" bytea, "output" bytea, "remote_path" character varying(255), "local_path" character varying(255), "created_at" timestamp)
33212
+  (2.6ms) CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255), "local_id" integer, "last_seen" timestamp) 
33213
+  (2.7ms) CREATE TABLE "tags" ("id" serial primary key, "user_id" integer, "name" character varying(1024), "desc" text, "report_summary" boolean DEFAULT 'f' NOT NULL, "report_detail" boolean DEFAULT 'f' NOT NULL, "critical" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33214
+  (1.7ms) CREATE TABLE "task_creds" ("id" serial primary key, "task_id" integer NOT NULL, "cred_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33215
+  (1.8ms) CREATE TABLE "task_hosts" ("id" serial primary key, "task_id" integer NOT NULL, "host_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33216
+  (1.7ms) CREATE TABLE "task_services" ("id" serial primary key, "task_id" integer NOT NULL, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33217
+  (1.7ms) CREATE TABLE "task_sessions" ("id" serial primary key, "task_id" integer NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33218
+  (2.6ms) CREATE TABLE "tasks" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "module" character varying(255), "completed_at" timestamp, "path" character varying(1024), "info" character varying(255), "description" character varying(255), "progress" integer, "options" text, "error" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "result" text, "module_uuid" character varying(8), "settings" bytea) 
33219
+  (2.6ms) CREATE TABLE "users" ("id" serial primary key, "username" character varying(255), "crypted_password" character varying(255), "password_salt" character varying(255), "persistence_token" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "fullname" character varying(255), "email" character varying(255), "phone" character varying(255), "company" character varying(255), "prefs" character varying(524288), "admin" boolean DEFAULT 't' NOT NULL)
33220
+  (2.4ms) CREATE TABLE "vuln_attempts" ("id" serial primary key, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "fail_detail" text) 
33221
+  (2.7ms) CREATE TABLE "vuln_details" ("id" serial primary key, "vuln_id" integer, "cvss_score" float, "cvss_vector" character varying(255), "title" character varying(255), "description" text, "solution" text, "proof" bytea, "nx_console_id" integer, "nx_device_id" integer, "nx_vuln_id" character varying(255), "nx_severity" float, "nx_pci_severity" float, "nx_published" timestamp, "nx_added" timestamp, "nx_modified" timestamp, "nx_tags" text, "nx_vuln_status" text, "nx_proof_key" text, "src" character varying(255), "nx_scan_id" integer, "nx_vulnerable_since" timestamp, "nx_pci_compliance_status" character varying(255))
33222
+  (2.7ms) CREATE TABLE "vulns" ("id" serial primary key, "host_id" integer, "service_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "info" character varying(65536), "exploited_at" timestamp, "vuln_detail_count" integer DEFAULT 0, "vuln_attempt_count" integer DEFAULT 0) 
33223
+  (0.8ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
33224
+  (1.7ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
33225
+  (2.5ms) CREATE TABLE "web_forms" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "method" character varying(1024), "params" text, "query" text)
33226
+  (0.8ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
33227
+  (2.3ms) CREATE TABLE "web_pages" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "query" text, "code" integer NOT NULL, "cookie" text, "auth" text, "ctype" text, "mtime" timestamp, "location" text, "headers" text, "body" bytea, "request" bytea)
33228
+  (0.7ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
33229
+  (0.8ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
33230
+  (2.6ms) CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text) 
33231
+  (0.8ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
33232
+  (0.7ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
33233
+  (0.7ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
33234
+  (2.7ms) CREATE TABLE "web_vulns" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text NOT NULL, "method" character varying(1024) NOT NULL, "params" text NOT NULL, "pname" text, "risk" integer NOT NULL, "name" character varying(1024) NOT NULL, "query" text, "category" text NOT NULL, "confidence" integer NOT NULL, "description" text, "blame" text, "request" bytea, "proof" bytea NOT NULL, "owner" character varying(255), "payload" text) 
33235
+  (0.8ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
33236
+  (0.9ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
33237
+  (0.8ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
33238
+  (3.0ms) CREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "meth" character varying(32), "path" text, "headers" text, "query" text, "body" text, "respcode" character varying(16), "resphead" text, "response" text, "created_at" timestamp, "updated_at" timestamp) 
33239
+  (2.8ms) CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "selected" integer, "created_at" timestamp, "updated_at" timestamp)
33240
+  (0.7ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
33241
+  (2.8ms) CREATE TABLE "workspaces" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "boundary" character varying(4096), "description" character varying(4096), "owner_id" integer, "limit_to_network" boolean DEFAULT 'f' NOT NULL)
33242
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
33243
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33244
+  (0.2ms) SELECT version FROM "schema_migrations"
33245
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
33246
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
33247
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
33248
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
33249
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
33250
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
33251
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
33252
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
33253
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
33254
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
33255
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
33256
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
33257
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
33258
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
33259
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
33260
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
33261
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
33262
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
33263
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
33264
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
33265
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
33266
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
33267
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
33268
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
33269
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
33270
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
33271
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
33272
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
33273
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
33274
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
33275
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
33276
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
33277
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
33278
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
33279
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
33280
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
33281
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
33282
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
33283
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
33284
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
33285
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
33286
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
33287
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
33288
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
33289
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
33290
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
33291
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
33292
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
33293
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
33294
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
33295
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
33296
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
33297
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
33298
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
33299
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
33300
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
33301
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
33302
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
33303
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
33304
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
33305
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
33306
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
33307
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
33308
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
33309
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
33310
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
33311
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
33312
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
33313
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
33314
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
33315
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
33316
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
33317
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
33318
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
33319
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
33320
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
33321
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
33322
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
33323
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
33324
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
33325
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
33326
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
33327
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
33328
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
33329
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
33330
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
33331
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
33332
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
33333
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
33334
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
33335
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
33336
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
33337
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
33338
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
33339
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
33340
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
33341
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
33342
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
33343
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
33344
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
33345
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
33346
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
33347
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
33348
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
33349
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
33350
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
33351
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
33352
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
33353
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
33354
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
33355
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
33356
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
33357
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
33358
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
33359
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
33360
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
33361
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
33362
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
33363
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
33364
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
33365
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
33366
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
33367
+ Connecting to database specified by database.yml
33368
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
33369
+  (130.9ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
33370
+  (229.6ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
33371
+  (4.6ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33372
+  (2.6ms) CREATE TABLE "clients" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "ua_string" character varying(1024) NOT NULL, "ua_name" character varying(64), "ua_ver" character varying(32), "updated_at" timestamp) 
33373
+  (0.6ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
33374
+  (0.6ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
33375
+  (3.0ms) CREATE TABLE "creds" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user" character varying(2048), "pass" character varying(4096), "active" boolean DEFAULT 't', "proof" character varying(4096), "ptype" character varying(256), "source_id" integer, "source_type" character varying(255))
33376
+  (2.6ms) CREATE TABLE "events" ("id" serial primary key, "workspace_id" integer, "host_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "critical" boolean, "seen" boolean, "username" character varying(255), "info" text) 
33377
+  (2.5ms) CREATE TABLE "exploit_attempts" ("id" serial primary key, "host_id" integer, "service_id" integer, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "port" integer, "proto" character varying(255), "fail_detail" text)
33378
+  (2.6ms) CREATE TABLE "exploited_hosts" ("id" serial primary key, "host_id" integer NOT NULL, "service_id" integer, "session_uuid" character varying(8), "name" character varying(2048), "payload" character varying(2048), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33379
+  (2.6ms) CREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer, "src" character varying(255), "nx_site_name" character varying(255), "nx_site_importance" character varying(255), "nx_scan_template" character varying(255), "nx_risk_score" float)
33380
+  (3.0ms) CREATE TABLE "hosts" ("id" serial primary key, "created_at" timestamp, "address" character varying(255) NOT NULL, "mac" character varying(255), "comm" character varying(255), "name" character varying(255), "state" character varying(255), "os_name" character varying(255), "os_flavor" character varying(255), "os_sp" character varying(255), "os_lang" character varying(255), "arch" character varying(255), "workspace_id" integer NOT NULL, "updated_at" timestamp, "purpose" text, "info" character varying(65536), "comments" text, "scope" text, "virtual_host" text, "note_count" integer DEFAULT 0, "vuln_count" integer DEFAULT 0, "service_count" integer DEFAULT 0, "host_detail_count" integer DEFAULT 0, "exploit_attempt_count" integer DEFAULT 0, "cred_count" integer DEFAULT 0) 
33381
+  (1.0ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
33382
+  (0.8ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
33383
+  (0.9ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
33384
+  (0.8ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
33385
+  (0.8ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
33386
+  (0.8ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
33387
+  (1.8ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
33388
+  (2.8ms) CREATE TABLE "listeners" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "workspace_id" integer DEFAULT 1 NOT NULL, "task_id" integer, "enabled" boolean DEFAULT 't', "owner" text, "payload" text, "address" text, "port" integer, "options" bytea, "macro" text) 
33389
+  (2.5ms) CREATE TABLE "loots" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "host_id" integer, "service_id" integer, "ltype" character varying(512), "path" character varying(1024), "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "content_type" character varying(255), "name" text, "info" text)
33390
+  (2.7ms) CREATE TABLE "macros" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "owner" text, "name" text, "description" text, "actions" bytea, "prefs" bytea) 
33391
+  (1.8ms) CREATE TABLE "metasploit_credential_cores" ("id" serial primary key, "origin_id" integer NOT NULL, "origin_type" character varying(255) NOT NULL, "private_id" integer, "public_id" integer, "realm_id" integer, "workspace_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "logins_count" integer DEFAULT 0)
33392
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
33393
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
33394
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
33395
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
33396
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
33397
+  (2.4ms) CREATE TABLE "metasploit_credential_logins" ("id" serial primary key, "core_id" integer NOT NULL, "service_id" integer NOT NULL, "access_level" character varying(255), "status" character varying(255) NOT NULL, "last_attempted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33398
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
33399
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
33400
+  (1.8ms) CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33401
+  (0.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
33402
+  (2.4ms) CREATE TABLE "metasploit_credential_origin_imports" ("id" serial primary key, "filename" text NOT NULL, "task_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33403
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
33404
+  (1.8ms) CREATE TABLE "metasploit_credential_origin_manuals" ("id" serial primary key, "user_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33405
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
33406
+  (2.3ms) CREATE TABLE "metasploit_credential_origin_services" ("id" serial primary key, "service_id" integer NOT NULL, "module_full_name" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33407
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
33408
+  (2.6ms) CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33409
+  (0.9ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
33410
+  (2.5ms) CREATE TABLE "metasploit_credential_privates" ("id" serial primary key, "type" character varying(255) NOT NULL, "data" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "jtr_format" character varying(255)) 
33411
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
33412
+  (1.6ms) CREATE TABLE "metasploit_credential_publics" ("id" serial primary key, "username" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33413
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
33414
+  (2.3ms) CREATE TABLE "metasploit_credential_realms" ("id" serial primary key, "key" character varying(255) NOT NULL, "value" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33415
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
33416
+  (2.3ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
33417
+  (2.3ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
33418
+  (0.7ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
33419
+  (2.3ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
33420
+  (0.7ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
33421
+  (2.5ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
33422
+  (0.9ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
33423
+  (2.6ms) CREATE TABLE "module_details" ("id" serial primary key, "mtime" timestamp, "file" text, "mtype" character varying(255), "refname" text, "fullname" text, "name" text, "rank" integer, "description" text, "license" character varying(255), "privileged" boolean, "disclosure_date" timestamp, "default_target" integer, "default_action" text, "stance" character varying(255), "ready" boolean)
33424
+  (0.7ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
33425
+  (0.7ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
33426
+  (0.8ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
33427
+  (0.8ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
33428
+  (2.7ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
33429
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
33430
+  (2.5ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
33431
+  (0.7ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
33432
+  (2.4ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
33433
+  (0.8ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
33434
+  (0.8ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
33435
+  (2.5ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
33436
+  (0.9ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
33437
+  (2.6ms) CREATE TABLE "nexpose_consoles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "enabled" boolean DEFAULT 't', "owner" text, "address" text, "port" integer DEFAULT 3780, "username" text, "password" text, "status" text, "version" text, "cert" text, "cached_sites" bytea, "name" text)
33438
+  (2.5ms) CREATE TABLE "notes" ("id" serial primary key, "created_at" timestamp, "ntype" character varying(512), "workspace_id" integer DEFAULT 1 NOT NULL, "service_id" integer, "host_id" integer, "updated_at" timestamp, "critical" boolean, "seen" boolean, "data" text) 
33439
+  (0.8ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
33440
+  (2.7ms) CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea) 
33441
+  (2.4ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
33442
+  (0.8ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
33443
+  (2.6ms) CREATE TABLE "report_templates" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "path" character varying(1024), "name" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33444
+  (2.4ms) CREATE TABLE "reports" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "rtype" character varying(255), "path" character varying(1024), "options" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "downloaded_at" timestamp, "task_id" integer, "name" character varying(63)) 
33445
+  (2.6ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
33446
+  (2.6ms) CREATE TABLE "services" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "port" integer NOT NULL, "proto" character varying(16) NOT NULL, "state" character varying(255), "name" character varying(255), "updated_at" timestamp, "info" text) 
33447
+  (0.8ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
33448
+  (0.8ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
33449
+  (1.1ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
33450
+  (0.7ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
33451
+  (2.7ms) CREATE TABLE "session_events" ("id" serial primary key, "session_id" integer, "etype" character varying(255), "command" bytea, "output" bytea, "remote_path" character varying(255), "local_path" character varying(255), "created_at" timestamp)
33452
+  (2.5ms) CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255), "local_id" integer, "last_seen" timestamp) 
33453
+  (2.7ms) CREATE TABLE "tags" ("id" serial primary key, "user_id" integer, "name" character varying(1024), "desc" text, "report_summary" boolean DEFAULT 'f' NOT NULL, "report_detail" boolean DEFAULT 'f' NOT NULL, "critical" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33454
+  (1.7ms) CREATE TABLE "task_creds" ("id" serial primary key, "task_id" integer NOT NULL, "cred_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33455
+  (1.8ms) CREATE TABLE "task_hosts" ("id" serial primary key, "task_id" integer NOT NULL, "host_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33456
+  (1.6ms) CREATE TABLE "task_services" ("id" serial primary key, "task_id" integer NOT NULL, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33457
+  (1.9ms) CREATE TABLE "task_sessions" ("id" serial primary key, "task_id" integer NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33458
+  (2.8ms) CREATE TABLE "tasks" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "module" character varying(255), "completed_at" timestamp, "path" character varying(1024), "info" character varying(255), "description" character varying(255), "progress" integer, "options" text, "error" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "result" text, "module_uuid" character varying(8), "settings" bytea) 
33459
+  (2.7ms) CREATE TABLE "users" ("id" serial primary key, "username" character varying(255), "crypted_password" character varying(255), "password_salt" character varying(255), "persistence_token" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "fullname" character varying(255), "email" character varying(255), "phone" character varying(255), "company" character varying(255), "prefs" character varying(524288), "admin" boolean DEFAULT 't' NOT NULL)
33460
+  (2.5ms) CREATE TABLE "vuln_attempts" ("id" serial primary key, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "fail_detail" text) 
33461
+  (2.6ms) CREATE TABLE "vuln_details" ("id" serial primary key, "vuln_id" integer, "cvss_score" float, "cvss_vector" character varying(255), "title" character varying(255), "description" text, "solution" text, "proof" bytea, "nx_console_id" integer, "nx_device_id" integer, "nx_vuln_id" character varying(255), "nx_severity" float, "nx_pci_severity" float, "nx_published" timestamp, "nx_added" timestamp, "nx_modified" timestamp, "nx_tags" text, "nx_vuln_status" text, "nx_proof_key" text, "src" character varying(255), "nx_scan_id" integer, "nx_vulnerable_since" timestamp, "nx_pci_compliance_status" character varying(255))
33462
+  (2.8ms) CREATE TABLE "vulns" ("id" serial primary key, "host_id" integer, "service_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "info" character varying(65536), "exploited_at" timestamp, "vuln_detail_count" integer DEFAULT 0, "vuln_attempt_count" integer DEFAULT 0) 
33463
+  (0.8ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
33464
+  (1.7ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
33465
+  (2.4ms) CREATE TABLE "web_forms" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "method" character varying(1024), "params" text, "query" text)
33466
+  (0.7ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
33467
+  (2.4ms) CREATE TABLE "web_pages" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "query" text, "code" integer NOT NULL, "cookie" text, "auth" text, "ctype" text, "mtime" timestamp, "location" text, "headers" text, "body" bytea, "request" bytea)
33468
+  (0.9ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
33469
+  (0.8ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
33470
+  (2.7ms) CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text) 
33471
+  (0.8ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
33472
+  (0.8ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
33473
+  (0.8ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
33474
+  (2.7ms) CREATE TABLE "web_vulns" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text NOT NULL, "method" character varying(1024) NOT NULL, "params" text NOT NULL, "pname" text, "risk" integer NOT NULL, "name" character varying(1024) NOT NULL, "query" text, "category" text NOT NULL, "confidence" integer NOT NULL, "description" text, "blame" text, "request" bytea, "proof" bytea NOT NULL, "owner" character varying(255), "payload" text) 
33475
+  (0.8ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
33476
+  (0.8ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
33477
+  (0.8ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
33478
+  (3.4ms) CREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "meth" character varying(32), "path" text, "headers" text, "query" text, "body" text, "respcode" character varying(16), "resphead" text, "response" text, "created_at" timestamp, "updated_at" timestamp) 
33479
+  (3.2ms) CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "selected" integer, "created_at" timestamp, "updated_at" timestamp)
33480
+  (0.8ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
33481
+  (3.2ms) CREATE TABLE "workspaces" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "boundary" character varying(4096), "description" character varying(4096), "owner_id" integer, "limit_to_network" boolean DEFAULT 'f' NOT NULL)
33482
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
33483
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33484
+  (0.2ms) SELECT version FROM "schema_migrations"
33485
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
33486
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
33487
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
33488
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
33489
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
33490
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
33491
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
33492
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
33493
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
33494
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
33495
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
33496
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
33497
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
33498
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
33499
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
33500
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
33501
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
33502
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
33503
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
33504
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
33505
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
33506
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
33507
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
33508
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
33509
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
33510
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
33511
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
33512
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
33513
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
33514
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
33515
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
33516
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
33517
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
33518
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
33519
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
33520
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
33521
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
33522
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
33523
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
33524
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
33525
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
33526
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
33527
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
33528
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
33529
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
33530
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
33531
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
33532
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
33533
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
33534
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
33535
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
33536
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
33537
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
33538
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
33539
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
33540
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
33541
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
33542
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
33543
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
33544
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
33545
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
33546
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
33547
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
33548
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
33549
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
33550
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
33551
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
33552
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
33553
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
33554
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
33555
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
33556
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
33557
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
33558
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
33559
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
33560
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
33561
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
33562
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
33563
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
33564
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
33565
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
33566
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
33567
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
33568
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
33569
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
33570
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
33571
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
33572
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
33573
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
33574
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
33575
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
33576
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
33577
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
33578
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
33579
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
33580
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
33581
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
33582
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
33583
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
33584
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
33585
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
33586
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
33587
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
33588
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
33589
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
33590
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
33591
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
33592
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
33593
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
33594
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
33595
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
33596
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
33597
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
33598
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
33599
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
33600
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
33601
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
33602
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
33603
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
33604
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
33605
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
33606
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
33607
+ Connecting to database specified by database.yml
33608
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
33609
+  (130.4ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
33610
+  (229.0ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
33611
+  (4.8ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33612
+  (2.6ms) CREATE TABLE "clients" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "ua_string" character varying(1024) NOT NULL, "ua_name" character varying(64), "ua_ver" character varying(32), "updated_at" timestamp) 
33613
+  (0.6ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
33614
+  (0.6ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
33615
+  (2.8ms) CREATE TABLE "creds" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user" character varying(2048), "pass" character varying(4096), "active" boolean DEFAULT 't', "proof" character varying(4096), "ptype" character varying(256), "source_id" integer, "source_type" character varying(255))
33616
+  (2.4ms) CREATE TABLE "events" ("id" serial primary key, "workspace_id" integer, "host_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "critical" boolean, "seen" boolean, "username" character varying(255), "info" text) 
33617
+  (2.7ms) CREATE TABLE "exploit_attempts" ("id" serial primary key, "host_id" integer, "service_id" integer, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "port" integer, "proto" character varying(255), "fail_detail" text)
33618
+  (2.4ms) CREATE TABLE "exploited_hosts" ("id" serial primary key, "host_id" integer NOT NULL, "service_id" integer, "session_uuid" character varying(8), "name" character varying(2048), "payload" character varying(2048), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33619
+  (2.7ms) CREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer, "src" character varying(255), "nx_site_name" character varying(255), "nx_site_importance" character varying(255), "nx_scan_template" character varying(255), "nx_risk_score" float)
33620
+  (2.9ms) CREATE TABLE "hosts" ("id" serial primary key, "created_at" timestamp, "address" character varying(255) NOT NULL, "mac" character varying(255), "comm" character varying(255), "name" character varying(255), "state" character varying(255), "os_name" character varying(255), "os_flavor" character varying(255), "os_sp" character varying(255), "os_lang" character varying(255), "arch" character varying(255), "workspace_id" integer NOT NULL, "updated_at" timestamp, "purpose" text, "info" character varying(65536), "comments" text, "scope" text, "virtual_host" text, "note_count" integer DEFAULT 0, "vuln_count" integer DEFAULT 0, "service_count" integer DEFAULT 0, "host_detail_count" integer DEFAULT 0, "exploit_attempt_count" integer DEFAULT 0, "cred_count" integer DEFAULT 0) 
33621
+  (1.0ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
33622
+  (0.8ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
33623
+  (0.8ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
33624
+  (0.8ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
33625
+  (0.8ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
33626
+  (0.9ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
33627
+  (1.9ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
33628
+  (2.6ms) CREATE TABLE "listeners" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "workspace_id" integer DEFAULT 1 NOT NULL, "task_id" integer, "enabled" boolean DEFAULT 't', "owner" text, "payload" text, "address" text, "port" integer, "options" bytea, "macro" text) 
33629
+  (2.5ms) CREATE TABLE "loots" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "host_id" integer, "service_id" integer, "ltype" character varying(512), "path" character varying(1024), "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "content_type" character varying(255), "name" text, "info" text)
33630
+  (2.5ms) CREATE TABLE "macros" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "owner" text, "name" text, "description" text, "actions" bytea, "prefs" bytea) 
33631
+  (1.9ms) CREATE TABLE "metasploit_credential_cores" ("id" serial primary key, "origin_id" integer NOT NULL, "origin_type" character varying(255) NOT NULL, "private_id" integer, "public_id" integer, "realm_id" integer, "workspace_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "logins_count" integer DEFAULT 0)
33632
+  (0.9ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
33633
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
33634
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
33635
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
33636
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
33637
+  (2.4ms) CREATE TABLE "metasploit_credential_logins" ("id" serial primary key, "core_id" integer NOT NULL, "service_id" integer NOT NULL, "access_level" character varying(255), "status" character varying(255) NOT NULL, "last_attempted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33638
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
33639
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
33640
+  (2.1ms) CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33641
+  (0.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
33642
+  (2.5ms) CREATE TABLE "metasploit_credential_origin_imports" ("id" serial primary key, "filename" text NOT NULL, "task_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33643
+  (0.9ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
33644
+  (1.7ms) CREATE TABLE "metasploit_credential_origin_manuals" ("id" serial primary key, "user_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33645
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
33646
+  (2.6ms) CREATE TABLE "metasploit_credential_origin_services" ("id" serial primary key, "service_id" integer NOT NULL, "module_full_name" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33647
+  (0.9ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
33648
+  (2.8ms) CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33649
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
33650
+  (2.6ms) CREATE TABLE "metasploit_credential_privates" ("id" serial primary key, "type" character varying(255) NOT NULL, "data" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "jtr_format" character varying(255)) 
33651
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
33652
+  (1.6ms) CREATE TABLE "metasploit_credential_publics" ("id" serial primary key, "username" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33653
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
33654
+  (2.7ms) CREATE TABLE "metasploit_credential_realms" ("id" serial primary key, "key" character varying(255) NOT NULL, "value" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33655
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
33656
+  (2.4ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
33657
+  (2.3ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
33658
+  (0.7ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
33659
+  (2.3ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
33660
+  (0.7ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
33661
+  (2.4ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
33662
+  (0.7ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
33663
+  (2.8ms) CREATE TABLE "module_details" ("id" serial primary key, "mtime" timestamp, "file" text, "mtype" character varying(255), "refname" text, "fullname" text, "name" text, "rank" integer, "description" text, "license" character varying(255), "privileged" boolean, "disclosure_date" timestamp, "default_target" integer, "default_action" text, "stance" character varying(255), "ready" boolean)
33664
+  (0.7ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
33665
+  (0.7ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
33666
+  (0.8ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
33667
+  (0.7ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
33668
+  (2.6ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
33669
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
33670
+  (2.4ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
33671
+  (0.8ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
33672
+  (2.4ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
33673
+  (0.7ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
33674
+  (1.1ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
33675
+  (3.1ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
33676
+  (0.8ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
33677
+  (2.6ms) CREATE TABLE "nexpose_consoles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "enabled" boolean DEFAULT 't', "owner" text, "address" text, "port" integer DEFAULT 3780, "username" text, "password" text, "status" text, "version" text, "cert" text, "cached_sites" bytea, "name" text)
33678
+  (2.5ms) CREATE TABLE "notes" ("id" serial primary key, "created_at" timestamp, "ntype" character varying(512), "workspace_id" integer DEFAULT 1 NOT NULL, "service_id" integer, "host_id" integer, "updated_at" timestamp, "critical" boolean, "seen" boolean, "data" text) 
33679
+  (0.8ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
33680
+  (2.7ms) CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea) 
33681
+  (2.4ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
33682
+  (0.8ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
33683
+  (2.5ms) CREATE TABLE "report_templates" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "path" character varying(1024), "name" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33684
+  (2.4ms) CREATE TABLE "reports" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "rtype" character varying(255), "path" character varying(1024), "options" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "downloaded_at" timestamp, "task_id" integer, "name" character varying(63)) 
33685
+  (2.4ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
33686
+  (2.6ms) CREATE TABLE "services" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "port" integer NOT NULL, "proto" character varying(16) NOT NULL, "state" character varying(255), "name" character varying(255), "updated_at" timestamp, "info" text) 
33687
+  (0.7ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
33688
+  (0.8ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
33689
+  (0.7ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
33690
+  (0.8ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
33691
+  (2.7ms) CREATE TABLE "session_events" ("id" serial primary key, "session_id" integer, "etype" character varying(255), "command" bytea, "output" bytea, "remote_path" character varying(255), "local_path" character varying(255), "created_at" timestamp)
33692
+  (2.6ms) CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255), "local_id" integer, "last_seen" timestamp) 
33693
+  (2.7ms) CREATE TABLE "tags" ("id" serial primary key, "user_id" integer, "name" character varying(1024), "desc" text, "report_summary" boolean DEFAULT 'f' NOT NULL, "report_detail" boolean DEFAULT 'f' NOT NULL, "critical" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33694
+  (1.9ms) CREATE TABLE "task_creds" ("id" serial primary key, "task_id" integer NOT NULL, "cred_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33695
+  (1.9ms) CREATE TABLE "task_hosts" ("id" serial primary key, "task_id" integer NOT NULL, "host_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33696
+  (1.7ms) CREATE TABLE "task_services" ("id" serial primary key, "task_id" integer NOT NULL, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33697
+  (1.8ms) CREATE TABLE "task_sessions" ("id" serial primary key, "task_id" integer NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33698
+  (2.6ms) CREATE TABLE "tasks" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "module" character varying(255), "completed_at" timestamp, "path" character varying(1024), "info" character varying(255), "description" character varying(255), "progress" integer, "options" text, "error" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "result" text, "module_uuid" character varying(8), "settings" bytea) 
33699
+  (2.6ms) CREATE TABLE "users" ("id" serial primary key, "username" character varying(255), "crypted_password" character varying(255), "password_salt" character varying(255), "persistence_token" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "fullname" character varying(255), "email" character varying(255), "phone" character varying(255), "company" character varying(255), "prefs" character varying(524288), "admin" boolean DEFAULT 't' NOT NULL)
33700
+  (2.5ms) CREATE TABLE "vuln_attempts" ("id" serial primary key, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "fail_detail" text) 
33701
+  (2.7ms) CREATE TABLE "vuln_details" ("id" serial primary key, "vuln_id" integer, "cvss_score" float, "cvss_vector" character varying(255), "title" character varying(255), "description" text, "solution" text, "proof" bytea, "nx_console_id" integer, "nx_device_id" integer, "nx_vuln_id" character varying(255), "nx_severity" float, "nx_pci_severity" float, "nx_published" timestamp, "nx_added" timestamp, "nx_modified" timestamp, "nx_tags" text, "nx_vuln_status" text, "nx_proof_key" text, "src" character varying(255), "nx_scan_id" integer, "nx_vulnerable_since" timestamp, "nx_pci_compliance_status" character varying(255))
33702
+  (2.7ms) CREATE TABLE "vulns" ("id" serial primary key, "host_id" integer, "service_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "info" character varying(65536), "exploited_at" timestamp, "vuln_detail_count" integer DEFAULT 0, "vuln_attempt_count" integer DEFAULT 0) 
33703
+  (0.8ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
33704
+  (1.7ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
33705
+  (2.4ms) CREATE TABLE "web_forms" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "method" character varying(1024), "params" text, "query" text)
33706
+  (0.8ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
33707
+  (2.6ms) CREATE TABLE "web_pages" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "query" text, "code" integer NOT NULL, "cookie" text, "auth" text, "ctype" text, "mtime" timestamp, "location" text, "headers" text, "body" bytea, "request" bytea)
33708
+  (0.9ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
33709
+  (0.8ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
33710
+  (2.6ms) CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text) 
33711
+  (0.8ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
33712
+  (0.7ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
33713
+  (0.8ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
33714
+  (2.6ms) CREATE TABLE "web_vulns" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text NOT NULL, "method" character varying(1024) NOT NULL, "params" text NOT NULL, "pname" text, "risk" integer NOT NULL, "name" character varying(1024) NOT NULL, "query" text, "category" text NOT NULL, "confidence" integer NOT NULL, "description" text, "blame" text, "request" bytea, "proof" bytea NOT NULL, "owner" character varying(255), "payload" text) 
33715
+  (0.8ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
33716
+  (0.8ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
33717
+  (1.1ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
33718
+  (4.0ms) CREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "meth" character varying(32), "path" text, "headers" text, "query" text, "body" text, "respcode" character varying(16), "resphead" text, "response" text, "created_at" timestamp, "updated_at" timestamp) 
33719
+  (3.3ms) CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "selected" integer, "created_at" timestamp, "updated_at" timestamp)
33720
+  (0.8ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
33721
+  (3.1ms) CREATE TABLE "workspaces" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "boundary" character varying(4096), "description" character varying(4096), "owner_id" integer, "limit_to_network" boolean DEFAULT 'f' NOT NULL)
33722
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
33723
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33724
+  (0.3ms) SELECT version FROM "schema_migrations"
33725
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
33726
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
33727
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
33728
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
33729
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
33730
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
33731
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
33732
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
33733
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
33734
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
33735
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
33736
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
33737
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
33738
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
33739
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
33740
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
33741
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
33742
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
33743
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
33744
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
33745
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
33746
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
33747
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
33748
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
33749
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
33750
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
33751
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
33752
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
33753
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
33754
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
33755
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
33756
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
33757
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
33758
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
33759
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
33760
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
33761
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
33762
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
33763
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
33764
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
33765
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
33766
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
33767
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
33768
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
33769
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
33770
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
33771
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
33772
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
33773
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
33774
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
33775
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
33776
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
33777
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
33778
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
33779
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
33780
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
33781
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
33782
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
33783
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
33784
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
33785
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
33786
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
33787
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
33788
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
33789
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
33790
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
33791
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
33792
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
33793
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
33794
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
33795
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
33796
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
33797
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
33798
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
33799
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
33800
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
33801
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
33802
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
33803
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
33804
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
33805
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
33806
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
33807
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
33808
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
33809
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
33810
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
33811
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
33812
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
33813
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
33814
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
33815
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
33816
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
33817
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
33818
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
33819
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
33820
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
33821
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
33822
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
33823
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
33824
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
33825
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
33826
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
33827
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
33828
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
33829
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
33830
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
33831
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
33832
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
33833
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
33834
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
33835
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
33836
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
33837
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
33838
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
33839
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
33840
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
33841
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
33842
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
33843
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
33844
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
33845
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
33846
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
33847
+ Connecting to database specified by database.yml
33848
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
33849
+  (138.7ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
33850
+  (240.8ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
33851
+  (4.7ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33852
+  (3.2ms) CREATE TABLE "clients" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "ua_string" character varying(1024) NOT NULL, "ua_name" character varying(64), "ua_ver" character varying(32), "updated_at" timestamp) 
33853
+  (0.9ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
33854
+  (0.9ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
33855
+  (27.0ms) CREATE TABLE "creds" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user" character varying(2048), "pass" character varying(4096), "active" boolean DEFAULT 't', "proof" character varying(4096), "ptype" character varying(256), "source_id" integer, "source_type" character varying(255))
33856
+  (3.2ms) CREATE TABLE "events" ("id" serial primary key, "workspace_id" integer, "host_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "critical" boolean, "seen" boolean, "username" character varying(255), "info" text) 
33857
+  (4.0ms) CREATE TABLE "exploit_attempts" ("id" serial primary key, "host_id" integer, "service_id" integer, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "port" integer, "proto" character varying(255), "fail_detail" text)
33858
+  (3.8ms) CREATE TABLE "exploited_hosts" ("id" serial primary key, "host_id" integer NOT NULL, "service_id" integer, "session_uuid" character varying(8), "name" character varying(2048), "payload" character varying(2048), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33859
+  (3.1ms) CREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer, "src" character varying(255), "nx_site_name" character varying(255), "nx_site_importance" character varying(255), "nx_scan_template" character varying(255), "nx_risk_score" float)
33860
+  (3.2ms) CREATE TABLE "hosts" ("id" serial primary key, "created_at" timestamp, "address" character varying(255) NOT NULL, "mac" character varying(255), "comm" character varying(255), "name" character varying(255), "state" character varying(255), "os_name" character varying(255), "os_flavor" character varying(255), "os_sp" character varying(255), "os_lang" character varying(255), "arch" character varying(255), "workspace_id" integer NOT NULL, "updated_at" timestamp, "purpose" text, "info" character varying(65536), "comments" text, "scope" text, "virtual_host" text, "note_count" integer DEFAULT 0, "vuln_count" integer DEFAULT 0, "service_count" integer DEFAULT 0, "host_detail_count" integer DEFAULT 0, "exploit_attempt_count" integer DEFAULT 0, "cred_count" integer DEFAULT 0) 
33861
+  (1.4ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
33862
+  (1.1ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
33863
+  (0.9ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
33864
+  (1.0ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
33865
+  (0.8ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
33866
+  (0.9ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
33867
+  (2.5ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
33868
+  (4.2ms) CREATE TABLE "listeners" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "workspace_id" integer DEFAULT 1 NOT NULL, "task_id" integer, "enabled" boolean DEFAULT 't', "owner" text, "payload" text, "address" text, "port" integer, "options" bytea, "macro" text) 
33869
+  (3.1ms) CREATE TABLE "loots" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "host_id" integer, "service_id" integer, "ltype" character varying(512), "path" character varying(1024), "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "content_type" character varying(255), "name" text, "info" text)
33870
+  (3.3ms) CREATE TABLE "macros" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "owner" text, "name" text, "description" text, "actions" bytea, "prefs" bytea) 
33871
+  (2.0ms) CREATE TABLE "metasploit_credential_cores" ("id" serial primary key, "origin_id" integer NOT NULL, "origin_type" character varying(255) NOT NULL, "private_id" integer, "public_id" integer, "realm_id" integer, "workspace_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "logins_count" integer DEFAULT 0)
33872
+  (0.9ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
33873
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
33874
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
33875
+  (0.9ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
33876
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
33877
+  (2.5ms) CREATE TABLE "metasploit_credential_logins" ("id" serial primary key, "core_id" integer NOT NULL, "service_id" integer NOT NULL, "access_level" character varying(255), "status" character varying(255) NOT NULL, "last_attempted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33878
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
33879
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
33880
+  (1.8ms) CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33881
+  (26.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
33882
+  (15.4ms) CREATE TABLE "metasploit_credential_origin_imports" ("id" serial primary key, "filename" text NOT NULL, "task_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33883
+  (1.2ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
33884
+  (2.5ms) CREATE TABLE "metasploit_credential_origin_manuals" ("id" serial primary key, "user_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33885
+  (1.0ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
33886
+  (2.9ms) CREATE TABLE "metasploit_credential_origin_services" ("id" serial primary key, "service_id" integer NOT NULL, "module_full_name" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33887
+  (1.2ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
33888
+  (3.0ms) CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33889
+  (1.1ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
33890
+  (3.5ms) CREATE TABLE "metasploit_credential_privates" ("id" serial primary key, "type" character varying(255) NOT NULL, "data" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "jtr_format" character varying(255)) 
33891
+  (1.1ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
33892
+  (2.0ms) CREATE TABLE "metasploit_credential_publics" ("id" serial primary key, "username" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33893
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
33894
+  (3.6ms) CREATE TABLE "metasploit_credential_realms" ("id" serial primary key, "key" character varying(255) NOT NULL, "value" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33895
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
33896
+  (2.7ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
33897
+  (3.3ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
33898
+  (1.0ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
33899
+  (3.4ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
33900
+  (0.9ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
33901
+  (3.4ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
33902
+  (0.9ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
33903
+  (3.5ms) CREATE TABLE "module_details" ("id" serial primary key, "mtime" timestamp, "file" text, "mtype" character varying(255), "refname" text, "fullname" text, "name" text, "rank" integer, "description" text, "license" character varying(255), "privileged" boolean, "disclosure_date" timestamp, "default_target" integer, "default_action" text, "stance" character varying(255), "ready" boolean)
33904
+  (1.0ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
33905
+  (1.1ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
33906
+  (1.0ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
33907
+  (1.1ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
33908
+  (3.0ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
33909
+  (1.0ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
33910
+  (3.2ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
33911
+  (1.2ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
33912
+  (3.2ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
33913
+  (0.9ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
33914
+  (0.9ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
33915
+  (3.0ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
33916
+  (0.8ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
33917
+  (3.1ms) CREATE TABLE "nexpose_consoles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "enabled" boolean DEFAULT 't', "owner" text, "address" text, "port" integer DEFAULT 3780, "username" text, "password" text, "status" text, "version" text, "cert" text, "cached_sites" bytea, "name" text)
33918
+  (3.2ms) CREATE TABLE "notes" ("id" serial primary key, "created_at" timestamp, "ntype" character varying(512), "workspace_id" integer DEFAULT 1 NOT NULL, "service_id" integer, "host_id" integer, "updated_at" timestamp, "critical" boolean, "seen" boolean, "data" text) 
33919
+  (0.9ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
33920
+  (2.9ms) CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea) 
33921
+  (3.6ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
33922
+  (0.9ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
33923
+  (3.8ms) CREATE TABLE "report_templates" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "path" character varying(1024), "name" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33924
+  (3.2ms) CREATE TABLE "reports" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "rtype" character varying(255), "path" character varying(1024), "options" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "downloaded_at" timestamp, "task_id" integer, "name" character varying(63)) 
33925
+  (2.4ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
33926
+  (2.5ms) CREATE TABLE "services" ("id" serial primary key, "host_id" integer, "created_at" timestamp, "port" integer NOT NULL, "proto" character varying(16) NOT NULL, "state" character varying(255), "name" character varying(255), "updated_at" timestamp, "info" text) 
33927
+  (0.7ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
33928
+  (0.7ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
33929
+  (0.7ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
33930
+  (0.8ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
33931
+  (2.6ms) CREATE TABLE "session_events" ("id" serial primary key, "session_id" integer, "etype" character varying(255), "command" bytea, "output" bytea, "remote_path" character varying(255), "local_path" character varying(255), "created_at" timestamp)
33932
+  (2.5ms) CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255), "local_id" integer, "last_seen" timestamp) 
33933
+  (2.7ms) CREATE TABLE "tags" ("id" serial primary key, "user_id" integer, "name" character varying(1024), "desc" text, "report_summary" boolean DEFAULT 'f' NOT NULL, "report_detail" boolean DEFAULT 'f' NOT NULL, "critical" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33934
+  (2.0ms) CREATE TABLE "task_creds" ("id" serial primary key, "task_id" integer NOT NULL, "cred_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33935
+  (2.3ms) CREATE TABLE "task_hosts" ("id" serial primary key, "task_id" integer NOT NULL, "host_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33936
+  (1.7ms) CREATE TABLE "task_services" ("id" serial primary key, "task_id" integer NOT NULL, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
33937
+  (1.8ms) CREATE TABLE "task_sessions" ("id" serial primary key, "task_id" integer NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33938
+  (2.8ms) CREATE TABLE "tasks" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "module" character varying(255), "completed_at" timestamp, "path" character varying(1024), "info" character varying(255), "description" character varying(255), "progress" integer, "options" text, "error" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "result" text, "module_uuid" character varying(8), "settings" bytea) 
33939
+  (2.9ms) CREATE TABLE "users" ("id" serial primary key, "username" character varying(255), "crypted_password" character varying(255), "password_salt" character varying(255), "persistence_token" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "fullname" character varying(255), "email" character varying(255), "phone" character varying(255), "company" character varying(255), "prefs" character varying(524288), "admin" boolean DEFAULT 't' NOT NULL)
33940
+  (3.1ms) CREATE TABLE "vuln_attempts" ("id" serial primary key, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer, "fail_detail" text) 
33941
+  (3.8ms) CREATE TABLE "vuln_details" ("id" serial primary key, "vuln_id" integer, "cvss_score" float, "cvss_vector" character varying(255), "title" character varying(255), "description" text, "solution" text, "proof" bytea, "nx_console_id" integer, "nx_device_id" integer, "nx_vuln_id" character varying(255), "nx_severity" float, "nx_pci_severity" float, "nx_published" timestamp, "nx_added" timestamp, "nx_modified" timestamp, "nx_tags" text, "nx_vuln_status" text, "nx_proof_key" text, "src" character varying(255), "nx_scan_id" integer, "nx_vulnerable_since" timestamp, "nx_pci_compliance_status" character varying(255))
33942
+  (3.4ms) CREATE TABLE "vulns" ("id" serial primary key, "host_id" integer, "service_id" integer, "created_at" timestamp, "name" character varying(255), "updated_at" timestamp, "info" character varying(65536), "exploited_at" timestamp, "vuln_detail_count" integer DEFAULT 0, "vuln_attempt_count" integer DEFAULT 0) 
33943
+  (1.0ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
33944
+  (2.1ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
33945
+  (3.9ms) CREATE TABLE "web_forms" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "method" character varying(1024), "params" text, "query" text)
33946
+  (0.9ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
33947
+  (2.9ms) CREATE TABLE "web_pages" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text, "query" text, "code" integer NOT NULL, "cookie" text, "auth" text, "ctype" text, "mtime" timestamp, "location" text, "headers" text, "body" bytea, "request" bytea)
33948
+  (0.9ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
33949
+  (0.8ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
33950
+  (3.1ms) CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text) 
33951
+  (0.8ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
33952
+  (1.0ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
33953
+  (0.9ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
33954
+  (2.8ms) CREATE TABLE "web_vulns" ("id" serial primary key, "web_site_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "path" text NOT NULL, "method" character varying(1024) NOT NULL, "params" text NOT NULL, "pname" text, "risk" integer NOT NULL, "name" character varying(1024) NOT NULL, "query" text, "category" text NOT NULL, "confidence" integer NOT NULL, "description" text, "blame" text, "request" bytea, "proof" bytea NOT NULL, "owner" character varying(255), "payload" text) 
33955
+  (0.8ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
33956
+  (0.8ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
33957
+  (0.7ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
33958
+  (3.2ms) CREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "meth" character varying(32), "path" text, "headers" text, "query" text, "body" text, "respcode" character varying(16), "resphead" text, "response" text, "created_at" timestamp, "updated_at" timestamp) 
33959
+  (2.5ms) CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "selected" integer, "created_at" timestamp, "updated_at" timestamp)
33960
+  (0.8ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
33961
+  (3.0ms) CREATE TABLE "workspaces" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "boundary" character varying(4096), "description" character varying(4096), "owner_id" integer, "limit_to_network" boolean DEFAULT 'f' NOT NULL)
33962
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
33963
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33964
+  (0.2ms) SELECT version FROM "schema_migrations"
33965
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
33966
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
33967
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
33968
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
33969
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
33970
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
33971
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
33972
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
33973
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
33974
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
33975
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
33976
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
33977
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
33978
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
33979
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
33980
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
33981
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
33982
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
33983
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
33984
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
33985
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
33986
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
33987
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
33988
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
33989
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
33990
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
33991
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
33992
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
33993
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
33994
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
33995
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
33996
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
33997
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
33998
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
33999
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
34000
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
34001
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
34002
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
34003
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
34004
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
34005
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
34006
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
34007
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
34008
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
34009
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
34010
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
34011
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
34012
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
34013
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
34014
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
34015
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
34016
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
34017
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
34018
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
34019
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
34020
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
34021
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
34022
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
34023
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
34024
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
34025
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
34026
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
34027
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
34028
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
34029
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
34030
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
34031
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
34032
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
34033
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
34034
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
34035
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
34036
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
34037
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
34038
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
34039
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
34040
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
34041
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
34042
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
34043
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
34044
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
34045
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
34046
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
34047
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
34048
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
34049
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
34050
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
34051
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
34052
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
34053
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
34054
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
34055
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
34056
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
34057
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
34058
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
34059
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
34060
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
34061
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
34062
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
34063
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
34064
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
34065
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
34066
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
34067
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
34068
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
34069
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
34070
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
34071
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
34072
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
34073
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
34074
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
34075
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
34076
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
34077
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
34078
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
34079
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
34080
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
34081
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
34082
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
34083
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
34084
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
34085
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
34086
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')