metasploit-credential 0.7.8 → 0.7.9.pre.core.pre.search

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjRhZDc5NjM1YzNkYmFjY2JmZWQ5NTcwZjQ1YmNmYjRkZWM3N2E1MQ==
4
+ MDAyODg0M2YyNjJjMmJhZmYzN2I5Mjc0MTM4ZDgzZDI0MTAzMDhkZA==
5
5
  data.tar.gz: !binary |-
6
- NDIyN2FjYzY3YzE1MDUxMTdkYmVkN2IxZTUyYzViNWNmMDIwZDk3ZA==
6
+ ZjA5MDlmMjEwMDcwZjc1NzNlOTIxMTc2YzQ4ZWFlNDZlNjZmNTJjOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTNhZjkzODU5OTA1Mzk0MzM0ZDY1NTFjY2ZjMTcwNTUyNmQ0OGJkMDBjZDEy
10
- YmZmMTI1YmMzM2JjYTQ0ZjRmNDM4MmY5NTkxMzFjNWQ0MmQ4Y2NkMWI0MTdi
11
- ZmE0MGY4YjdiMDg1ZTVkNTA0OTA3MmU5ODQ2NzRlMzU0ZGQ1YWM=
9
+ YjM1OGE0MDhkMGUzYzQwODYwM2UyYmRhY2QzN2RkNDA0OWIwNWUxOTE3ODVk
10
+ YzQ5NTAxNDlhZTE4NTI3MmY1MTlkNDM2MmFiZTNjNWY1NGE5NzY4ZWJkNTBh
11
+ ZjVhMTlkODcyYWUwMzcxZjQ0YzAxNjM0NGQzOThkY2ZjOGM3NGQ=
12
12
  data.tar.gz: !binary |-
13
- MDBlMjI0YzI0M2M3ZWE4ZjY1OGQzNGZkMzcyM2E1NGQwYzk3OTI4MjhjZjhi
14
- NDY4MmRkMTk1ZTIwYzliY2ZhYjJmNjZhMzBlYjU4NWUyNWI3NGIyNjk0OTI3
15
- NDVlZmQ5MGFhYjhjMzBmNGNhZGI2YzU4Yjg1YTYxMTQ3YjMwZDM=
13
+ MGM5OGJmNGRhZmVjOWUwZjFiNmVlMzg3NzZhNWJjMTRjNzljMTcyZTdiMTRj
14
+ M2Q2ODk4YmIyM2Q2N2EyN2U0OTE4NDkwMjhiODJlMmJiNjYyZjRlYmMyNWE0
15
+ YjUyNTUwNWJlYjFjNTM2MmY3MjIzZjBkZDExZTk3Yjk3NDAyZjA=
@@ -4,6 +4,8 @@
4
4
  #
5
5
  # A core credential must always have an {#origin}, but only needs 1 of {#private}, {#public}, or {#realm} set.
6
6
  class Metasploit::Credential::Core < ActiveRecord::Base
7
+ include Metasploit::Model::Search
8
+
7
9
  #
8
10
  # Associations
9
11
  #
@@ -256,6 +258,21 @@ class Metasploit::Credential::Core < ActiveRecord::Base
256
258
  includes(:realm)
257
259
  }
258
260
 
261
+ #
262
+ #
263
+ # Search
264
+ #
265
+ #
266
+
267
+ #
268
+ # Search Associations
269
+ #
270
+
271
+ search_association :logins
272
+ search_association :private
273
+ search_association :public
274
+ search_association :realm
275
+
259
276
  #
260
277
  # Class Methods
261
278
  #
@@ -21,14 +21,6 @@ en:
21
21
  missing_manifest: "This Metasploit credentials zip export appears to be missing its CSV manifest"
22
22
  activerecord:
23
23
  ancestors:
24
- metasploit/credential/realm:
25
- search:
26
- operator:
27
- names:
28
- key:
29
- help: "The type of realm, such as Active Directory Domain or PostgreSQL Database."
30
- value:
31
- help: "The name of the realm, such as the domain name or the database name."
32
24
  metasploit/credential/login:
