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