metasploit-credential 0.7.11-java → 0.7.12-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc8f7cc5f81c2bef404f2cc5bac3a5de79c6c6f8
4
- data.tar.gz: 22b330c76fa58e50f48538a8aa4abc2765612c32
3
+ metadata.gz: 6c0b968c502aa443a023d89e2579a02bf8feb0d8
4
+ data.tar.gz: de4d8fd034704254c9f0a92df5931757beeecfe4
5
5
  SHA512:
6
- metadata.gz: 35206895c918eccce33b958195efa45407cfc20df849f11e24bf77784f027f5722054f96834b22d33886afc85f8dce3d522c43fcd52330bd7cd8ce2ab64f2a91
7
- data.tar.gz: ae580eafbc715a07d7e566fb3a422f5ec40f3954e42e2fb4b00228d164f0c118d4ce6037bc479e57a0fcf27d4fe172c5816854e5f46913d04de374e07ffe79df
6
+ metadata.gz: 90644d4964c19499bbbf49a41b79117196c40a2798538c6fc374a5bbfd5641ed7d1bfdfe1748ab56d9dd8ba60d2eece944f2d1c81323267ff0df127c2b0e84d3
7
+ data.tar.gz: ff0b7b9520fdce30f93d94bce4c2ef78399bcbbc743766c8e7bc8f3aeb3d73c3bb267fc350674956f5be5daa63b7a6afca1116ae9f7719282b69460c6e7f5907
@@ -2,6 +2,7 @@
2
2
  # Standard Library
3
3
  #
4
4
 
5
+ require 'csv'
5
6
  require 'pathname'
6
7
 
7
8
  # {Metasploit::Credential::Importer::Multi} allows a single class to pass off a file to the correct importer as
@@ -60,11 +61,19 @@ class Metasploit::Credential::Importer::Multi
60
61
  end
61
62
  end
62
63
 
63
- # True if the file has a ".csv" extension
64
+ # True if the file has a comma in the first place there should be one.
65
+ # Further validation for well-formedness is available in {Metasploit::Credential::Importer::Core}
64
66
  #
65
67
  # @return [Boolean]
66
68
  def csv?
67
- ::Pathname.new(input.path).extname == '.csv'
69
+ test_header_byte_length = Metasploit::Credential::Importer::Core::VALID_SHORT_CSV_HEADERS.first.size + 1
70
+ test_bytes = input.read(test_header_byte_length)
71
+ if test_bytes.present? && test_bytes.include?(',')
72
+ input.rewind
73
+ true
74
+ else
75
+ false
76
+ end
68
77
  end
69
78
 
70
79
  private
@@ -61,7 +61,7 @@ class Metasploit::Credential::Importer::Zip
61
61
  end
62
62
  end
63
63
 
64
- csv_path = File.join(extracted_zip_directory, MANIFEST_FILE_NAME)
64
+ csv_path = Dir.glob(File.join(extracted_zip_directory,'**', MANIFEST_FILE_NAME)).first
65
65
  csv_input = File.open(csv_path)
66
66
  Metasploit::Credential::Importer::Core.new(input: csv_input, origin: origin, workspace: workspace).import!
67
67
  end
@@ -81,8 +81,8 @@ class Metasploit::Credential::Importer::Zip
81
81
  def input_is_well_formed
82
82
  begin
83
83
  Zip::File.open input.path do |archive|
84
- manifest_file = archive.find_entry(MANIFEST_FILE_NAME)
85
- if manifest_file
84
+ glob_check = archive.glob("**#{File::SEPARATOR}#{MANIFEST_FILE_NAME}")
85
+ if glob_check.present?
86
86
  true
87
87
  else
88
88
  errors.add(:input, :missing_manifest)