33
25
  search:
34
26
  operator:
@@ -37,6 +29,14 @@ en:
37
29
  help: "The level of access granted to the service by core credential, such as 'root' or 'Administrator'."
38
30
  status:
39
31
  help: "The status of this login: 'Denied Access', 'Disabled', 'Incorrect', 'Locked Out', 'No Auth Required', 'Successful', 'Unable to Connect', or 'Untried'"
32
+ metasploit/credential/realm:
33
+ search:
34
+ operator:
35
+ names:
36
+ key:
37
+ help: "The type of realm, such as Active Directory Domain or PostgreSQL Database."
38
+ value:
39
+ help: "The name of the realm, such as the domain name or the database name."
40
40
  models:
41
41
  metasploit/credential/ntlm_hash: "NTLM hash"
42
42
  metasploit/credential/ssh_key: "SSH key"
@@ -7,7 +7,9 @@ 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 = 8
10
+ PATCH = 9
11
+ # The prerelease name of the given {MAJOR}.{MINOR}.{PATCH} version number. Will not be defined on master.
12
+ PRERELEASE = 'core-search'
11
13
 
12
14
  # The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
13
15
  # {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
@@ -47870,3 +47870,244 @@ Connecting to database specified by database.yml
47870
47870
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
47871
47871
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
47872
47872
   (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
47873
+ Connecting to database specified by database.yml
47874
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
47875
+  (166.1ms) DROP DATABASE IF EXISTS "metasploit_credential_test"
47876
+  (389.6ms) CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
47877
+  (10.5ms) CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
47878
+  (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) 
47879
+  (0.8ms) CREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer)
47880
+  (0.8ms) CREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) 
47881
+  (20.8ms) CREATE TABLE "creds" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user" character varying(2048), "pass" character varying(4096), "active" boolean DEFAULT 't', "proof" character varying(4096), "ptype" character varying(256), "source_id" integer, "source_type" character varying(255))
47882
+  (3.0ms) 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) 
47883
+  (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)
47884
+  (2.8ms) CREATE TABLE "exploited_hosts" ("id" serial primary key, "host_id" integer NOT NULL, "service_id" integer, "session_uuid" character varying(8), "name" character varying(2048), "payload" character varying(2048), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
47885
+  (3.1ms) CREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer, "src" character varying(255), "nx_site_name" character varying(255), "nx_site_importance" character varying(255), "nx_scan_template" character varying(255), "nx_risk_score" float)
47886
+  (3.6ms) 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) 
47887
+  (1.0ms) CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
47888
+  (1.6ms) CREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")
47889
+  (0.9ms) CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
47890
+  (0.8ms) CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
47891
+  (0.8ms) CREATE INDEX "index_hosts_on_state" ON "hosts" ("state")
47892
+  (0.9ms) CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
47893
+  (2.4ms) CREATE TABLE "hosts_tags" ("id" serial primary key, "host_id" integer, "tag_id" integer)
47894
+  (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) 
47895
+  (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)
47896
+  (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) 
47897
+  (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)
47898
+  (1.0ms) CREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")
47899
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
47900
+  (0.9ms) CREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")
47901
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
47902
+  (0.8ms) CREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")
47903
+  (2.9ms) 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)
47904
+  (0.8ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
47905
+  (1.1ms) CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")
47906
+  (2.1ms) CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
47907
+  (0.8ms) CREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")
47908
+  (2.9ms) 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) 
47909
+  (0.8ms) CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
47910
+  (2.0ms) 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) 
47911
+  (0.9ms) CREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")
47912
+  (2.7ms) CREATE TABLE "metasploit_credential_origin_services" ("id" serial primary key, "service_id" integer NOT NULL, "module_full_name" text NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
47913
+  (1.0ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
47914
+  (3.0ms) CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
47915
+  (0.8ms) CREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")
47916
+  (2.8ms) 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)) 
47917
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
47918
+  (1.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) 
47919
+  (0.9ms) CREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")
47920
+  (2.9ms) 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) 
47921
+  (1.0ms) CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
47922
+  (3.0ms) CREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) 
47923
+  (2.7ms) CREATE TABLE "module_actions" ("id" serial primary key, "detail_id" integer, "name" text)
47924
+  (0.8ms) CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("detail_id")
47925
+  (2.7ms) CREATE TABLE "module_archs" ("id" serial primary key, "detail_id" integer, "name" text)
47926
+  (0.8ms) CREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("detail_id")
47927
+  (3.0ms) CREATE TABLE "module_authors" ("id" serial primary key, "detail_id" integer, "name" text, "email" text)
47928
+  (0.9ms) CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("detail_id")
47929
+  (3.1ms) 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)
47930
+  (0.8ms) CREATE INDEX "index_module_details_on_description" ON "module_details" ("description")
47931
+  (0.9ms) CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
47932
+  (0.9ms) CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
47933
+  (0.9ms) CREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")
47934
+  (3.0ms) CREATE TABLE "module_mixins" ("id" serial primary key, "detail_id" integer, "name" text) 
47935
+  (0.8ms) CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("detail_id")
47936
+  (3.5ms) CREATE TABLE "module_platforms" ("id" serial primary key, "detail_id" integer, "name" text) 
47937
+  (1.0ms) CREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("detail_id")
47938
+  (2.8ms) CREATE TABLE "module_refs" ("id" serial primary key, "detail_id" integer, "name" text) 
47939
+  (0.9ms) CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("detail_id")
47940
+  (0.8ms) CREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")
47941
+  (2.5ms) CREATE TABLE "module_targets" ("id" serial primary key, "detail_id" integer, "index" integer, "name" text)
47942
+  (0.9ms) CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("detail_id")
47943
+  (3.0ms) 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)
47944
+  (4.2ms) CREATE TABLE "notes" ("id" serial primary key, "created_at" timestamp, "ntype" character varying(512), "workspace_id" integer DEFAULT 1 NOT NULL, "service_id" integer, "host_id" integer, "updated_at" timestamp, "critical" boolean, "seen" boolean, "data" text) 
47945
+  (0.8ms) CREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")
47946
+  (2.6ms) CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea) 
47947
+  (2.8ms) CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created_at" timestamp, "name" character varying(512), "updated_at" timestamp)
47948
+  (0.8ms) CREATE INDEX "index_refs_on_name" ON "refs" ("name")
47949
+  (3.2ms) 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)
47950
+  (2.9ms) 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)) 
47951
+  (2.8ms) CREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255))
47952
+  (2.8ms) 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) 
47953
+  (1.0ms) CREATE INDEX "index_services_on_name" ON "services" ("name")
47954
+  (1.0ms) CREATE INDEX "index_services_on_port" ON "services" ("port")
47955
+  (0.8ms) CREATE INDEX "index_services_on_proto" ON "services" ("proto")
47956
+  (0.8ms) CREATE INDEX "index_services_on_state" ON "services" ("state")
47957
+  (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)
47958
+  (2.8ms) CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255), "local_id" integer, "last_seen" timestamp) 
47959
+  (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)
47960
+  (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) 
47961
+  (2.3ms) CREATE TABLE "task_hosts" ("id" serial primary key, "task_id" integer NOT NULL, "host_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
47962
+  (2.2ms) 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) 
47963
+  (2.3ms) 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)
47964
+  (3.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) 
47965
+  (3.2ms) 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)
47966
+  (3.0ms) 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) 
47967
+  (3.0ms) 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))
47968
+  (3.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) 
47969
+  (0.8ms) CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
47970
+  (2.1ms) CREATE TABLE "vulns_refs" ("id" serial primary key, "ref_id" integer, "vuln_id" integer) 
47971
+  (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)
47972
+  (1.2ms) CREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")
47973
+  (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)
47974
+  (0.8ms) CREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")
47975
+  (0.9ms) CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
47976
+  (2.9ms) CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text) 
47977
+  (0.9ms) CREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")
47978
+  (0.9ms) CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
47979
+  (0.8ms) CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
47980
+  (2.9ms) 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) 
47981
+  (1.0ms) CREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")
47982
+  (0.9ms) CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
47983
+  (0.8ms) CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
47984
+  (3.2ms) CREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "meth" character varying(32), "path" text, "headers" text, "query" text, "body" text, "respcode" character varying(16), "resphead" text, "response" text, "created_at" timestamp, "updated_at" timestamp) 
47985
+  (2.7ms) CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(255), "port" integer, "ssl" integer, "selected" integer, "created_at" timestamp, "updated_at" timestamp)
47986
+  (1.2ms) CREATE TABLE "workspace_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL) 
47987
+  (4.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)
47988
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
47989
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
47990
+  (0.3ms) SELECT version FROM "schema_migrations"
47991
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703144541')
47992
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140331173835')
47993
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140407212345')
47994
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410132401')
47995
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410161611')
47996
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410191213')
47997
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140410205410')
47998
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411142102')
47999
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140411205325')
48000
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140414192550')
48001
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417140933')
48002
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140520140817')
48003
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140603163708')
48004
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140605173747')
48005
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140702184622')
48006
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
48007
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
48008
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('2')
48009
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('3')
48010
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('4')
48011
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('5')
48012
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('6')
48013
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('7')
48014
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('8')
48015
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('9')
48016
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('10')
48017
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('11')
48018
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('12')
48019
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('13')
48020
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('14')
48021
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('15')
48022
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('16')
48023
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('17')
48024
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('18')
48025
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('19')
48026
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20')
48027
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('21')
48028
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('22')
48029
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('23')
48030
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('24')
48031
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('25')
48032
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('26')
48033
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100819123300')
48034
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20100824151500')
48035
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100908001428')
48036
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100911122000')
48037
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916151530')
48038
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100916175000')
48039
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100920012100')
48040
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20100926214000')
48041
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101001000000')
48042
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101002000000')
48043
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101007000000')
48044
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101008111800')
48045
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101009023300')
48046
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101104135100')
48047
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000000')
48048
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101203000001')
48049
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20101206212033')
48050
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110112154300')
48051
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204112800')
48052
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110317144932')
48053
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110414180600')
48054
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110415175705')
48055
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110422000000')
48056
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110425095900')
48057
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110513143900')
48058
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110517160800')
48059
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000000')
48060
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110527000001')
48061
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110606000001')
48062
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110622000000')
48063
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110624000001')
48064
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110625000001')
48065
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000001')
48066
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110630000002')
48067
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110717000001')
48068
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110727163801')
48069
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110730000001')
48070
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110812000001')
48071
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110922000000')
48072
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110928101300')
48073
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111011110000')
48074
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111203000000')
48075
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111204000000')
48076
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111210000000')
48077
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120126110000')
48078
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120411173220')
48079
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120601152442')
48080
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000000')
48081
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000001')
48082
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000002')
48083
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000003')
48084
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000004')
48085
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000005')
48086
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000006')
48087
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000007')
48088
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120625000008')
48089
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120718202805')
48090
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228214900')
48091
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412154159')
48092
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412171844')
48093
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173121')
48094
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412173640')
48095
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174254')
48096
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412174719')
48097
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130412175040')
48098
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130423211152')
48099
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430151353')
48100
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130430162145')
48101
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130510021637')
48102
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515164311')
48103
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130515172727')
48104
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130516204810')
48105
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522001343')
48106
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522032517')
48107
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130522041110')
48108
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525015035')
48109
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130525212420')
48110
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
48111
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130604145732')
48112
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
48113
+ Connecting to database specified by database.yml