metasploit-credential 0.7.16-java → 0.7.17-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/metasploit/credential/login.rb +25 -0
- data/lib/metasploit/credential/version.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/db/structure.sql +3644 -0
- data/spec/dummy/log/development.log +856 -0
- data/spec/dummy/log/test.log +64202 -0
- data/spec/models/metasploit/credential/login_spec.rb +12 -4
- data/spec/models/metasploit_data_models/search/visitor/relation_spec.rb +267 -3
- metadata +10 -10
- data/spec/dummy/db/schema.rb +0 -720
@@ -52648,3 +52648,859 @@ Connecting to database specified by database.yml
|
|
52648
52648
|
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130531144949')
|
52649
52649
|
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130604145732')[0m
|
52650
52650
|
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130717150737')
|
52651
|
+
Connecting to database specified by database.yml
|
52652
|
+
[1m[36m (7.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
52653
|
+
[1m[35m (11.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
52654
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
52655
|
+
Migrating to CreateTables (0)
|
52656
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52657
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "hosts" ("id" serial primary key, "created" timestamp, "address" character varying(16), "address6" character varying(255), "mac" character varying(255), "comm" character varying(255), "name" character varying(255), "state" character varying(255), "info" character varying(1024), "os_name" character varying(255), "os_flavor" character varying(255), "os_sp" character varying(255), "os_lang" character varying(255), "arch" character varying(255)) [0m
|
52658
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_hosts_on_address" ON "hosts" ("address")
|
52659
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "clients" ("id" serial primary key, "host_id" integer, "created" timestamp, "ua_string" character varying(1024) NOT NULL, "ua_name" character varying(64), "ua_ver" character varying(32)) [0m
|
52660
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "services" ("id" serial primary key, "host_id" integer, "created" timestamp, "port" integer NOT NULL, "proto" character varying(16) NOT NULL, "state" character varying(255), "name" character varying(255), "info" character varying(1024))
|
52661
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "vulns" ("id" serial primary key, "host_id" integer, "service_id" integer, "created" timestamp, "name" character varying(255), "data" text) [0m
|
52662
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "refs" ("id" serial primary key, "ref_id" integer, "created" timestamp, "name" character varying(512))
|
52663
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "vulns_refs" ("ref_id" integer, "vuln_id" integer) [0m
|
52664
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "notes" ("id" serial primary key, "host_id" integer, "created" timestamp, "ntype" character varying(512), "data" text)
|
52665
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('0')[0m
|
52666
|
+
[1m[35m (0.9ms)[0m COMMIT
|
52667
|
+
Migrating to AddWmapTables (1)
|
52668
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
52669
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "wmap_targets" ("id" serial primary key, "host" character varying(255), "address" character varying(16), "address6" character varying(255), "port" integer, "ssl" integer, "selected" integer)
|
52670
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "wmap_requests" ("id" serial primary key, "host" character varying(255), "address" character varying(16), "address6" 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" timestamp) [0m
|
52671
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('1')
|
52672
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
52673
|
+
Migrating to AddWorkspaces (2)
|
52674
|
+
[1m[35m (0.2ms)[0m BEGIN
|
52675
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "workspaces" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
52676
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "hosts" ADD COLUMN "workspace_id" integer
|
52677
|
+
[1m[36m (0.3ms)[0m [1mDROP INDEX "index_hosts_on_address"[0m
|
52678
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('2')
|
52679
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
52680
|
+
Migrating to MoveNotes (3)
|
52681
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52682
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "notes" DROP "host_id"[0m
|
52683
|
+
[1m[35m (13.6ms)[0m ALTER TABLE "notes" ADD COLUMN "workspace_id" integer DEFAULT 1 NOT NULL
|
52684
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "notes" ADD COLUMN "service_id" integer[0m
|
52685
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "notes" ADD COLUMN "host_id" integer
|
52686
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('3')[0m
|
52687
|
+
[1m[35m (6.7ms)[0m COMMIT
|
52688
|
+
Migrating to AddEventsTable (4)
|
52689
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
52690
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "events" ("id" serial primary key, "workspace_id" integer, "host_id" integer, "created_at" timestamp, "user" character varying(255), "name" character varying(255), "info" character varying(255))
|
52691
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('4')[0m
|
52692
|
+
[1m[35m (0.3ms)[0m COMMIT
|
52693
|
+
Migrating to ExpandInfo (5)
|
52694
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52695
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "events" DROP "info"
|
52696
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "events" ADD COLUMN "info" character varying(4096)[0m
|
52697
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "notes" DROP "data"
|
52698
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "notes" ADD COLUMN "data" character varying(4096)[0m
|
52699
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "vulns" DROP "data"
|
52700
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "vulns" ADD COLUMN "data" character varying(4096)[0m
|
52701
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "hosts" DROP "info"
|
52702
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "hosts" ADD COLUMN "info" character varying(4096)[0m
|
52703
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "services" DROP "info"
|
52704
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "services" ADD COLUMN "info" character varying(4096)[0m
|
52705
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('5')
|
52706
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
52707
|
+
Migrating to AddTimestamps (6)
|
52708
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52709
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "clients" RENAME COLUMN "created" TO "created_at"[0m
|
52710
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "hosts" RENAME COLUMN "created" TO "created_at"
|
52711
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "notes" RENAME COLUMN "created" TO "created_at"[0m
|
52712
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "refs" RENAME COLUMN "created" TO "created_at"
|
52713
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "services" RENAME COLUMN "created" TO "created_at"[0m
|
52714
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "vulns" RENAME COLUMN "created" TO "created_at"
|
52715
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "wmap_requests" RENAME COLUMN "created" TO "created_at"[0m
|
52716
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "wmap_targets" ADD COLUMN "created_at" timestamp
|
52717
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "clients" ADD COLUMN "updated_at" timestamp[0m
|
52718
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "events" ADD COLUMN "updated_at" timestamp
|
52719
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "hosts" ADD COLUMN "updated_at" timestamp[0m
|
52720
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "notes" ADD COLUMN "updated_at" timestamp
|
52721
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "refs" ADD COLUMN "updated_at" timestamp[0m
|
52722
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "services" ADD COLUMN "updated_at" timestamp
|
52723
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "vulns" ADD COLUMN "updated_at" timestamp[0m
|
52724
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "wmap_requests" ADD COLUMN "updated_at" timestamp
|
52725
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "wmap_targets" ADD COLUMN "updated_at" timestamp[0m
|
52726
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('6')
|
52727
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
52728
|
+
Migrating to AddLoots (7)
|
52729
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52730
|
+
[1m[36m (2.2ms)[0m [1mCREATE 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) [0m
|
52731
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('7')
|
52732
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
52733
|
+
Migrating to CreateUsers (8)
|
52734
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52735
|
+
[1m[36m (2.1ms)[0m [1mCREATE 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) [0m
|
52736
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('8')
|
52737
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52738
|
+
Migrating to AddLootsCtype (9)
|
52739
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52740
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "loots" ADD COLUMN "content_type" character varying(255)[0m
|
52741
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('9')
|
52742
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52743
|
+
Migrating to AddAlertFields (10)
|
52744
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52745
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "notes" ADD COLUMN "critical" boolean[0m
|
52746
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "notes" ADD COLUMN "seen" boolean
|
52747
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "events" ADD COLUMN "critical" boolean[0m
|
52748
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "events" ADD COLUMN "seen" boolean
|
52749
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('10')[0m
|
52750
|
+
[1m[35m (0.3ms)[0m COMMIT
|
52751
|
+
Migrating to AddReports (11)
|
52752
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52753
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "reports" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "rtype" character varying(255), "path" character varying(1024), "options" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
52754
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('11')[0m
|
52755
|
+
[1m[35m (0.4ms)[0m COMMIT
|
52756
|
+
Migrating to AddTasks (12)
|
52757
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
52758
|
+
[1m[35m (3.9ms)[0m CREATE TABLE "tasks" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "created_by" character varying(255), "module" character varying(255), "completed_at" timestamp, "path" character varying(1024), "info" character varying(255), "description" character varying(255), "progress" integer, "options" text, "error" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
52759
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('12')[0m
|
52760
|
+
[1m[35m (0.4ms)[0m COMMIT
|
52761
|
+
Migrating to AddTasksResult (13)
|
52762
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
52763
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "tasks" ADD COLUMN "result" text
|
52764
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('13')[0m
|
52765
|
+
[1m[35m (0.3ms)[0m COMMIT
|
52766
|
+
Migrating to AddLootsFields (14)
|
52767
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52768
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "loots" ADD COLUMN "name" text
|
52769
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "loots" ADD COLUMN "info" text[0m
|
52770
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('14')
|
52771
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52772
|
+
Migrating to RenameUser (15)
|
52773
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52774
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "events" DROP "user"[0m
|
52775
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "events" ADD COLUMN "username" character varying(255)
|
52776
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('15')[0m
|
52777
|
+
[1m[35m (0.2ms)[0m COMMIT
|
52778
|
+
Migrating to AddHostPurpose (16)
|
52779
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52780
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "hosts" ADD COLUMN "purpose" text
|
52781
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('16')[0m
|
52782
|
+
[1m[35m (0.2ms)[0m COMMIT
|
52783
|
+
Migrating to ExpandInfo2 (17)
|
52784
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52785
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "events" DROP "info"
|
52786
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "events" ADD COLUMN "info" character varying(65536)[0m
|
52787
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "notes" DROP "data"
|
52788
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "notes" ADD COLUMN "data" character varying(65536)[0m
|
52789
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "vulns" DROP "data"
|
52790
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "vulns" ADD COLUMN "data" character varying(65536)[0m
|
52791
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "hosts" DROP "info"
|
52792
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "hosts" ADD COLUMN "info" character varying(65536)[0m
|
52793
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "services" DROP "info"
|
52794
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "services" ADD COLUMN "info" character varying(65536)[0m
|
52795
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('17')
|
52796
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52797
|
+
Migrating to AddWorkspaceUserInfo (18)
|
52798
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52799
|
+
[1m[36m (1.1ms)[0m [1mALTER TABLE "workspaces" ADD COLUMN "boundary" character varying(4096)[0m
|
52800
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD COLUMN "fullname" character varying(255)
|
52801
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD COLUMN "email" character varying(255)[0m
|
52802
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD COLUMN "phone" character varying(255)
|
52803
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD COLUMN "company" character varying(255)[0m
|
52804
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('18')
|
52805
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52806
|
+
Migrating to AddWorkspaceDesc (19)
|
52807
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52808
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "workspaces" ADD COLUMN "description" character varying(4096)[0m
|
52809
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "hosts" ADD COLUMN "comments" character varying(4096)
|
52810
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('19')[0m
|
52811
|
+
[1m[35m (0.2ms)[0m COMMIT
|
52812
|
+
Migrating to AddUserPreferences (20)
|
52813
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52814
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD COLUMN "prefs" character varying(524288)
|
52815
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20')[0m
|
52816
|
+
[1m[35m (0.3ms)[0m COMMIT
|
52817
|
+
Migrating to StandardizeInfoAndData (21)
|
52818
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52819
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "vulns" DROP "data"
|
52820
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "vulns" ADD COLUMN "info" character varying(65536)[0m
|
52821
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('21')
|
52822
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52823
|
+
Migrating to EnlargeEventInfo (22)
|
52824
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52825
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "events" ALTER COLUMN "info" TYPE text[0m
|
52826
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('22')
|
52827
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
52828
|
+
Migrating to AddReportDownloadedAt (23)
|
52829
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52830
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "reports" ADD COLUMN "downloaded_at" timestamp[0m
|
52831
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('23')
|
52832
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
52833
|
+
Migrating to ConvertServiceInfoToText (24)
|
52834
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52835
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "services" ALTER COLUMN "info" TYPE text[0m
|
52836
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('24')
|
52837
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
52838
|
+
Migrating to AddUserAdmin (25)
|
52839
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52840
|
+
[1m[36m (2.3ms)[0m [1mALTER TABLE "users" ADD COLUMN "admin" boolean DEFAULT 't'[0m
|
52841
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "project_members" ("workspace_id" integer NOT NULL, "user_id" integer NOT NULL)
|
52842
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('25')[0m
|
52843
|
+
[1m[35m (0.6ms)[0m COMMIT
|
52844
|
+
Migrating to AddCredsTable (26)
|
52845
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52846
|
+
[1m[35m (2.3ms)[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(16), "source_id" integer, "source_type" character varying(255))
|
52847
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('26')[0m
|
52848
|
+
[1m[35m (0.4ms)[0m COMMIT
|
52849
|
+
Migrating to MigrateCredData (20100819123300)
|
52850
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52851
|
+
[1m[35mMdm::Note Load (0.4ms)[0m SELECT "notes".* FROM "notes"
|
52852
|
+
[1m[36mMdm::Note Load (0.2ms)[0m [1mSELECT "notes".* FROM "notes" [0m
|
52853
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100819123300')
|
52854
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52855
|
+
Migrating to AddExploitedTable (20100824151500)
|
52856
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52857
|
+
[1m[36m (2.2ms)[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
|
52858
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100824151500')
|
52859
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52860
|
+
Migrating to AddOwnerToWorkspaces (20100908001428)
|
52861
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52862
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "workspaces" ADD COLUMN "owner_id" integer[0m
|
52863
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100908001428')
|
52864
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
52865
|
+
Migrating to AddReportTemplates (20100911122000)
|
52866
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52867
|
+
[1m[36m (2.1ms)[0m [1mCREATE 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) [0m
|
52868
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100911122000')
|
52869
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52870
|
+
Migrating to RequireAdminFlag (20100916151530)
|
52871
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52872
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "admin" = 't' WHERE "users"."admin" IS NULL[0m
|
52873
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "users" ALTER COLUMN "admin" TYPE boolean
|
52874
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ALTER COLUMN "admin" SET DEFAULT 't'[0m
|
52875
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "admin"='t' WHERE "admin" IS NULL
|
52876
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ALTER "admin" SET NOT NULL[0m
|
52877
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100916151530')
|
52878
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52879
|
+
Migrating to AddCampaignsAndTemplates (20100916175000)
|
52880
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52881
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "campaigns" ("id" serial primary key, "workspace_id" integer NOT NULL, "name" character varying(512), "prefs" text, "status" integer DEFAULT 0, "started_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
52882
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "email_templates" ("id" serial primary key, "name" character varying(512), "subject" character varying(1024), "body" text, "parent_id" integer, "campaign_id" integer)
|
52883
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "attachments" ("id" serial primary key, "name" character varying(512), "data" bytea, "content_type" character varying(512), "inline" boolean DEFAULT 't' NOT NULL, "zip" boolean DEFAULT 'f' NOT NULL) [0m
|
52884
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "attachments_email_templates" ("attachment_id" integer, "email_template_id" integer)
|
52885
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "email_addresses" ("id" serial primary key, "campaign_id" integer NOT NULL, "first_name" character varying(512), "last_name" character varying(512), "address" character varying(512), "sent" boolean DEFAULT 'f' NOT NULL, "clicked_at" timestamp) [0m
|
52886
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "web_templates" ("id" serial primary key, "name" character varying(512), "title" character varying(512), "body" character varying(524288), "campaign_id" integer)
|
52887
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100916175000')[0m
|
52888
|
+
[1m[35m (0.7ms)[0m COMMIT
|
52889
|
+
Migrating to AddGenerateExeColumn (20100920012100)
|
52890
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
52891
|
+
[1m[35m (2.4ms)[0m ALTER TABLE "email_templates" ADD COLUMN "generate_exe" boolean DEFAULT 'f' NOT NULL
|
52892
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100920012100')[0m
|
52893
|
+
[1m[35m (0.8ms)[0m COMMIT
|
52894
|
+
Migrating to AddTemplatePrefs (20100926214000)
|
52895
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
52896
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "email_templates" DROP "generate_exe"
|
52897
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "email_templates" ADD COLUMN "prefs" text[0m
|
52898
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "web_templates" ADD COLUMN "prefs" text
|
52899
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100926214000')[0m
|
52900
|
+
[1m[35m (0.3ms)[0m COMMIT
|
52901
|
+
Migrating to AddWebTables (20101001000000)
|
52902
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52903
|
+
[1m[35m (3.7ms)[0m CREATE TABLE "web_sites" ("id" serial primary key, "service_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "vhost" character varying(2048), "comments" text, "options" text)
|
52904
|
+
[1m[36m (3.8ms)[0m [1mCREATE 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, "body" text, "headers" text) [0m
|
52905
|
+
[1m[35m (3.8ms)[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)
|
52906
|
+
[1m[36m (2.8ms)[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, "method" character varying(1024), "params" text, "pname" text, "proof" text, "risk" integer, "name" character varying(1024)) [0m
|
52907
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101001000000')
|
52908
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
52909
|
+
Migrating to AddQuery (20101002000000)
|
52910
|
+
[1m[35m (0.3ms)[0m BEGIN
|
52911
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_forms" ADD COLUMN "query" text[0m
|
52912
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ADD COLUMN "query" text
|
52913
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20101002000000')[0m
|
52914
|
+
[1m[35m (0.3ms)[0m COMMIT
|
52915
|
+
Migrating to AddVulnInfo (20101007000000)
|
52916
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52917
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ADD COLUMN "category" text
|
52918
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ADD COLUMN "confidence" text[0m
|
52919
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ADD COLUMN "description" text
|
52920
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ADD COLUMN "blame" text[0m
|
52921
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101007000000')
|
52922
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52923
|
+
Migrating to AddClientsToCampaigns (20101008111800)
|
52924
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52925
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "clients" ADD COLUMN "campaign_id" integer[0m
|
52926
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101008111800')
|
52927
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
52928
|
+
Migrating to AddCampaignAttachments (20101009023300)
|
52929
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52930
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "attachments" ADD COLUMN "campaign_id" integer[0m
|
52931
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101009023300')
|
52932
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52933
|
+
Migrating to AddImportedCreds (20101104135100)
|
52934
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52935
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "imported_creds" ("id" serial primary key, "workspace_id" integer DEFAULT 1 NOT NULL, "user" character varying(512), "pass" character varying(512), "ptype" character varying(16) DEFAULT 'password') [0m
|
52936
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101104135100')
|
52937
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
52938
|
+
Migrating to FixWebTables (20101203000000)
|
52939
|
+
[1m[35m (0.2ms)[0m BEGIN
|
52940
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "web_pages" ALTER COLUMN "path" TYPE text[0m
|
52941
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_pages" ALTER COLUMN "query" TYPE text
|
52942
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_pages" ALTER COLUMN "cookie" TYPE text[0m
|
52943
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_pages" ALTER COLUMN "auth" TYPE text
|
52944
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_pages" ALTER COLUMN "ctype" TYPE text[0m
|
52945
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_pages" ALTER COLUMN "location" TYPE text
|
52946
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_pages" ALTER COLUMN "path" TYPE text[0m
|
52947
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ALTER COLUMN "path" TYPE text
|
52948
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ALTER COLUMN "pname" TYPE text[0m
|
52949
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_pages" ADD COLUMN "request" text
|
52950
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ADD COLUMN "request" text[0m
|
52951
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101203000000')
|
52952
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52953
|
+
Migrating to ExpandHostComment (20101203000001)
|
52954
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52955
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "hosts" ALTER COLUMN "comments" TYPE text[0m
|
52956
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101203000001')
|
52957
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52958
|
+
Migrating to AddLimitToNetworkToWorkspaces (20101206212033)
|
52959
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52960
|
+
[1m[36m (2.7ms)[0m [1mALTER TABLE "workspaces" ADD COLUMN "limit_to_network" boolean DEFAULT 'f' NOT NULL[0m
|
52961
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20101206212033')
|
52962
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
52963
|
+
Migrating to AddModuleUuidToTasks (20110112154300)
|
52964
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52965
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "tasks" ADD COLUMN "module_uuid" character varying(8)[0m
|
52966
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110112154300')
|
52967
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
52968
|
+
Migrating to AddHostTags (20110204112800)
|
52969
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52970
|
+
[1m[36m (2.7ms)[0m [1mCREATE 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) [0m
|
52971
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "hosts_tags" ("host_id" integer, "tag_id" integer)
|
52972
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110204112800')[0m
|
52973
|
+
[1m[35m (0.4ms)[0m COMMIT
|
52974
|
+
Migrating to AddSessionTable (20110317144932)
|
52975
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
52976
|
+
[1m[35m (13.6ms)[0m CREATE TABLE "sessions" ("id" serial primary key, "host_id" integer, "stype" character varying(255), "via_exploit" character varying(255), "via_payload" character varying(255), "desc" character varying(255), "port" integer, "platform" character varying(255), "routes" character varying(255), "datastore" text, "opened_at" timestamp NOT NULL, "closed_at" timestamp, "close_reason" character varying(255))
|
52977
|
+
[1m[36m (8.1ms)[0m [1mCREATE 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) [0m
|
52978
|
+
[1m[35mAddSessionTable::Event Load (0.5ms)[0m SELECT "events".* FROM "events" WHERE "events"."name" = 'session_close'
|
52979
|
+
[1m[36mAddSessionTable::Event Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."name" = 'session_open'[0m
|
52980
|
+
[1m[35mAddSessionTable::Event Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."name" = 'session_command'
|
52981
|
+
[1m[36mAddSessionTable::Event Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."name" = 'session_output'[0m
|
52982
|
+
[1m[35mAddSessionTable::Event Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."name" = 'session_upload'
|
52983
|
+
[1m[36mAddSessionTable::Event Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."name" = 'session_download'[0m
|
52984
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110317144932')
|
52985
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
52986
|
+
Migrating to AddLocalIdToSessionTable (20110414180600)
|
52987
|
+
[1m[35m (0.2ms)[0m BEGIN
|
52988
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "sessions" ADD COLUMN "local_id" integer[0m
|
52989
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110414180600')
|
52990
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
52991
|
+
Migrating to AddRoutesTable (20110415175705)
|
52992
|
+
[1m[35m (0.1ms)[0m BEGIN
|
52993
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "routes" ("id" serial primary key, "session_id" integer, "subnet" character varying(255), "netmask" character varying(255)) [0m
|
52994
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "sessions" DROP "routes"
|
52995
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110415175705')[0m
|
52996
|
+
[1m[35m (0.4ms)[0m COMMIT
|
52997
|
+
Migrating to ConvertBinary (20110422000000)
|
52998
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
52999
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_pages" RENAME COLUMN "body" TO "body_text"
|
53000
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "web_pages" RENAME COLUMN "request" TO "request_text"[0m
|
53001
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" RENAME COLUMN "request" TO "request_text"
|
53002
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "web_vulns" RENAME COLUMN "proof" TO "proof_text"[0m
|
53003
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_pages" ADD COLUMN "body" bytea
|
53004
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_pages" ADD COLUMN "request" bytea[0m
|
53005
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ADD COLUMN "request" bytea
|
53006
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ADD COLUMN "proof" bytea[0m
|
53007
|
+
[1m[35mConvertBinary::WebPage Load (0.3ms)[0m SELECT "web_pages".* FROM "web_pages"
|
53008
|
+
[1m[36mConvertBinary::WebPage Load (0.2ms)[0m [1mSELECT "web_pages".* FROM "web_pages" [0m
|
53009
|
+
[1m[35mConvertBinary::WebVuln Load (0.5ms)[0m SELECT "web_vulns".* FROM "web_vulns"
|
53010
|
+
[1m[36mConvertBinary::WebVuln Load (0.3ms)[0m [1mSELECT "web_vulns".* FROM "web_vulns" [0m
|
53011
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "web_pages" DROP "body_text"
|
53012
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "web_pages" DROP "request_text"[0m
|
53013
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "web_vulns" DROP "request_text"
|
53014
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "web_vulns" DROP "proof_text"[0m
|
53015
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110422000000')
|
53016
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53017
|
+
Migrating to AddLastSeenToSessions (20110425095900)
|
53018
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53019
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "sessions" ADD COLUMN "last_seen" timestamp[0m
|
53020
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110425095900')
|
53021
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53022
|
+
Migrating to TrackSuccessfulExploits (20110513143900)
|
53023
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53024
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "vulns" ADD COLUMN "exploited_at" timestamp[0m
|
53025
|
+
[1m[35mTrackSuccessfulExploits::ExploitedHost Load (0.4ms)[0m SELECT "exploited_hosts".* FROM "exploited_hosts"
|
53026
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110513143900')[0m
|
53027
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53028
|
+
Migrating to RenameAndPruneNessusVulns (20110517160800)
|
53029
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53030
|
+
[1m[35mRenameAndPruneNessusVulns::Vuln Load (0.3ms)[0m SELECT "vulns".* FROM "vulns"
|
53031
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110517160800')[0m
|
53032
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53033
|
+
Migrating to AddTaskIdToReportsTable (20110527000000)
|
53034
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53035
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "reports" ADD COLUMN "task_id" integer
|
53036
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110527000000')[0m
|
53037
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53038
|
+
Migrating to AddApiKeysTable (20110527000001)
|
53039
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53040
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "api_keys" ("id" serial primary key, "token" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
53041
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110527000001')[0m
|
53042
|
+
[1m[35m (0.4ms)[0m COMMIT
|
53043
|
+
Migrating to AddMacrosTable (20110606000001)
|
53044
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53045
|
+
[1m[35m (2.3ms)[0m CREATE TABLE "macros" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "owner" text, "name" text, "description" text, "actions" bytea, "prefs" bytea)
|
53046
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110606000001')[0m
|
53047
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53048
|
+
Migrating to AddSettingsToTasksTable (20110622000000)
|
53049
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53050
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "tasks" ADD COLUMN "settings" bytea
|
53051
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110622000000')[0m
|
53052
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53053
|
+
Migrating to AddListenersTable (20110624000001)
|
53054
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53055
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "listeners" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "workspace_id" integer DEFAULT 1 NOT NULL, "task_id" integer, "enabled" boolean DEFAULT 't', "owner" text, "payload" text, "address" text, "port" integer, "options" bytea)
|
53056
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110624000001')[0m
|
53057
|
+
[1m[35m (0.4ms)[0m COMMIT
|
53058
|
+
Migrating to AddMacroToListenersTable (20110625000001)
|
53059
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53060
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "listeners" ADD COLUMN "macro" text
|
53061
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110625000001')[0m
|
53062
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53063
|
+
Migrating to AddNexposeConsolesTable (20110630000001)
|
53064
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53065
|
+
[1m[35m (2.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)
|
53066
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110630000001')[0m
|
53067
|
+
[1m[35m (0.4ms)[0m COMMIT
|
53068
|
+
Migrating to AddNameToNexposeConsolesTable (20110630000002)
|
53069
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53070
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "nexpose_consoles" ADD COLUMN "name" text
|
53071
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110630000002')[0m
|
53072
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53073
|
+
Migrating to AddProfilesTable (20110717000001)
|
53074
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53075
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "profiles" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "active" boolean DEFAULT 't', "name" text, "owner" text, "settings" bytea)
|
53076
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110717000001')[0m
|
53077
|
+
[1m[35m (0.4ms)[0m COMMIT
|
53078
|
+
Migrating to ExpandCredPtypeColumn (20110727163801)
|
53079
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53080
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "creds" ALTER COLUMN "ptype" TYPE character varying(256)
|
53081
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110727163801')[0m
|
53082
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53083
|
+
Migrating to AddInitialIndexes (20110730000001)
|
53084
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53085
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_hosts_on_address" ON "hosts" ("address")
|
53086
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_hosts_on_address6" ON "hosts" ("address6")[0m
|
53087
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_hosts_on_name" ON "hosts" ("name")
|
53088
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_hosts_on_state" ON "hosts" ("state")[0m
|
53089
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_hosts_on_os_name" ON "hosts" ("os_name")
|
53090
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_hosts_on_os_flavor" ON "hosts" ("os_flavor")[0m
|
53091
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_hosts_on_purpose" ON "hosts" ("purpose")
|
53092
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_services_on_port" ON "services" ("port")[0m
|
53093
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_services_on_proto" ON "services" ("proto")
|
53094
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_services_on_state" ON "services" ("state")[0m
|
53095
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_services_on_name" ON "services" ("name")
|
53096
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_notes_on_ntype" ON "notes" ("ntype")[0m
|
53097
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_vulns_on_name" ON "vulns" ("name")
|
53098
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_refs_on_name" ON "refs" ("name")[0m
|
53099
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_web_sites_on_vhost" ON "web_sites" ("vhost")
|
53100
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_web_sites_on_comments" ON "web_sites" ("comments")[0m
|
53101
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_web_sites_on_options" ON "web_sites" ("options")
|
53102
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_web_pages_on_path" ON "web_pages" ("path")[0m
|
53103
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_web_pages_on_query" ON "web_pages" ("query")
|
53104
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_web_forms_on_path" ON "web_forms" ("path")[0m
|
53105
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_web_vulns_on_path" ON "web_vulns" ("path")
|
53106
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_web_vulns_on_method" ON "web_vulns" ("method")[0m
|
53107
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_web_vulns_on_name" ON "web_vulns" ("name")
|
53108
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110730000001')[0m
|
53109
|
+
[1m[35m (0.5ms)[0m COMMIT
|
53110
|
+
Migrating to PruneIndexes (20110812000001)
|
53111
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53112
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110812000001')
|
53113
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53114
|
+
Migrating to ExpandNotes (20110922000000)
|
53115
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53116
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "notes" ALTER COLUMN "data" TYPE text[0m
|
53117
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110922000000')
|
53118
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53119
|
+
Migrating to AddModRefTable (20110928101300)
|
53120
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53121
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "mod_refs" ("id" serial primary key, "module" character varying(1024), "mtype" character varying(128), "ref" text) [0m
|
53122
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110928101300')
|
53123
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53124
|
+
Migrating to AddDisplayNameToReportsTable (20111011110000)
|
53125
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53126
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "reports" ADD COLUMN "name" character varying(63)[0m
|
53127
|
+
[1m[35mAddDisplayNameToReportsTable::Report Load (0.3ms)[0m SELECT "reports".* FROM "reports"
|
53128
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111011110000')[0m
|
53129
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53130
|
+
Migrating to InetColumns (20111203000000)
|
53131
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53132
|
+
[1m[35m (5.8ms)[0m ALTER TABLE "hosts" ALTER COLUMN "address" TYPE INET using address::INET
|
53133
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "hosts" DROP "address6"[0m
|
53134
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111203000000')
|
53135
|
+
[1m[36m (1.8ms)[0m [1mCOMMIT[0m
|
53136
|
+
Migrating to MoreInetColumns (20111204000000)
|
53137
|
+
[1m[35m (0.3ms)[0m BEGIN
|
53138
|
+
[1m[36m (4.0ms)[0m [1mALTER TABLE "wmap_requests" ALTER COLUMN "address" TYPE INET using address::INET[0m
|
53139
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "wmap_requests" DROP "address6"
|
53140
|
+
[1m[36m (3.6ms)[0m [1mALTER TABLE "wmap_targets" ALTER COLUMN "address" TYPE INET using address::INET[0m
|
53141
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "wmap_targets" DROP "address6"
|
53142
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111204000000')[0m
|
53143
|
+
[1m[35m (1.1ms)[0m COMMIT
|
53144
|
+
Migrating to AddScopeToHosts (20111210000000)
|
53145
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53146
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "hosts" ADD COLUMN "scope" text
|
53147
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111210000000')[0m
|
53148
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53149
|
+
Migrating to AddVirtualHostToHosts (20120126110000)
|
53150
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53151
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "hosts" ADD COLUMN "virtual_host" text
|
53152
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120126110000')[0m
|
53153
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53154
|
+
Migrating to RenameWorkspaceMembers (20120411173220)
|
53155
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53156
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "project_members" RENAME TO "workspace_members"
|
53157
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120411173220')[0m
|
53158
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53159
|
+
Migrating to AddCounterCachesToHosts (20120601152442)
|
53160
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53161
|
+
[1m[35m (4.8ms)[0m ALTER TABLE "hosts" ADD COLUMN "note_count" integer DEFAULT 0
|
53162
|
+
[1m[36m (4.8ms)[0m [1mALTER TABLE "hosts" ADD COLUMN "vuln_count" integer DEFAULT 0[0m
|
53163
|
+
[1m[35m (4.8ms)[0m ALTER TABLE "hosts" ADD COLUMN "service_count" integer DEFAULT 0
|
53164
|
+
[1m[36mMdm::Host Load (0.7ms)[0m [1mSELECT "hosts".* FROM "hosts" [0m
|
53165
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120601152442')
|
53166
|
+
[1m[36m (3.4ms)[0m [1mCOMMIT[0m
|
53167
|
+
Migrating to AddVulnDetails (20120625000000)
|
53168
|
+
[1m[35m (0.4ms)[0m BEGIN
|
53169
|
+
[1m[36m (4.0ms)[0m [1mCREATE 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) [0m
|
53170
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120625000000')
|
53171
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
53172
|
+
Migrating to AddHostDetails (20120625000001)
|
53173
|
+
[1m[35m (0.2ms)[0m BEGIN
|
53174
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "host_details" ("id" serial primary key, "host_id" integer, "nx_console_id" integer, "nx_device_id" integer) [0m
|
53175
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120625000001')
|
53176
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53177
|
+
Migrating to ExpandDetails (20120625000002)
|
53178
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53179
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "vuln_details" ADD COLUMN "nx_vuln_status" text[0m
|
53180
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "vuln_details" ADD COLUMN "nx_proof_key" text
|
53181
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "vuln_details" ADD COLUMN "src" character varying(255)[0m
|
53182
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "host_details" ADD COLUMN "src" character varying(255)
|
53183
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120625000002')[0m
|
53184
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53185
|
+
Migrating to ExpandDetails2 (20120625000003)
|
53186
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53187
|
+
[1m[35m (1.1ms)[0m ALTER TABLE "host_details" ADD COLUMN "nx_site_name" character varying(255)
|
53188
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "host_details" ADD COLUMN "nx_site_importance" character varying(255)[0m
|
53189
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "host_details" ADD COLUMN "nx_scan_template" character varying(255)
|
53190
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "host_details" ADD COLUMN "nx_risk_score" float[0m
|
53191
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "vuln_details" ADD COLUMN "nx_scan_id" integer
|
53192
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "vuln_details" ADD COLUMN "nx_vulnerable_since" timestamp[0m
|
53193
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "vuln_details" ADD COLUMN "nx_pci_compliance_status" character varying(255)
|
53194
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120625000003')[0m
|
53195
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53196
|
+
Migrating to AddVulnAttempts (20120625000004)
|
53197
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53198
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "vuln_attempts" ("id" serial primary key, "vuln_id" integer, "attempted_at" timestamp, "exploited" boolean, "fail_reason" character varying(255), "username" character varying(255), "module" text, "session_id" integer, "loot_id" integer)
|
53199
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120625000004')[0m
|
53200
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53201
|
+
Migrating to AddVulnAndHostCounterCaches (20120625000005)
|
53202
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53203
|
+
[1m[35m (4.9ms)[0m ALTER TABLE "hosts" ADD COLUMN "host_detail_count" integer DEFAULT 0
|
53204
|
+
[1m[36m (2.8ms)[0m [1mALTER TABLE "vulns" ADD COLUMN "vuln_detail_count" integer DEFAULT 0[0m
|
53205
|
+
[1m[35m (2.7ms)[0m ALTER TABLE "vulns" ADD COLUMN "vuln_attempt_count" integer DEFAULT 0
|
53206
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120625000005')[0m
|
53207
|
+
[1m[35m (2.4ms)[0m COMMIT
|
53208
|
+
Migrating to AddModuleDetails (20120625000006)
|
53209
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53210
|
+
[1m[35m (3.0ms)[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)
|
53211
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_module_details_on_refname" ON "module_details" ("refname")[0m
|
53212
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_module_details_on_name" ON "module_details" ("name")
|
53213
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_module_details_on_description" ON "module_details" ("description")[0m
|
53214
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_module_details_on_mtype" ON "module_details" ("mtype")
|
53215
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "module_authors" ("id" serial primary key, "module_detail_id" integer, "name" text, "email" text) [0m
|
53216
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_module_authors_on_module_detail_id" ON "module_authors" ("module_detail_id")
|
53217
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "module_mixins" ("id" serial primary key, "module_detail_id" integer, "name" text) [0m
|
53218
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_module_mixins_on_module_detail_id" ON "module_mixins" ("module_detail_id")
|
53219
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "module_targets" ("id" serial primary key, "module_detail_id" integer, "index" integer, "name" text) [0m
|
53220
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_module_targets_on_module_detail_id" ON "module_targets" ("module_detail_id")
|
53221
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "module_actions" ("id" serial primary key, "module_detail_id" integer, "name" text) [0m
|
53222
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_module_actions_on_module_detail_id" ON "module_actions" ("module_detail_id")
|
53223
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "module_refs" ("id" serial primary key, "module_detail_id" integer, "name" text) [0m
|
53224
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_module_refs_on_module_detail_id" ON "module_refs" ("module_detail_id")
|
53225
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_module_refs_on_name" ON "module_refs" ("name")[0m
|
53226
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "module_archs" ("id" serial primary key, "module_detail_id" integer, "name" text)
|
53227
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_module_archs_on_module_detail_id" ON "module_archs" ("module_detail_id")[0m
|
53228
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "module_platforms" ("id" serial primary key, "module_detail_id" integer, "name" text)
|
53229
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_module_platforms_on_module_detail_id" ON "module_platforms" ("module_detail_id")[0m
|
53230
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120625000006')
|
53231
|
+
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
|
53232
|
+
Migrating to AddExploitAttempts (20120625000007)
|
53233
|
+
[1m[35m (0.5ms)[0m BEGIN
|
53234
|
+
[1m[36m (2.6ms)[0m [1mCREATE 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)) [0m
|
53235
|
+
[1m[35m (4.7ms)[0m ALTER TABLE "hosts" ADD COLUMN "exploit_attempt_count" integer DEFAULT 0
|
53236
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120625000007')[0m
|
53237
|
+
[1m[35m (1.6ms)[0m COMMIT
|
53238
|
+
Migrating to AddFailMessage (20120625000008)
|
53239
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
53240
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "vuln_attempts" ADD COLUMN "fail_detail" text
|
53241
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "exploit_attempts" ADD COLUMN "fail_detail" text[0m
|
53242
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120625000008')
|
53243
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53244
|
+
Migrating to AddOwnerAndPayloadToWebVulns (20120718202805)
|
53245
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53246
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "web_vulns" ADD COLUMN "owner" character varying(255)[0m
|
53247
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "web_vulns" ADD COLUMN "payload" text
|
53248
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120718202805')[0m
|
53249
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53250
|
+
Migrating to ChangeRequiredColumnsToNullFalseInWebVulns (20130228214900)
|
53251
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53252
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "web_vulns" ALTER "category" SET NOT NULL
|
53253
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ALTER "confidence" SET NOT NULL[0m
|
53254
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ALTER "method" SET NOT NULL
|
53255
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "web_vulns" ALTER "name" SET NOT NULL[0m
|
53256
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "web_vulns" ALTER "params" SET NOT NULL
|
53257
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ALTER "path" SET NOT NULL[0m
|
53258
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ALTER "pname" SET NOT NULL
|
53259
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "web_vulns" ALTER "proof" SET NOT NULL[0m
|
53260
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "web_vulns" ALTER "risk" SET NOT NULL
|
53261
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130228214900')[0m
|
53262
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53263
|
+
Migrating to ChangeForeignKeyInModuleActions (20130412154159)
|
53264
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53265
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "module_actions" RENAME COLUMN "module_detail_id" TO "detail_id"
|
53266
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412154159')[0m
|
53267
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53268
|
+
Migrating to ChangeForeignKeyInModuleArchs (20130412171844)
|
53269
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53270
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "module_archs" RENAME COLUMN "module_detail_id" TO "detail_id"
|
53271
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412171844')[0m
|
53272
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53273
|
+
Migrating to ChangeForeignKeyInModuleAuthors (20130412173121)
|
53274
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53275
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "module_authors" RENAME COLUMN "module_detail_id" TO "detail_id"
|
53276
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412173121')[0m
|
53277
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53278
|
+
Migrating to ChangeForeignKeyInModuleMixins (20130412173640)
|
53279
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53280
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "module_mixins" RENAME COLUMN "module_detail_id" TO "detail_id"
|
53281
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412173640')[0m
|
53282
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53283
|
+
Migrating to ChangeForeignKeyInModulePlatforms (20130412174254)
|
53284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53285
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "module_platforms" RENAME COLUMN "module_detail_id" TO "detail_id"
|
53286
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412174254')[0m
|
53287
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53288
|
+
Migrating to ChangeForeignKeyInModuleRefs (20130412174719)
|
53289
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53290
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "module_refs" RENAME COLUMN "module_detail_id" TO "detail_id"
|
53291
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412174719')[0m
|
53292
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53293
|
+
Migrating to ChangeForeignKeyInModuleTargets (20130412175040)
|
53294
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53295
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "module_targets" RENAME COLUMN "module_detail_id" TO "detail_id"
|
53296
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130412175040')[0m
|
53297
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53298
|
+
Migrating to AddCredsCounterCache (20130423211152)
|
53299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53300
|
+
[1m[35m (5.4ms)[0m ALTER TABLE "hosts" ADD COLUMN "cred_count" integer DEFAULT 0
|
53301
|
+
[1m[36mMdm::Cred Load (0.3ms)[0m [1mSELECT "creds".* FROM "creds" [0m
|
53302
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130423211152')
|
53303
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
53304
|
+
Migrating to ChangeRequiredColumnsToNullFalseInHosts (20130430151353)
|
53305
|
+
[1m[35m (0.2ms)[0m BEGIN
|
53306
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "hosts" ALTER "address" SET NOT NULL[0m
|
53307
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "hosts" ALTER "workspace_id" SET NOT NULL
|
53308
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130430151353')[0m
|
53309
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53310
|
+
Migrating to EnforceAddressUniquenessInWorkspaceInHosts (20130430162145)
|
53311
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53312
|
+
[1m[35m (0.8ms)[0m
|
53313
|
+
SELECT workspace_id, address, count_addr
|
53314
|
+
FROM (
|
53315
|
+
SELECT workspace_id, address, COUNT(address) AS count_addr
|
53316
|
+
FROM hosts
|
53317
|
+
GROUP BY address, workspace_id
|
53318
|
+
) X
|
53319
|
+
WHERE count_addr > 1
|
53320
|
+
|
53321
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_hosts_on_address"[0m
|
53322
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_hosts_on_workspace_id_and_address" ON "hosts" ("workspace_id", "address")
|
53323
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130430162145')[0m
|
53324
|
+
[1m[35m (0.5ms)[0m COMMIT
|
53325
|
+
Migrating to RemoveCampaigns (20130510021637)
|
53326
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53327
|
+
[1m[35m (0.8ms)[0m DROP TABLE "attachments"
|
53328
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "attachments_email_templates"[0m
|
53329
|
+
[1m[35m (0.8ms)[0m DROP TABLE "email_addresses"
|
53330
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "email_templates"[0m
|
53331
|
+
[1m[35m (0.6ms)[0m DROP TABLE "web_templates"
|
53332
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "campaigns"[0m
|
53333
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130510021637')
|
53334
|
+
[1m[36m (1.7ms)[0m [1mCOMMIT[0m
|
53335
|
+
Migrating to ChangeWebVulnsConfidenceToInteger (20130515164311)
|
53336
|
+
[1m[35m (0.2ms)[0m BEGIN
|
53337
|
+
[1m[36m (4.0ms)[0m [1mALTER TABLE web_vulns ALTER COLUMN confidence TYPE integer USING confidence::integer[0m
|
53338
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130515164311')
|
53339
|
+
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
|
53340
|
+
Migrating to ValidMdmWebVulnParams (20130515172727)
|
53341
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53342
|
+
[1m[36mMdm::WebVuln Load (0.5ms)[0m [1mSELECT "web_vulns".* FROM "web_vulns" ORDER BY "web_vulns"."id" ASC LIMIT 1000[0m
|
53343
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130515172727')
|
53344
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53345
|
+
Migrating to MakingVulnsRefsARealArModel (20130516204810)
|
53346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53347
|
+
[1m[36m (2.1ms)[0m [1mALTER TABLE "vulns_refs" ADD COLUMN "id" serial primary key[0m
|
53348
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130516204810')
|
53349
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
53350
|
+
Migrating to CreateTaskCreds (20130522001343)
|
53351
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53352
|
+
[1m[36m (1.5ms)[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
|
53353
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130522001343')
|
53354
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53355
|
+
Migrating to CreateTaskHosts (20130522032517)
|
53356
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53357
|
+
[1m[36m (1.7ms)[0m [1mCREATE 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) [0m
|
53358
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130522032517')
|
53359
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53360
|
+
Migrating to CreateTaskServices (20130522041110)
|
53361
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53362
|
+
[1m[36m (2.5ms)[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
|
53363
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130522041110')
|
53364
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
53365
|
+
Migrating to RemoveCampaignIdFromClients (20130525015035)
|
53366
|
+
[1m[35m (0.2ms)[0m BEGIN
|
53367
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "clients" DROP "campaign_id"[0m
|
53368
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130525015035')
|
53369
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53370
|
+
Migrating to DropTableImportedCreds (20130525212420)
|
53371
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53372
|
+
[1m[36m (1.4ms)[0m [1mDROP TABLE "imported_creds"[0m
|
53373
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130525212420')
|
53374
|
+
[1m[36m (1.0ms)[0m [1mCOMMIT[0m
|
53375
|
+
Migrating to MakingHostTagsARealArModel (20130531144949)
|
53376
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53377
|
+
[1m[36m (3.4ms)[0m [1mALTER TABLE "hosts_tags" ADD COLUMN "id" serial primary key[0m
|
53378
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130531144949')
|
53379
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
53380
|
+
Migrating to CreateTaskSessions (20130604145732)
|
53381
|
+
[1m[35m (0.2ms)[0m BEGIN
|
53382
|
+
[1m[36m (2.6ms)[0m [1mCREATE 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) [0m
|
53383
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130604145732')
|
53384
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53385
|
+
Migrating to RemovePnameValidation (20130717150737)
|
53386
|
+
[1m[35m (0.2ms)[0m BEGIN
|
53387
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "web_vulns" ALTER COLUMN "pname" TYPE text[0m
|
53388
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "web_vulns" ALTER "pname" DROP NOT NULL
|
53389
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130717150737')[0m
|
53390
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53391
|
+
Migrating to CreateMetasploitCredentialPublics (20140331173835)
|
53392
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53393
|
+
[1m[35m (2.3ms)[0m CREATE TABLE "metasploit_credential_publics" ("id" serial primary key, "username" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
53394
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_metasploit_credential_publics_on_username" ON "metasploit_credential_publics" ("username")[0m
|
53395
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140331173835')
|
53396
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53397
|
+
Migrating to CreateMetasploitCredentialPrivates (20140407212345)
|
53398
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53399
|
+
[1m[36m (2.7ms)[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) [0m
|
53400
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_metasploit_credential_privates_on_type_and_data" ON "metasploit_credential_privates" ("type", "data")
|
53401
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140407212345')[0m
|
53402
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53403
|
+
Migrating to CreateMetasploitCredentialRealms (20140410132401)
|
53404
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53405
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "metasploit_credential_realms" ("id" serial primary key, "key" character varying(255) NOT NULL, "value" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
53406
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140410132401')[0m
|
53407
|
+
[1m[35m (0.4ms)[0m COMMIT
|
53408
|
+
Migrating to UniqueMetasploitCredentialRealms (20140410161611)
|
53409
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53410
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_metasploit_credential_realms_on_key_and_value" ON "metasploit_credential_realms" ("key", "value")
|
53411
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140410161611')[0m
|
53412
|
+
[1m[35m (0.2ms)[0m COMMIT
|
53413
|
+
Migrating to CreateMetasploitCredentialOriginManuals (20140410191213)
|
53414
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53415
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "metasploit_credential_origin_manuals" ("id" serial primary key, "user_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
53416
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_metasploit_credential_origin_manuals_on_user_id" ON "metasploit_credential_origin_manuals" ("user_id")[0m
|
53417
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140410191213')
|
53418
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53419
|
+
Migrating to CreateMetasploitCredentialOriginImports (20140410205410)
|
53420
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53421
|
+
[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
|
53422
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_metasploit_credential_origin_imports_on_task_id" ON "metasploit_credential_origin_imports" ("task_id")
|
53423
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140410205410')[0m
|
53424
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53425
|
+
Migrating to CreateMetasploitCredentialOriginSessions (20140411142102)
|
53426
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53427
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "metasploit_credential_origin_sessions" ("id" serial primary key, "post_reference_name" text NOT NULL, "session_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
53428
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_metasploit_credential_origin_sessions" ON "metasploit_credential_origin_sessions" ("session_id", "post_reference_name")[0m
|
53429
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140411142102')
|
53430
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53431
|
+
Migrating to CreateMetasploitCredentialOriginServices (20140411205325)
|
53432
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53433
|
+
[1m[36m (2.2ms)[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
|
53434
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "unique_metasploit_credential_origin_services" ON "metasploit_credential_origin_services" ("service_id", "module_full_name")
|
53435
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140411205325')[0m
|
53436
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53437
|
+
Migrating to CreateMetasploitCredentialCores (20140414192550)
|
53438
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
53439
|
+
[1m[35m (1.7ms)[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)
|
53440
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_metasploit_credential_cores_on_origin_type_and_origin_id" ON "metasploit_credential_cores" ("origin_type", "origin_id")[0m
|
53441
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_metasploit_credential_cores_on_private_id" ON "metasploit_credential_cores" ("private_id")
|
53442
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_metasploit_credential_cores_on_public_id" ON "metasploit_credential_cores" ("public_id")[0m
|
53443
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_metasploit_credential_cores_on_realm_id" ON "metasploit_credential_cores" ("realm_id")
|
53444
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_metasploit_credential_cores_on_workspace_id" ON "metasploit_credential_cores" ("workspace_id")[0m
|
53445
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140414192550')
|
53446
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
53447
|
+
Migrating to CreateMetasploitCredentialLogins (20140417140933)
|
53448
|
+
[1m[35m (0.3ms)[0m BEGIN
|
53449
|
+
[1m[36m (3.9ms)[0m [1mCREATE 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) [0m
|
53450
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_metasploit_credential_logins_on_core_id_and_service_id" ON "metasploit_credential_logins" ("core_id", "service_id")
|
53451
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_metasploit_credential_logins_on_service_id_and_core_id" ON "metasploit_credential_logins" ("service_id", "core_id")[0m
|
53452
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140417140933')
|
53453
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53454
|
+
Migrating to AddLoginsCounterCacheToCores (20140520140817)
|
53455
|
+
[1m[35m (0.2ms)[0m BEGIN
|
53456
|
+
[1m[36m (3.7ms)[0m [1mALTER TABLE "metasploit_credential_cores" ADD COLUMN "logins_count" integer DEFAULT 0[0m
|
53457
|
+
[1m[35mMetasploit::Credential::Core Load (0.4ms)[0m SELECT "metasploit_credential_cores".* FROM "metasploit_credential_cores"
|
53458
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140520140817')[0m
|
53459
|
+
[1m[35m (0.9ms)[0m COMMIT
|
53460
|
+
Migrating to AddJtrFormatToMetasploitCredentialPrivates (20140603163708)
|
53461
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53462
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "metasploit_credential_privates" ADD COLUMN "jtr_format" character varying(255)
|
53463
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140603163708')[0m
|
53464
|
+
[1m[35m (0.3ms)[0m COMMIT
|
53465
|
+
Migrating to CreateMetasploitCredentialOriginCrackedPasswords (20140605173747)
|
53466
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
53467
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "metasploit_credential_origin_cracked_passwords" ("id" serial primary key, "metasploit_credential_core_id" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
53468
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "originating_credential_cores" ON "metasploit_credential_origin_cracked_passwords" ("metasploit_credential_core_id")[0m
|
53469
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140605173747')
|
53470
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53471
|
+
Migrating to CreateCredentialCoresTasksJoinTable (20140702184622)
|
53472
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53473
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "credential_cores_tasks" ("core_id" integer, "task_id" integer) [0m
|
53474
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140702184622')
|
53475
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53476
|
+
Migrating to CreateCredentialLoginsTasksJoinTable (20140703144541)
|
53477
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53478
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "credential_logins_tasks" ("login_id" integer, "task_id" integer) [0m
|
53479
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140703144541')
|
53480
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
53481
|
+
Migrating to OldCredsToNewCreds (20140722174919)
|
53482
|
+
[1m[35m (0.1ms)[0m BEGIN
|
53483
|
+
[1m[36mMdm::Workspace Load (0.3ms)[0m [1mSELECT "workspaces".* FROM "workspaces" [0m
|
53484
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20140722174919')
|
53485
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
53486
|
+
[1m[35m (1.0ms)[0m SELECT version FROM schema_migrations ORDER BY version
|
53487
|
+
Connecting to database specified by database.yml
|
53488
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
53489
|
+
[1m[35m (1.2ms)[0m SELECT version FROM schema_migrations ORDER BY version
|
53490
|
+
[1m[36m (112.2ms)[0m [1mDROP DATABASE IF EXISTS "metasploit_credential_test"[0m
|
53491
|
+
[1m[35m (233.5ms)[0m CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
|
53492
|
+
Connecting to database specified by database.yml
|
53493
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
53494
|
+
[1m[35m (1.2ms)[0m SELECT version FROM schema_migrations ORDER BY version
|
53495
|
+
[1m[36m (119.7ms)[0m [1mDROP DATABASE IF EXISTS "metasploit_credential_test"[0m
|
53496
|
+
[1m[35m (223.9ms)[0m CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
|
53497
|
+
Connecting to database specified by database.yml
|
53498
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
53499
|
+
[1m[35m (1.2ms)[0m SELECT version FROM schema_migrations ORDER BY version
|
53500
|
+
[1m[36m (119.7ms)[0m [1mDROP DATABASE IF EXISTS "metasploit_credential_test"[0m
|
53501
|
+
[1m[35m (222.5ms)[0m CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
|
53502
|
+
Connecting to database specified by database.yml
|
53503
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
53504
|
+
[1m[35m (1.1ms)[0m SELECT version FROM schema_migrations ORDER BY version
|
53505
|
+
[1m[36m (120.0ms)[0m [1mDROP DATABASE IF EXISTS "metasploit_credential_test"[0m
|
53506
|
+
[1m[35m (222.9ms)[0m CREATE DATABASE "metasploit_credential_test" ENCODING = 'utf8'
|