@@ -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 = 11
10
+ PATCH = 12
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.
@@ -50348,3 +50348,967 @@ Connecting to database specified by database.yml
50348
50348
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
50349
50349
   (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
50350
50350
   (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
50351
+ Connecting to database specified by database.yml
50352
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
50353
+  (442.1ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
50354
+  (381.0ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
50355
+  (4.6ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
50356
+  (2.8ms) 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) 
50357
+  (0.6ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
50358
+  (0.8ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
50359
+  (2.7ms) 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))
50360
+  (2.7ms) 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) 
50361
+  (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)
50362
+  (5.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) 
50363
+  (4.2ms) 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)
50364
+  (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) 
50365
+  (1.0ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
50366
+  (0.7ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
50367
+  (0.6ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
50368
+  (0.6ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
50369
+  (0.6ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
50370
+  (0.6ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
50371
+  (1.6ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
50372
+  (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) 
50373
+  (3.0ms) 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)
50374
+  (2.8ms) 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) 
50375
+  (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)
50376
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
50377
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
50378
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
50379
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
50380
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
50381
+  (2.7ms) 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)
50382
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
50383
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
50384
+  (2.3ms) 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) 
50385
+  (1.5ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
50386
+  (4.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) 
50387
+  (1.2ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
50388
+  (3.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) 
50389
+  (1.4ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
50390
+  (2.8ms) 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) 
50391
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
50392
+  (3.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) 
50393
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
50394
+  (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)) 
50395
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
50396
+  (3.9ms) 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) 
50397
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
50398
+  (3.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) 
50399
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
50400
+  (2.5ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
50401
+  (2.3ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
50402
+  (0.8ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
50403
+  (3.8ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
50404
+  (1.1ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
50405
+  (4.1ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
50406
+  (1.2ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
50407
+  (4.2ms) 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)
50408
+  (0.8ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
50409
+  (0.7ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
50410
+  (0.7ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
50411
+  (0.7ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
50412
+  (2.4ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
50413
+  (0.6ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
50414
+  (2.3ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
50415
+  (1.1ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
50416
+  (2.2ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
50417
+  (0.6ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
50418
+  (0.7ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
50419
+  (2.2ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
50420
+  (0.6ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
50421
+  (2.5ms) 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)
50422
+  (2.4ms) 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) 
50423
+  (0.7ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
50424
+  (2.3ms) 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) 
50425
+  (2.3ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
50426
+  (0.7ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
50427
+  (3.7ms) 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)
50428
+  (4.3ms) 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)) 
50429
+  (3.9ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
50430
+  (3.9ms) 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) 
50431
+  (0.8ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
50432
+  (0.8ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
50433
+  (0.7ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
50434
+  (0.7ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
50435
+  (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)
50436
+  (4.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) 
50437
+  (3.2ms) 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)
50438
+  (2.1ms) 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) 
50439
+  (5.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)
50440
+  (2.3ms) 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) 
50441
+  (2.5ms) 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)
50442
+  (3.4ms) 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) 
50443
+  (3.1ms) 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)
50444
+  (4.3ms) 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) 
50445
+  (5.3ms) 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))
50446
+  (4.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) 
50447
+  (0.8ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
50448
+  (1.8ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
50449
+  (2.7ms) 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)
50450
+  (0.7ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
50451
+  (3.1ms) 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)
50452
+  (1.6ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
50453
+  (1.1ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
50454
+  (4.0ms) 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) 
50455
+  (1.6ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
50456
+  (1.5ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
50457
+  (1.6ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
50458
+  (3.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) 
50459
+  (1.4ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
50460
+  (0.9ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
50461
+  (0.9ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
50462
+  (3.6ms) 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) 
50463
+  (3.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)
50464
+  (0.8ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
50465
+  (4.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)
50466
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
50467
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
50468
+  (0.3ms) SELECT version FROM "schema_migrations"
50469
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
50470
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
50471
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
50472
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
50473
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
50474
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
50475
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
50476
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
50477
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
50478
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
50479
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
50480
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
50481
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
50482
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
50483
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
50484
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
50485
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
50486
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
50487
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
50488
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
50489
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
50490
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
50491
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
50492
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
50493
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
50494
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
50495
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
50496
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
50497
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
50498
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
50499
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
50500
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
50501
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
50502
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
50503
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
50504
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
50505
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
50506
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
50507
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
50508
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
50509
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
50510
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
50511
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
50512
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
50513
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
50514
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
50515
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
50516
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
50517
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
50518
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
50519
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
50520
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
50521
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
50522
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
50523
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
50524
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
50525
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
50526
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
50527
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
50528
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
50529
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
50530
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
50531
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
50532
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
50533
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
50534
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
50535
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
50536
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
50537
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
50538
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
50539
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
50540
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
50541
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
50542
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
50543
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
50544
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
50545
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
50546
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
50547
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
50548
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
50549
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
50550
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
50551
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
50552
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
50553
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
50554
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
50555
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
50556
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
50557
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
50558
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
50559
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
50560
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
50561
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
50562
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
50563
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
50564
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
50565
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
50566
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
50567
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
50568
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
50569
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
50570
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
50571
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
50572
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
50573
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
50574
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
50575
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
50576
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
50577
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
50578
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
50579
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
50580
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
50581
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
50582
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
50583
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
50584
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
50585
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
50586
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
50587
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
50588
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
50589
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
50590
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
50591
+ Connecting to database specified by database.yml
50592
+  (0.2ms) BEGIN
50593
+ Connecting to database specified by database.yml
50594
+  (0.2ms) BEGIN
50595
+ Connecting to database specified by database.yml
50596
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
50597
+  (452.0ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
50598
+  (263.9ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
50599
+  (4.4ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
50600
+  (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) 
50601
+  (0.6ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
50602
+  (0.6ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
50603
+  (2.9ms) 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))
50604
+  (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) 
50605
+  (4.1ms) 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)
50606
+  (3.9ms) 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) 
50607
+  (29.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)
50608
+  (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) 
50609
+  (0.9ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
50610
+  (0.8ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
50611
+  (0.8ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
50612
+  (0.8ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
50613
+  (1.0ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
50614
+  (0.9ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
50615
+  (1.8ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
50616
+  (3.0ms) 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) 
50617
+  (2.9ms) 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)
50618
+  (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) 
50619
+  (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)
50620
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
50621
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
50622
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
50623
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
50624
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
50625
+  (17.2ms) 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)
50626
+  (4.5ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
50627
+  (1.4ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
50628
+  (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) 
50629
+  (0.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
50630
+  (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) 
50631
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
50632
+  (2.1ms) 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) 
50633
+  (1.0ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
50634
+  (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) 
50635
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
50636
+  (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) 
50637
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
50638
+  (2.9ms) 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)) 
50639
+  (1.0ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
50640
+  (2.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) 
50641
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
50642
+  (2.5ms) 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) 
50643
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
50644
+  (2.4ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
50645
+  (2.3ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
50646
+  (0.9ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
50647
+  (4.1ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
50648
+  (8.3ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
50649
+  (78.5ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
50650
+  (0.8ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
50651
+  (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)
50652
+  (0.7ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
50653
+  (0.7ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
50654
+  (0.8ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
50655
+  (0.7ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
50656
+  (2.8ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
50657
+  (0.7ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
50658
+  (2.7ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
50659
+  (23.4ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
50660
+  (2.5ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
50661
+  (0.7ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
50662
+  (0.7ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
50663
+  (2.8ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
50664
+  (0.7ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
50665
+  (3.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)
50666
+  (3.1ms) 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) 
50667
+  (0.7ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
50668
+  (3.2ms) 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) 
50669
+  (4.1ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
50670
+  (0.7ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
50671
+  (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)
50672
+  (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)) 
50673
+  (2.9ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
50674
+  (4.0ms) 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) 
50675
+  (1.4ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
50676
+  (1.1ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
50677
+  (1.1ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
50678
+  (1.0ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
50679
+  (3.1ms) 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)
50680
+  (3.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) 
50681
+  (3.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)
50682
+  (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) 
50683
+  (1.7ms) 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)
50684
+  (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) 
50685
+  (12.5ms) 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)
50686
+  (68.7ms) 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) 
50687
+  (25.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)
50688
+  (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) 
50689
+  (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))
50690
+  (6.2ms) 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) 
50691
+  (1.2ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
50692
+  (2.8ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
50693
+  (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)
50694
+  (1.1ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
50695
+  (2.7ms) 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)
50696
+  (0.7ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
50697
+  (0.7ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
50698
+  (3.2ms) 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) 
50699
+  (0.8ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
50700
+  (0.6ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
50701
+  (0.6ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
50702
+  (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) 
50703
+  (0.6ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
50704
+  (0.6ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
50705
+  (0.7ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
50706
+  (2.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) 
50707
+  (2.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)
50708
+  (0.6ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
50709
+  (2.3ms) 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)
50710
+  (0.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
50711
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
50712
+  (0.3ms) SELECT version FROM "schema_migrations"
50713
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
50714
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
50715
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
50716
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
50717
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
50718
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
50719
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
50720
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
50721
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
50722
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
50723
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
50724
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
50725
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
50726
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
50727
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
50728
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
50729
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
50730
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
50731
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
50732
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
50733
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
50734
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
50735
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
50736
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
50737
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
50738
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
50739
+  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
50740
+  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
50741
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
50742
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
50743
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
50744
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
50745
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
50746
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
50747
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
50748
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
50749
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
50750
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
50751
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
50752
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
50753
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
50754
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
50755
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
50756
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
50757
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
50758
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
50759
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
50760
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
50761
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
50762
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
50763
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
50764
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
50765
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
50766
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
50767
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
50768
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
50769
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
50770
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
50771
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
50772
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
50773
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
50774
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
50775
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
50776
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
50777
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
50778
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
50779
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
50780
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
50781
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
50782
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
50783
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
50784
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
50785
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
50786
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
50787
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
50788
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
50789
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
50790
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
50791
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
50792
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
50793
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
50794
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
50795
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
50796
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
50797
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
50798
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
50799
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
50800
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
50801
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
50802
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
50803
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
50804
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
50805
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
50806
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
50807
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
50808
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
50809
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
50810
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
50811
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
50812
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
50813
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
50814
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
50815
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
50816
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
50817
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
50818
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
50819
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
50820
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
50821
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
50822
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
50823
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
50824
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
50825
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
50826
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
50827
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
50828
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
50829
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
50830
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
50831
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
50832
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
50833
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
50834
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
50835
+ Connecting to database specified by database.yml
50836
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
50837
+  (136.5ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
50838
+  (236.9ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
50839
+  (6.5ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
50840
+  (4.1ms) 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) 
50841
+  (0.6ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
50842
+  (0.6ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
50843
+  (2.6ms) 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))
50844
+  (2.3ms) 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) 
50845
+  (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)
50846
+  (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) 
50847
+  (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)
50848
+  (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) 
50849
+  (1.0ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
50850
+  (0.7ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
50851
+  (0.8ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
50852
+  (0.8ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
50853
+  (0.7ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
50854
+  (0.9ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
50855
+  (1.6ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
50856
+  (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) 
50857
+  (100.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)
50858
+  (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) 
50859
+  (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)
50860
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
50861
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
50862
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
50863
+  (0.7ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
50864
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
50865
+  (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)
50866
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
50867
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
50868
+  (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) 
50869
+  (0.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
50870
+  (2.2ms) 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) 
50871
+  (0.7ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
50872
+  (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) 
50873
+  (0.7ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
50874
+  (2.4ms) 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) 
50875
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
50876
+  (2.5ms) 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) 
50877
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
50878
+  (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)) 
50879
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
50880
+  (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) 
50881
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
50882
+  (2.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) 
50883
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
50884
+  (4.6ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
50885
+  (3.5ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
50886
+  (1.1ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
50887
+  (3.4ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
50888
+  (0.8ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
50889
+  (2.4ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
50890
+  (0.9ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
50891
+  (2.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)
50892
+  (0.8ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
50893
+  (0.7ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
50894
+  (0.6ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
50895
+  (0.7ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
50896
+  (2.4ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
50897
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
50898
+  (2.2ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
50899
+  (0.9ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
50900
+  (2.4ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
50901
+  (0.8ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
50902
+  (0.8ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
50903
+  (2.4ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
50904
+  (0.8ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
50905
+  (2.7ms) 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)
50906
+  (2.7ms) 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) 
50907
+  (2.7ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
50908
+  (4.0ms) 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) 
50909
+  (3.8ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
50910
+  (1.0ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
50911
+  (19.3ms) 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)
50912
+  (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)) 
50913
+  (2.3ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
50914
+  (2.9ms) 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) 
50915
+  (0.8ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
50916
+  (0.7ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
50917
+  (0.7ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
50918
+  (0.7ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
50919
+  (2.5ms) 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)
50920
+  (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) 
50921
+  (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)
50922
+  (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) 
50923
+  (2.6ms) 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)
50924
+  (2.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) 
50925
+  (2.6ms) 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)
50926
+  (4.0ms) 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) 
50927
+  (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)
50928
+  (2.6ms) 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) 
50929
+  (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))
50930
+  (2.5ms) 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) 
50931
+  (0.9ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
50932
+  (1.6ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
50933
+  (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)
50934
+  (0.8ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
50935
+  (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)
50936
+  (0.8ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
50937
+  (0.7ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
50938
+  (2.4ms) 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) 
50939
+  (0.6ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
50940
+  (0.7ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
50941
+  (1.0ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
50942
+  (4.3ms) 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) 
50943
+  (1.2ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
50944
+  (1.1ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
50945
+  (1.1ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
50946
+  (3.1ms) 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) 
50947
+  (2.4ms) 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)
50948
+  (0.6ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
50949
+  (2.4ms) 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)
50950
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
50951
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
50952
+  (0.3ms) SELECT version FROM "schema_migrations"
50953
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
50954
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
50955
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
50956
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
50957
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
50958
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
50959
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
50960
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
50961
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
50962
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
50963
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
50964
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
50965
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
50966
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
50967
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
50968
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
50969
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
50970
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
50971
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
50972
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
50973
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
50974
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
50975
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
50976
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
50977
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
50978
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
50979
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
50980
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
50981
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
50982
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
50983
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
50984
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
50985
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
50986
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
50987
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
50988
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
50989
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
50990
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
50991
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
50992
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
50993
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
50994
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
50995
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
50996
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
50997
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
50998
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
50999
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
51000
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
51001
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
51002
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
51003
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
51004
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
51005
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
51006
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
51007
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
51008
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
51009
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
51010
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
51011
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
51012
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
51013
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
51014
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
51015
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
51016
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
51017
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
51018
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
51019
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
51020
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
51021
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
51022
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
51023
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
51024
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
51025
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
51026
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
51027
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
51028
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
51029
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
51030
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
51031
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
51032
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
51033
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
51034
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
51035
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
51036
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
51037
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
51038
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
51039
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
51040
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
51041
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
51042
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
51043
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
51044
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
51045
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
51046
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
51047
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
51048
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
51049
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
51050
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
51051
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
51052
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
51053
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
51054
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
51055
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
51056
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
51057
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
51058
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
51059
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
51060
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
51061
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
51062
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
51063
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
51064
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
51065
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
51066
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
51067
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
51068
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
51069
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
51070
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
51071
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
51072
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
51073
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
51074
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
51075
+ Connecting to database specified by database.yml
51076
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
51077
+  (128.3ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
51078
+  (235.9ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
51079
+  (4.5ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
51080
+  (2.4ms) 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) 
51081
+  (0.5ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
51082
+  (0.6ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
51083
+  (4.1ms) 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))
51084
+  (3.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) 
51085
+  (2.9ms) 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)
51086
+  (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) 
51087
+  (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)
51088
+  (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) 
51089
+  (1.0ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
51090
+  (0.8ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
51091
+  (0.8ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
51092
+  (0.7ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
51093
+  (0.7ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
51094
+  (0.8ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
51095
+  (1.6ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
51096
+  (2.5ms) 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) 
51097
+  (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)
51098
+  (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) 
51099
+  (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)
51100
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
51101
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
51102
+  (1.1ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
51103
+  (1.3ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
51104
+  (1.2ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
51105
+  (4.1ms) 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)
51106
+  (1.2ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
51107
+  (1.2ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
51108
+  (2.2ms) 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) 
51109
+  (0.7ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
51110
+  (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) 
51111
+  (0.9ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
51112
+  (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) 
51113
+  (0.7ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
51114
+  (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) 
51115
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
51116
+  (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) 
51117
+  (0.7ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
51118
+  (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)) 
51119
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
51120
+  (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) 
51121
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
51122
+  (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) 
51123
+  (0.7ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
51124
+  (2.2ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
51125
+  (2.8ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
51126
+  (1.0ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
51127
+  (3.8ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
51128
+  (1.1ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
51129
+  (3.8ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
51130
+  (0.8ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
51131
+  (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)
51132
+  (1.2ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
51133
+  (0.8ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
51134
+  (0.8ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
51135
+  (0.7ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
51136
+  (2.6ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
51137
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
51138
+  (2.4ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
51139
+  (0.7ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
51140
+  (2.3ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
51141
+  (0.7ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
51142
+  (0.7ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
51143
+  (2.4ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
51144
+  (0.8ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
51145
+  (3.3ms) 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)
51146
+  (2.6ms) 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) 
51147
+  (0.8ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
51148
+  (3.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) 
51149
+  (4.2ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
51150
+  (1.2ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
51151
+  (4.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)
51152
+  (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)) 
51153
+  (2.5ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
51154
+  (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) 
51155
+  (0.7ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
51156
+  (0.8ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
51157
+  (0.7ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
51158
+  (0.7ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
51159
+  (2.4ms) 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)
51160
+  (2.4ms) 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) 
51161
+  (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)
51162
+  (1.6ms) 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) 
51163
+  (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)
51164
+  (1.8ms) 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) 
51165
+  (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)
51166
+  (5.2ms) 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) 
51167
+  (4.3ms) 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)
51168
+  (3.9ms) 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) 
51169
+  (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))
51170
+  (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) 
51171
+  (0.8ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
51172
+  (1.8ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
51173
+  (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)
51174
+  (0.8ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
51175
+  (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)
51176
+  (0.8ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
51177
+  (0.7ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
51178
+  (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) 
51179
+  (0.7ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
51180
+  (0.7ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
51181
+  (0.7ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
51182
+  (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) 
51183
+  (0.8ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
51184
+  (0.7ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
51185
+  (0.8ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
51186
+  (2.6ms) 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) 
51187
+  (3.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)
51188
+  (1.0ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
51189
+  (3.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)
51190
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
51191
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
51192
+  (0.3ms) SELECT version FROM "schema_migrations"
51193
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
51194
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
51195
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
51196
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
51197
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
51198
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
51199
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
51200
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
51201
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
51202
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
51203
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
51204
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
51205
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
51206
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
51207
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
51208
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
51209
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
51210
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
51211
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
51212
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
51213
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
51214
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
51215
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
51216
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
51217
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
51218
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
51219
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
51220
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
51221
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
51222
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
51223
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
51224
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
51225
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
51226
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
51227
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
51228
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
51229
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
51230
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
51231
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
51232
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
51233
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
51234
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
51235
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
51236
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
51237
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
51238
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
51239
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
51240
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
51241
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
51242
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
51243
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
51244
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
51245
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
51246
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
51247
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
51248
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
51249
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
51250
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
51251
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
51252
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
51253
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
51254
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
51255
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
51256
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
51257
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
51258
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
51259
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
51260
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
51261
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
51262
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
51263
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
51264
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
51265
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
51266
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
51267
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
51268
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
51269
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
51270
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
51271
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
51272
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
51273
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
51274
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
51275
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
51276
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
51277
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
51278
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
51279
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
51280
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
51281
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
51282
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
51283
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
51284
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
51285
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
51286
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
51287
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
51288
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
51289
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
51290
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
51291
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
51292
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
51293
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
51294
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
51295
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
51296
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
51297
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
51298
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
51299
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
51300
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
51301
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
51302
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
51303
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
51304
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
51305
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
51306
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
51307
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
51308
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
51309
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
51310
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
51311
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
51312
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
51313
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
51314
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')