metasploit-credential 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/metasploit/credential/version.rb +1 -1
- data/spec/dummy/config/database.yml +2 -2
- data/spec/dummy/db/structure.sql +289 -278
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7998b6cf02c5be557c8d7f1572cde894611c953
|
|
4
|
+
data.tar.gz: 69603488d2bca55a98201e9cdaa3c4b59af94dbc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50ea198779d58c01875b42f666c8745755f698bcf4b1d8c7af38704c7bdf3a0789ac3d87fa665c3ac22eab75c7bc5aa84817e1856d349120ebbf6a52bbdeba28
|
|
7
|
+
data.tar.gz: 9373a0d95c5d441fa2b92f0233f737caf60963887f3ad994fd1158aa1d3348281d1c210f3ea7cdc63421ac73099070d04fd0f709ad68561edac7042d06da4863
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
development: &pgsql
|
|
2
2
|
adapter: postgresql
|
|
3
|
-
database: metasploit-
|
|
3
|
+
database: metasploit-credential_development1
|
|
4
4
|
username: msf
|
|
5
5
|
password: pass123
|
|
6
6
|
host: localhost
|
|
@@ -10,4 +10,4 @@ development: &pgsql
|
|
|
10
10
|
min_messages: warning
|
|
11
11
|
test:
|
|
12
12
|
<<: *pgsql
|
|
13
|
-
database: metasploit-
|
|
13
|
+
database: metasploit-credential_test1
|
data/spec/dummy/db/structure.sql
CHANGED
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
-- PostgreSQL database dump
|
|
3
3
|
--
|
|
4
4
|
|
|
5
|
+
-- Dumped from database version 9.6.1
|
|
6
|
+
-- Dumped by pg_dump version 9.6.1
|
|
7
|
+
|
|
5
8
|
SET statement_timeout = 0;
|
|
6
9
|
SET lock_timeout = 0;
|
|
10
|
+
SET idle_in_transaction_session_timeout = 0;
|
|
7
11
|
SET client_encoding = 'UTF8';
|
|
8
12
|
SET standard_conforming_strings = on;
|
|
9
13
|
SET check_function_bodies = false;
|
|
10
14
|
SET client_min_messages = warning;
|
|
15
|
+
SET row_security = off;
|
|
11
16
|
|
|
12
17
|
--
|
|
13
18
|
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
|
|
@@ -30,7 +35,7 @@ SET default_tablespace = '';
|
|
|
30
35
|
SET default_with_oids = false;
|
|
31
36
|
|
|
32
37
|
--
|
|
33
|
-
-- Name: api_keys; Type: TABLE; Schema: public; Owner:
|
|
38
|
+
-- Name: api_keys; Type: TABLE; Schema: public; Owner: -
|
|
34
39
|
--
|
|
35
40
|
|
|
36
41
|
CREATE TABLE api_keys (
|
|
@@ -61,7 +66,7 @@ ALTER SEQUENCE api_keys_id_seq OWNED BY api_keys.id;
|
|
|
61
66
|
|
|
62
67
|
|
|
63
68
|
--
|
|
64
|
-
-- Name: automatic_exploitation_match_results; Type: TABLE; Schema: public; Owner:
|
|
69
|
+
-- Name: automatic_exploitation_match_results; Type: TABLE; Schema: public; Owner: -
|
|
65
70
|
--
|
|
66
71
|
|
|
67
72
|
CREATE TABLE automatic_exploitation_match_results (
|
|
@@ -94,7 +99,7 @@ ALTER SEQUENCE automatic_exploitation_match_results_id_seq OWNED BY automatic_ex
|
|
|
94
99
|
|
|
95
100
|
|
|
96
101
|
--
|
|
97
|
-
-- Name: automatic_exploitation_match_sets; Type: TABLE; Schema: public; Owner:
|
|
102
|
+
-- Name: automatic_exploitation_match_sets; Type: TABLE; Schema: public; Owner: -
|
|
98
103
|
--
|
|
99
104
|
|
|
100
105
|
CREATE TABLE automatic_exploitation_match_sets (
|
|
@@ -126,7 +131,7 @@ ALTER SEQUENCE automatic_exploitation_match_sets_id_seq OWNED BY automatic_explo
|
|
|
126
131
|
|
|
127
132
|
|
|
128
133
|
--
|
|
129
|
-
-- Name: automatic_exploitation_matches; Type: TABLE; Schema: public; Owner:
|
|
134
|
+
-- Name: automatic_exploitation_matches; Type: TABLE; Schema: public; Owner: -
|
|
130
135
|
--
|
|
131
136
|
|
|
132
137
|
CREATE TABLE automatic_exploitation_matches (
|
|
@@ -163,7 +168,7 @@ ALTER SEQUENCE automatic_exploitation_matches_id_seq OWNED BY automatic_exploita
|
|
|
163
168
|
|
|
164
169
|
|
|
165
170
|
--
|
|
166
|
-
-- Name: automatic_exploitation_runs; Type: TABLE; Schema: public; Owner:
|
|
171
|
+
-- Name: automatic_exploitation_runs; Type: TABLE; Schema: public; Owner: -
|
|
167
172
|
--
|
|
168
173
|
|
|
169
174
|
CREATE TABLE automatic_exploitation_runs (
|
|
@@ -196,7 +201,7 @@ ALTER SEQUENCE automatic_exploitation_runs_id_seq OWNED BY automatic_exploitatio
|
|
|
196
201
|
|
|
197
202
|
|
|
198
203
|
--
|
|
199
|
-
-- Name: clients; Type: TABLE; Schema: public; Owner:
|
|
204
|
+
-- Name: clients; Type: TABLE; Schema: public; Owner: -
|
|
200
205
|
--
|
|
201
206
|
|
|
202
207
|
CREATE TABLE clients (
|
|
@@ -230,7 +235,7 @@ ALTER SEQUENCE clients_id_seq OWNED BY clients.id;
|
|
|
230
235
|
|
|
231
236
|
|
|
232
237
|
--
|
|
233
|
-
-- Name: credential_cores_tasks; Type: TABLE; Schema: public; Owner:
|
|
238
|
+
-- Name: credential_cores_tasks; Type: TABLE; Schema: public; Owner: -
|
|
234
239
|
--
|
|
235
240
|
|
|
236
241
|
CREATE TABLE credential_cores_tasks (
|
|
@@ -240,7 +245,7 @@ CREATE TABLE credential_cores_tasks (
|
|
|
240
245
|
|
|
241
246
|
|
|
242
247
|
--
|
|
243
|
-
-- Name: credential_logins_tasks; Type: TABLE; Schema: public; Owner:
|
|
248
|
+
-- Name: credential_logins_tasks; Type: TABLE; Schema: public; Owner: -
|
|
244
249
|
--
|
|
245
250
|
|
|
246
251
|
CREATE TABLE credential_logins_tasks (
|
|
@@ -250,7 +255,7 @@ CREATE TABLE credential_logins_tasks (
|
|
|
250
255
|
|
|
251
256
|
|
|
252
257
|
--
|
|
253
|
-
-- Name: creds; Type: TABLE; Schema: public; Owner:
|
|
258
|
+
-- Name: creds; Type: TABLE; Schema: public; Owner: -
|
|
254
259
|
--
|
|
255
260
|
|
|
256
261
|
CREATE TABLE creds (
|
|
@@ -288,7 +293,7 @@ ALTER SEQUENCE creds_id_seq OWNED BY creds.id;
|
|
|
288
293
|
|
|
289
294
|
|
|
290
295
|
--
|
|
291
|
-
-- Name: events; Type: TABLE; Schema: public; Owner:
|
|
296
|
+
-- Name: events; Type: TABLE; Schema: public; Owner: -
|
|
292
297
|
--
|
|
293
298
|
|
|
294
299
|
CREATE TABLE events (
|
|
@@ -325,7 +330,7 @@ ALTER SEQUENCE events_id_seq OWNED BY events.id;
|
|
|
325
330
|
|
|
326
331
|
|
|
327
332
|
--
|
|
328
|
-
-- Name: exploit_attempts; Type: TABLE; Schema: public; Owner:
|
|
333
|
+
-- Name: exploit_attempts; Type: TABLE; Schema: public; Owner: -
|
|
329
334
|
--
|
|
330
335
|
|
|
331
336
|
CREATE TABLE exploit_attempts (
|
|
@@ -366,7 +371,7 @@ ALTER SEQUENCE exploit_attempts_id_seq OWNED BY exploit_attempts.id;
|
|
|
366
371
|
|
|
367
372
|
|
|
368
373
|
--
|
|
369
|
-
-- Name: exploited_hosts; Type: TABLE; Schema: public; Owner:
|
|
374
|
+
-- Name: exploited_hosts; Type: TABLE; Schema: public; Owner: -
|
|
370
375
|
--
|
|
371
376
|
|
|
372
377
|
CREATE TABLE exploited_hosts (
|
|
@@ -401,7 +406,7 @@ ALTER SEQUENCE exploited_hosts_id_seq OWNED BY exploited_hosts.id;
|
|
|
401
406
|
|
|
402
407
|
|
|
403
408
|
--
|
|
404
|
-
-- Name: host_details; Type: TABLE; Schema: public; Owner:
|
|
409
|
+
-- Name: host_details; Type: TABLE; Schema: public; Owner: -
|
|
405
410
|
--
|
|
406
411
|
|
|
407
412
|
CREATE TABLE host_details (
|
|
@@ -437,7 +442,7 @@ ALTER SEQUENCE host_details_id_seq OWNED BY host_details.id;
|
|
|
437
442
|
|
|
438
443
|
|
|
439
444
|
--
|
|
440
|
-
-- Name: hosts; Type: TABLE; Schema: public; Owner:
|
|
445
|
+
-- Name: hosts; Type: TABLE; Schema: public; Owner: -
|
|
441
446
|
--
|
|
442
447
|
|
|
443
448
|
CREATE TABLE hosts (
|
|
@@ -466,7 +471,8 @@ CREATE TABLE hosts (
|
|
|
466
471
|
host_detail_count integer DEFAULT 0,
|
|
467
472
|
exploit_attempt_count integer DEFAULT 0,
|
|
468
473
|
cred_count integer DEFAULT 0,
|
|
469
|
-
detected_arch character varying
|
|
474
|
+
detected_arch character varying,
|
|
475
|
+
os_family character varying
|
|
470
476
|
);
|
|
471
477
|
|
|
472
478
|
|
|
@@ -490,7 +496,7 @@ ALTER SEQUENCE hosts_id_seq OWNED BY hosts.id;
|
|
|
490
496
|
|
|
491
497
|
|
|
492
498
|
--
|
|
493
|
-
-- Name: hosts_tags; Type: TABLE; Schema: public; Owner:
|
|
499
|
+
-- Name: hosts_tags; Type: TABLE; Schema: public; Owner: -
|
|
494
500
|
--
|
|
495
501
|
|
|
496
502
|
CREATE TABLE hosts_tags (
|
|
@@ -520,7 +526,7 @@ ALTER SEQUENCE hosts_tags_id_seq OWNED BY hosts_tags.id;
|
|
|
520
526
|
|
|
521
527
|
|
|
522
528
|
--
|
|
523
|
-
-- Name: listeners; Type: TABLE; Schema: public; Owner:
|
|
529
|
+
-- Name: listeners; Type: TABLE; Schema: public; Owner: -
|
|
524
530
|
--
|
|
525
531
|
|
|
526
532
|
CREATE TABLE listeners (
|
|
@@ -559,7 +565,7 @@ ALTER SEQUENCE listeners_id_seq OWNED BY listeners.id;
|
|
|
559
565
|
|
|
560
566
|
|
|
561
567
|
--
|
|
562
|
-
-- Name: loots; Type: TABLE; Schema: public; Owner:
|
|
568
|
+
-- Name: loots; Type: TABLE; Schema: public; Owner: -
|
|
563
569
|
--
|
|
564
570
|
|
|
565
571
|
CREATE TABLE loots (
|
|
@@ -599,7 +605,7 @@ ALTER SEQUENCE loots_id_seq OWNED BY loots.id;
|
|
|
599
605
|
|
|
600
606
|
|
|
601
607
|
--
|
|
602
|
-
-- Name: macros; Type: TABLE; Schema: public; Owner:
|
|
608
|
+
-- Name: macros; Type: TABLE; Schema: public; Owner: -
|
|
603
609
|
--
|
|
604
610
|
|
|
605
611
|
CREATE TABLE macros (
|
|
@@ -634,7 +640,7 @@ ALTER SEQUENCE macros_id_seq OWNED BY macros.id;
|
|
|
634
640
|
|
|
635
641
|
|
|
636
642
|
--
|
|
637
|
-
-- Name: metasploit_credential_cores; Type: TABLE; Schema: public; Owner:
|
|
643
|
+
-- Name: metasploit_credential_cores; Type: TABLE; Schema: public; Owner: -
|
|
638
644
|
--
|
|
639
645
|
|
|
640
646
|
CREATE TABLE metasploit_credential_cores (
|
|
@@ -671,7 +677,7 @@ ALTER SEQUENCE metasploit_credential_cores_id_seq OWNED BY metasploit_credential
|
|
|
671
677
|
|
|
672
678
|
|
|
673
679
|
--
|
|
674
|
-
-- Name: metasploit_credential_logins; Type: TABLE; Schema: public; Owner:
|
|
680
|
+
-- Name: metasploit_credential_logins; Type: TABLE; Schema: public; Owner: -
|
|
675
681
|
--
|
|
676
682
|
|
|
677
683
|
CREATE TABLE metasploit_credential_logins (
|
|
@@ -706,7 +712,7 @@ ALTER SEQUENCE metasploit_credential_logins_id_seq OWNED BY metasploit_credentia
|
|
|
706
712
|
|
|
707
713
|
|
|
708
714
|
--
|
|
709
|
-
-- Name: metasploit_credential_origin_cracked_passwords; Type: TABLE; Schema: public; Owner:
|
|
715
|
+
-- Name: metasploit_credential_origin_cracked_passwords; Type: TABLE; Schema: public; Owner: -
|
|
710
716
|
--
|
|
711
717
|
|
|
712
718
|
CREATE TABLE metasploit_credential_origin_cracked_passwords (
|
|
@@ -737,7 +743,7 @@ ALTER SEQUENCE metasploit_credential_origin_cracked_passwords_id_seq OWNED BY me
|
|
|
737
743
|
|
|
738
744
|
|
|
739
745
|
--
|
|
740
|
-
-- Name: metasploit_credential_origin_imports; Type: TABLE; Schema: public; Owner:
|
|
746
|
+
-- Name: metasploit_credential_origin_imports; Type: TABLE; Schema: public; Owner: -
|
|
741
747
|
--
|
|
742
748
|
|
|
743
749
|
CREATE TABLE metasploit_credential_origin_imports (
|
|
@@ -769,7 +775,7 @@ ALTER SEQUENCE metasploit_credential_origin_imports_id_seq OWNED BY metasploit_c
|
|
|
769
775
|
|
|
770
776
|
|
|
771
777
|
--
|
|
772
|
-
-- Name: metasploit_credential_origin_manuals; Type: TABLE; Schema: public; Owner:
|
|
778
|
+
-- Name: metasploit_credential_origin_manuals; Type: TABLE; Schema: public; Owner: -
|
|
773
779
|
--
|
|
774
780
|
|
|
775
781
|
CREATE TABLE metasploit_credential_origin_manuals (
|
|
@@ -800,7 +806,7 @@ ALTER SEQUENCE metasploit_credential_origin_manuals_id_seq OWNED BY metasploit_c
|
|
|
800
806
|
|
|
801
807
|
|
|
802
808
|
--
|
|
803
|
-
-- Name: metasploit_credential_origin_services; Type: TABLE; Schema: public; Owner:
|
|
809
|
+
-- Name: metasploit_credential_origin_services; Type: TABLE; Schema: public; Owner: -
|
|
804
810
|
--
|
|
805
811
|
|
|
806
812
|
CREATE TABLE metasploit_credential_origin_services (
|
|
@@ -832,7 +838,7 @@ ALTER SEQUENCE metasploit_credential_origin_services_id_seq OWNED BY metasploit_
|
|
|
832
838
|
|
|
833
839
|
|
|
834
840
|
--
|
|
835
|
-
-- Name: metasploit_credential_origin_sessions; Type: TABLE; Schema: public; Owner:
|
|
841
|
+
-- Name: metasploit_credential_origin_sessions; Type: TABLE; Schema: public; Owner: -
|
|
836
842
|
--
|
|
837
843
|
|
|
838
844
|
CREATE TABLE metasploit_credential_origin_sessions (
|
|
@@ -864,7 +870,7 @@ ALTER SEQUENCE metasploit_credential_origin_sessions_id_seq OWNED BY metasploit_
|
|
|
864
870
|
|
|
865
871
|
|
|
866
872
|
--
|
|
867
|
-
-- Name: metasploit_credential_privates; Type: TABLE; Schema: public; Owner:
|
|
873
|
+
-- Name: metasploit_credential_privates; Type: TABLE; Schema: public; Owner: -
|
|
868
874
|
--
|
|
869
875
|
|
|
870
876
|
CREATE TABLE metasploit_credential_privates (
|
|
@@ -897,7 +903,7 @@ ALTER SEQUENCE metasploit_credential_privates_id_seq OWNED BY metasploit_credent
|
|
|
897
903
|
|
|
898
904
|
|
|
899
905
|
--
|
|
900
|
-
-- Name: metasploit_credential_publics; Type: TABLE; Schema: public; Owner:
|
|
906
|
+
-- Name: metasploit_credential_publics; Type: TABLE; Schema: public; Owner: -
|
|
901
907
|
--
|
|
902
908
|
|
|
903
909
|
CREATE TABLE metasploit_credential_publics (
|
|
@@ -929,7 +935,7 @@ ALTER SEQUENCE metasploit_credential_publics_id_seq OWNED BY metasploit_credenti
|
|
|
929
935
|
|
|
930
936
|
|
|
931
937
|
--
|
|
932
|
-
-- Name: metasploit_credential_realms; Type: TABLE; Schema: public; Owner:
|
|
938
|
+
-- Name: metasploit_credential_realms; Type: TABLE; Schema: public; Owner: -
|
|
933
939
|
--
|
|
934
940
|
|
|
935
941
|
CREATE TABLE metasploit_credential_realms (
|
|
@@ -961,7 +967,7 @@ ALTER SEQUENCE metasploit_credential_realms_id_seq OWNED BY metasploit_credentia
|
|
|
961
967
|
|
|
962
968
|
|
|
963
969
|
--
|
|
964
|
-
-- Name: mod_refs; Type: TABLE; Schema: public; Owner:
|
|
970
|
+
-- Name: mod_refs; Type: TABLE; Schema: public; Owner: -
|
|
965
971
|
--
|
|
966
972
|
|
|
967
973
|
CREATE TABLE mod_refs (
|
|
@@ -992,7 +998,7 @@ ALTER SEQUENCE mod_refs_id_seq OWNED BY mod_refs.id;
|
|
|
992
998
|
|
|
993
999
|
|
|
994
1000
|
--
|
|
995
|
-
-- Name: module_actions; Type: TABLE; Schema: public; Owner:
|
|
1001
|
+
-- Name: module_actions; Type: TABLE; Schema: public; Owner: -
|
|
996
1002
|
--
|
|
997
1003
|
|
|
998
1004
|
CREATE TABLE module_actions (
|
|
@@ -1022,7 +1028,7 @@ ALTER SEQUENCE module_actions_id_seq OWNED BY module_actions.id;
|
|
|
1022
1028
|
|
|
1023
1029
|
|
|
1024
1030
|
--
|
|
1025
|
-
-- Name: module_archs; Type: TABLE; Schema: public; Owner:
|
|
1031
|
+
-- Name: module_archs; Type: TABLE; Schema: public; Owner: -
|
|
1026
1032
|
--
|
|
1027
1033
|
|
|
1028
1034
|
CREATE TABLE module_archs (
|
|
@@ -1052,7 +1058,7 @@ ALTER SEQUENCE module_archs_id_seq OWNED BY module_archs.id;
|
|
|
1052
1058
|
|
|
1053
1059
|
|
|
1054
1060
|
--
|
|
1055
|
-
-- Name: module_authors; Type: TABLE; Schema: public; Owner:
|
|
1061
|
+
-- Name: module_authors; Type: TABLE; Schema: public; Owner: -
|
|
1056
1062
|
--
|
|
1057
1063
|
|
|
1058
1064
|
CREATE TABLE module_authors (
|
|
@@ -1083,7 +1089,7 @@ ALTER SEQUENCE module_authors_id_seq OWNED BY module_authors.id;
|
|
|
1083
1089
|
|
|
1084
1090
|
|
|
1085
1091
|
--
|
|
1086
|
-
-- Name: module_details; Type: TABLE; Schema: public; Owner:
|
|
1092
|
+
-- Name: module_details; Type: TABLE; Schema: public; Owner: -
|
|
1087
1093
|
--
|
|
1088
1094
|
|
|
1089
1095
|
CREATE TABLE module_details (
|
|
@@ -1126,7 +1132,7 @@ ALTER SEQUENCE module_details_id_seq OWNED BY module_details.id;
|
|
|
1126
1132
|
|
|
1127
1133
|
|
|
1128
1134
|
--
|
|
1129
|
-
-- Name: module_mixins; Type: TABLE; Schema: public; Owner:
|
|
1135
|
+
-- Name: module_mixins; Type: TABLE; Schema: public; Owner: -
|
|
1130
1136
|
--
|
|
1131
1137
|
|
|
1132
1138
|
CREATE TABLE module_mixins (
|
|
@@ -1156,7 +1162,7 @@ ALTER SEQUENCE module_mixins_id_seq OWNED BY module_mixins.id;
|
|
|
1156
1162
|
|
|
1157
1163
|
|
|
1158
1164
|
--
|
|
1159
|
-
-- Name: module_platforms; Type: TABLE; Schema: public; Owner:
|
|
1165
|
+
-- Name: module_platforms; Type: TABLE; Schema: public; Owner: -
|
|
1160
1166
|
--
|
|
1161
1167
|
|
|
1162
1168
|
CREATE TABLE module_platforms (
|
|
@@ -1186,7 +1192,7 @@ ALTER SEQUENCE module_platforms_id_seq OWNED BY module_platforms.id;
|
|
|
1186
1192
|
|
|
1187
1193
|
|
|
1188
1194
|
--
|
|
1189
|
-
-- Name: module_refs; Type: TABLE; Schema: public; Owner:
|
|
1195
|
+
-- Name: module_refs; Type: TABLE; Schema: public; Owner: -
|
|
1190
1196
|
--
|
|
1191
1197
|
|
|
1192
1198
|
CREATE TABLE module_refs (
|
|
@@ -1216,7 +1222,7 @@ ALTER SEQUENCE module_refs_id_seq OWNED BY module_refs.id;
|
|
|
1216
1222
|
|
|
1217
1223
|
|
|
1218
1224
|
--
|
|
1219
|
-
-- Name: module_runs; Type: TABLE; Schema: public; Owner:
|
|
1225
|
+
-- Name: module_runs; Type: TABLE; Schema: public; Owner: -
|
|
1220
1226
|
--
|
|
1221
1227
|
|
|
1222
1228
|
CREATE TABLE module_runs (
|
|
@@ -1258,7 +1264,7 @@ ALTER SEQUENCE module_runs_id_seq OWNED BY module_runs.id;
|
|
|
1258
1264
|
|
|
1259
1265
|
|
|
1260
1266
|
--
|
|
1261
|
-
-- Name: module_targets; Type: TABLE; Schema: public; Owner:
|
|
1267
|
+
-- Name: module_targets; Type: TABLE; Schema: public; Owner: -
|
|
1262
1268
|
--
|
|
1263
1269
|
|
|
1264
1270
|
CREATE TABLE module_targets (
|
|
@@ -1289,7 +1295,7 @@ ALTER SEQUENCE module_targets_id_seq OWNED BY module_targets.id;
|
|
|
1289
1295
|
|
|
1290
1296
|
|
|
1291
1297
|
--
|
|
1292
|
-
-- Name: nexpose_consoles; Type: TABLE; Schema: public; Owner:
|
|
1298
|
+
-- Name: nexpose_consoles; Type: TABLE; Schema: public; Owner: -
|
|
1293
1299
|
--
|
|
1294
1300
|
|
|
1295
1301
|
CREATE TABLE nexpose_consoles (
|
|
@@ -1330,7 +1336,7 @@ ALTER SEQUENCE nexpose_consoles_id_seq OWNED BY nexpose_consoles.id;
|
|
|
1330
1336
|
|
|
1331
1337
|
|
|
1332
1338
|
--
|
|
1333
|
-
-- Name: notes; Type: TABLE; Schema: public; Owner:
|
|
1339
|
+
-- Name: notes; Type: TABLE; Schema: public; Owner: -
|
|
1334
1340
|
--
|
|
1335
1341
|
|
|
1336
1342
|
CREATE TABLE notes (
|
|
@@ -1368,7 +1374,7 @@ ALTER SEQUENCE notes_id_seq OWNED BY notes.id;
|
|
|
1368
1374
|
|
|
1369
1375
|
|
|
1370
1376
|
--
|
|
1371
|
-
-- Name: profiles; Type: TABLE; Schema: public; Owner:
|
|
1377
|
+
-- Name: profiles; Type: TABLE; Schema: public; Owner: -
|
|
1372
1378
|
--
|
|
1373
1379
|
|
|
1374
1380
|
CREATE TABLE profiles (
|
|
@@ -1402,7 +1408,7 @@ ALTER SEQUENCE profiles_id_seq OWNED BY profiles.id;
|
|
|
1402
1408
|
|
|
1403
1409
|
|
|
1404
1410
|
--
|
|
1405
|
-
-- Name: refs; Type: TABLE; Schema: public; Owner:
|
|
1411
|
+
-- Name: refs; Type: TABLE; Schema: public; Owner: -
|
|
1406
1412
|
--
|
|
1407
1413
|
|
|
1408
1414
|
CREATE TABLE refs (
|
|
@@ -1434,7 +1440,7 @@ ALTER SEQUENCE refs_id_seq OWNED BY refs.id;
|
|
|
1434
1440
|
|
|
1435
1441
|
|
|
1436
1442
|
--
|
|
1437
|
-
-- Name: report_templates; Type: TABLE; Schema: public; Owner:
|
|
1443
|
+
-- Name: report_templates; Type: TABLE; Schema: public; Owner: -
|
|
1438
1444
|
--
|
|
1439
1445
|
|
|
1440
1446
|
CREATE TABLE report_templates (
|
|
@@ -1468,7 +1474,7 @@ ALTER SEQUENCE report_templates_id_seq OWNED BY report_templates.id;
|
|
|
1468
1474
|
|
|
1469
1475
|
|
|
1470
1476
|
--
|
|
1471
|
-
-- Name: reports; Type: TABLE; Schema: public; Owner:
|
|
1477
|
+
-- Name: reports; Type: TABLE; Schema: public; Owner: -
|
|
1472
1478
|
--
|
|
1473
1479
|
|
|
1474
1480
|
CREATE TABLE reports (
|
|
@@ -1506,7 +1512,7 @@ ALTER SEQUENCE reports_id_seq OWNED BY reports.id;
|
|
|
1506
1512
|
|
|
1507
1513
|
|
|
1508
1514
|
--
|
|
1509
|
-
-- Name: routes; Type: TABLE; Schema: public; Owner:
|
|
1515
|
+
-- Name: routes; Type: TABLE; Schema: public; Owner: -
|
|
1510
1516
|
--
|
|
1511
1517
|
|
|
1512
1518
|
CREATE TABLE routes (
|
|
@@ -1537,7 +1543,7 @@ ALTER SEQUENCE routes_id_seq OWNED BY routes.id;
|
|
|
1537
1543
|
|
|
1538
1544
|
|
|
1539
1545
|
--
|
|
1540
|
-
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner:
|
|
1546
|
+
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
|
|
1541
1547
|
--
|
|
1542
1548
|
|
|
1543
1549
|
CREATE TABLE schema_migrations (
|
|
@@ -1546,7 +1552,7 @@ CREATE TABLE schema_migrations (
|
|
|
1546
1552
|
|
|
1547
1553
|
|
|
1548
1554
|
--
|
|
1549
|
-
-- Name: services; Type: TABLE; Schema: public; Owner:
|
|
1555
|
+
-- Name: services; Type: TABLE; Schema: public; Owner: -
|
|
1550
1556
|
--
|
|
1551
1557
|
|
|
1552
1558
|
CREATE TABLE services (
|
|
@@ -1582,7 +1588,7 @@ ALTER SEQUENCE services_id_seq OWNED BY services.id;
|
|
|
1582
1588
|
|
|
1583
1589
|
|
|
1584
1590
|
--
|
|
1585
|
-
-- Name: session_events; Type: TABLE; Schema: public; Owner:
|
|
1591
|
+
-- Name: session_events; Type: TABLE; Schema: public; Owner: -
|
|
1586
1592
|
--
|
|
1587
1593
|
|
|
1588
1594
|
CREATE TABLE session_events (
|
|
@@ -1617,7 +1623,7 @@ ALTER SEQUENCE session_events_id_seq OWNED BY session_events.id;
|
|
|
1617
1623
|
|
|
1618
1624
|
|
|
1619
1625
|
--
|
|
1620
|
-
-- Name: sessions; Type: TABLE; Schema: public; Owner:
|
|
1626
|
+
-- Name: sessions; Type: TABLE; Schema: public; Owner: -
|
|
1621
1627
|
--
|
|
1622
1628
|
|
|
1623
1629
|
CREATE TABLE sessions (
|
|
@@ -1659,7 +1665,7 @@ ALTER SEQUENCE sessions_id_seq OWNED BY sessions.id;
|
|
|
1659
1665
|
|
|
1660
1666
|
|
|
1661
1667
|
--
|
|
1662
|
-
-- Name: tags; Type: TABLE; Schema: public; Owner:
|
|
1668
|
+
-- Name: tags; Type: TABLE; Schema: public; Owner: -
|
|
1663
1669
|
--
|
|
1664
1670
|
|
|
1665
1671
|
CREATE TABLE tags (
|
|
@@ -1695,7 +1701,7 @@ ALTER SEQUENCE tags_id_seq OWNED BY tags.id;
|
|
|
1695
1701
|
|
|
1696
1702
|
|
|
1697
1703
|
--
|
|
1698
|
-
-- Name: task_creds; Type: TABLE; Schema: public; Owner:
|
|
1704
|
+
-- Name: task_creds; Type: TABLE; Schema: public; Owner: -
|
|
1699
1705
|
--
|
|
1700
1706
|
|
|
1701
1707
|
CREATE TABLE task_creds (
|
|
@@ -1727,7 +1733,7 @@ ALTER SEQUENCE task_creds_id_seq OWNED BY task_creds.id;
|
|
|
1727
1733
|
|
|
1728
1734
|
|
|
1729
1735
|
--
|
|
1730
|
-
-- Name: task_hosts; Type: TABLE; Schema: public; Owner:
|
|
1736
|
+
-- Name: task_hosts; Type: TABLE; Schema: public; Owner: -
|
|
1731
1737
|
--
|
|
1732
1738
|
|
|
1733
1739
|
CREATE TABLE task_hosts (
|
|
@@ -1759,7 +1765,7 @@ ALTER SEQUENCE task_hosts_id_seq OWNED BY task_hosts.id;
|
|
|
1759
1765
|
|
|
1760
1766
|
|
|
1761
1767
|
--
|
|
1762
|
-
-- Name: task_services; Type: TABLE; Schema: public; Owner:
|
|
1768
|
+
-- Name: task_services; Type: TABLE; Schema: public; Owner: -
|
|
1763
1769
|
--
|
|
1764
1770
|
|
|
1765
1771
|
CREATE TABLE task_services (
|
|
@@ -1791,7 +1797,7 @@ ALTER SEQUENCE task_services_id_seq OWNED BY task_services.id;
|
|
|
1791
1797
|
|
|
1792
1798
|
|
|
1793
1799
|
--
|
|
1794
|
-
-- Name: task_sessions; Type: TABLE; Schema: public; Owner:
|
|
1800
|
+
-- Name: task_sessions; Type: TABLE; Schema: public; Owner: -
|
|
1795
1801
|
--
|
|
1796
1802
|
|
|
1797
1803
|
CREATE TABLE task_sessions (
|
|
@@ -1823,7 +1829,7 @@ ALTER SEQUENCE task_sessions_id_seq OWNED BY task_sessions.id;
|
|
|
1823
1829
|
|
|
1824
1830
|
|
|
1825
1831
|
--
|
|
1826
|
-
-- Name: tasks; Type: TABLE; Schema: public; Owner:
|
|
1832
|
+
-- Name: tasks; Type: TABLE; Schema: public; Owner: -
|
|
1827
1833
|
--
|
|
1828
1834
|
|
|
1829
1835
|
CREATE TABLE tasks (
|
|
@@ -1866,7 +1872,7 @@ ALTER SEQUENCE tasks_id_seq OWNED BY tasks.id;
|
|
|
1866
1872
|
|
|
1867
1873
|
|
|
1868
1874
|
--
|
|
1869
|
-
-- Name: users; Type: TABLE; Schema: public; Owner:
|
|
1875
|
+
-- Name: users; Type: TABLE; Schema: public; Owner: -
|
|
1870
1876
|
--
|
|
1871
1877
|
|
|
1872
1878
|
CREATE TABLE users (
|
|
@@ -1906,7 +1912,7 @@ ALTER SEQUENCE users_id_seq OWNED BY users.id;
|
|
|
1906
1912
|
|
|
1907
1913
|
|
|
1908
1914
|
--
|
|
1909
|
-
-- Name: vuln_attempts; Type: TABLE; Schema: public; Owner:
|
|
1915
|
+
-- Name: vuln_attempts; Type: TABLE; Schema: public; Owner: -
|
|
1910
1916
|
--
|
|
1911
1917
|
|
|
1912
1918
|
CREATE TABLE vuln_attempts (
|
|
@@ -1943,7 +1949,7 @@ ALTER SEQUENCE vuln_attempts_id_seq OWNED BY vuln_attempts.id;
|
|
|
1943
1949
|
|
|
1944
1950
|
|
|
1945
1951
|
--
|
|
1946
|
-
-- Name: vuln_details; Type: TABLE; Schema: public; Owner:
|
|
1952
|
+
-- Name: vuln_details; Type: TABLE; Schema: public; Owner: -
|
|
1947
1953
|
--
|
|
1948
1954
|
|
|
1949
1955
|
CREATE TABLE vuln_details (
|
|
@@ -1993,7 +1999,7 @@ ALTER SEQUENCE vuln_details_id_seq OWNED BY vuln_details.id;
|
|
|
1993
1999
|
|
|
1994
2000
|
|
|
1995
2001
|
--
|
|
1996
|
-
-- Name: vulns; Type: TABLE; Schema: public; Owner:
|
|
2002
|
+
-- Name: vulns; Type: TABLE; Schema: public; Owner: -
|
|
1997
2003
|
--
|
|
1998
2004
|
|
|
1999
2005
|
CREATE TABLE vulns (
|
|
@@ -2032,7 +2038,7 @@ ALTER SEQUENCE vulns_id_seq OWNED BY vulns.id;
|
|
|
2032
2038
|
|
|
2033
2039
|
|
|
2034
2040
|
--
|
|
2035
|
-
-- Name: vulns_refs; Type: TABLE; Schema: public; Owner:
|
|
2041
|
+
-- Name: vulns_refs; Type: TABLE; Schema: public; Owner: -
|
|
2036
2042
|
--
|
|
2037
2043
|
|
|
2038
2044
|
CREATE TABLE vulns_refs (
|
|
@@ -2062,7 +2068,7 @@ ALTER SEQUENCE vulns_refs_id_seq OWNED BY vulns_refs.id;
|
|
|
2062
2068
|
|
|
2063
2069
|
|
|
2064
2070
|
--
|
|
2065
|
-
-- Name: web_forms; Type: TABLE; Schema: public; Owner:
|
|
2071
|
+
-- Name: web_forms; Type: TABLE; Schema: public; Owner: -
|
|
2066
2072
|
--
|
|
2067
2073
|
|
|
2068
2074
|
CREATE TABLE web_forms (
|
|
@@ -2097,7 +2103,7 @@ ALTER SEQUENCE web_forms_id_seq OWNED BY web_forms.id;
|
|
|
2097
2103
|
|
|
2098
2104
|
|
|
2099
2105
|
--
|
|
2100
|
-
-- Name: web_pages; Type: TABLE; Schema: public; Owner:
|
|
2106
|
+
-- Name: web_pages; Type: TABLE; Schema: public; Owner: -
|
|
2101
2107
|
--
|
|
2102
2108
|
|
|
2103
2109
|
CREATE TABLE web_pages (
|
|
@@ -2139,7 +2145,7 @@ ALTER SEQUENCE web_pages_id_seq OWNED BY web_pages.id;
|
|
|
2139
2145
|
|
|
2140
2146
|
|
|
2141
2147
|
--
|
|
2142
|
-
-- Name: web_sites; Type: TABLE; Schema: public; Owner:
|
|
2148
|
+
-- Name: web_sites; Type: TABLE; Schema: public; Owner: -
|
|
2143
2149
|
--
|
|
2144
2150
|
|
|
2145
2151
|
CREATE TABLE web_sites (
|
|
@@ -2173,7 +2179,7 @@ ALTER SEQUENCE web_sites_id_seq OWNED BY web_sites.id;
|
|
|
2173
2179
|
|
|
2174
2180
|
|
|
2175
2181
|
--
|
|
2176
|
-
-- Name: web_vulns; Type: TABLE; Schema: public; Owner:
|
|
2182
|
+
-- Name: web_vulns; Type: TABLE; Schema: public; Owner: -
|
|
2177
2183
|
--
|
|
2178
2184
|
|
|
2179
2185
|
CREATE TABLE web_vulns (
|
|
@@ -2219,7 +2225,7 @@ ALTER SEQUENCE web_vulns_id_seq OWNED BY web_vulns.id;
|
|
|
2219
2225
|
|
|
2220
2226
|
|
|
2221
2227
|
--
|
|
2222
|
-
-- Name: wmap_requests; Type: TABLE; Schema: public; Owner:
|
|
2228
|
+
-- Name: wmap_requests; Type: TABLE; Schema: public; Owner: -
|
|
2223
2229
|
--
|
|
2224
2230
|
|
|
2225
2231
|
CREATE TABLE wmap_requests (
|
|
@@ -2261,7 +2267,7 @@ ALTER SEQUENCE wmap_requests_id_seq OWNED BY wmap_requests.id;
|
|
|
2261
2267
|
|
|
2262
2268
|
|
|
2263
2269
|
--
|
|
2264
|
-
-- Name: wmap_targets; Type: TABLE; Schema: public; Owner:
|
|
2270
|
+
-- Name: wmap_targets; Type: TABLE; Schema: public; Owner: -
|
|
2265
2271
|
--
|
|
2266
2272
|
|
|
2267
2273
|
CREATE TABLE wmap_targets (
|
|
@@ -2296,7 +2302,7 @@ ALTER SEQUENCE wmap_targets_id_seq OWNED BY wmap_targets.id;
|
|
|
2296
2302
|
|
|
2297
2303
|
|
|
2298
2304
|
--
|
|
2299
|
-
-- Name: workspace_members; Type: TABLE; Schema: public; Owner:
|
|
2305
|
+
-- Name: workspace_members; Type: TABLE; Schema: public; Owner: -
|
|
2300
2306
|
--
|
|
2301
2307
|
|
|
2302
2308
|
CREATE TABLE workspace_members (
|
|
@@ -2306,7 +2312,7 @@ CREATE TABLE workspace_members (
|
|
|
2306
2312
|
|
|
2307
2313
|
|
|
2308
2314
|
--
|
|
2309
|
-
-- Name: workspaces; Type: TABLE; Schema: public; Owner:
|
|
2315
|
+
-- Name: workspaces; Type: TABLE; Schema: public; Owner: -
|
|
2310
2316
|
--
|
|
2311
2317
|
|
|
2312
2318
|
CREATE TABLE workspaces (
|
|
@@ -2317,7 +2323,8 @@ CREATE TABLE workspaces (
|
|
|
2317
2323
|
boundary character varying(4096),
|
|
2318
2324
|
description character varying(4096),
|
|
2319
2325
|
owner_id integer,
|
|
2320
|
-
limit_to_network boolean DEFAULT false NOT NULL
|
|
2326
|
+
limit_to_network boolean DEFAULT false NOT NULL,
|
|
2327
|
+
import_fingerprint boolean DEFAULT false
|
|
2321
2328
|
);
|
|
2322
2329
|
|
|
2323
2330
|
|
|
@@ -2341,455 +2348,455 @@ ALTER SEQUENCE workspaces_id_seq OWNED BY workspaces.id;
|
|
|
2341
2348
|
|
|
2342
2349
|
|
|
2343
2350
|
--
|
|
2344
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2351
|
+
-- Name: api_keys id; Type: DEFAULT; Schema: public; Owner: -
|
|
2345
2352
|
--
|
|
2346
2353
|
|
|
2347
2354
|
ALTER TABLE ONLY api_keys ALTER COLUMN id SET DEFAULT nextval('api_keys_id_seq'::regclass);
|
|
2348
2355
|
|
|
2349
2356
|
|
|
2350
2357
|
--
|
|
2351
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2358
|
+
-- Name: automatic_exploitation_match_results id; Type: DEFAULT; Schema: public; Owner: -
|
|
2352
2359
|
--
|
|
2353
2360
|
|
|
2354
2361
|
ALTER TABLE ONLY automatic_exploitation_match_results ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_match_results_id_seq'::regclass);
|
|
2355
2362
|
|
|
2356
2363
|
|
|
2357
2364
|
--
|
|
2358
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2365
|
+
-- Name: automatic_exploitation_match_sets id; Type: DEFAULT; Schema: public; Owner: -
|
|
2359
2366
|
--
|
|
2360
2367
|
|
|
2361
2368
|
ALTER TABLE ONLY automatic_exploitation_match_sets ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_match_sets_id_seq'::regclass);
|
|
2362
2369
|
|
|
2363
2370
|
|
|
2364
2371
|
--
|
|
2365
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2372
|
+
-- Name: automatic_exploitation_matches id; Type: DEFAULT; Schema: public; Owner: -
|
|
2366
2373
|
--
|
|
2367
2374
|
|
|
2368
2375
|
ALTER TABLE ONLY automatic_exploitation_matches ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_matches_id_seq'::regclass);
|
|
2369
2376
|
|
|
2370
2377
|
|
|
2371
2378
|
--
|
|
2372
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2379
|
+
-- Name: automatic_exploitation_runs id; Type: DEFAULT; Schema: public; Owner: -
|
|
2373
2380
|
--
|
|
2374
2381
|
|
|
2375
2382
|
ALTER TABLE ONLY automatic_exploitation_runs ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_runs_id_seq'::regclass);
|
|
2376
2383
|
|
|
2377
2384
|
|
|
2378
2385
|
--
|
|
2379
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2386
|
+
-- Name: clients id; Type: DEFAULT; Schema: public; Owner: -
|
|
2380
2387
|
--
|
|
2381
2388
|
|
|
2382
2389
|
ALTER TABLE ONLY clients ALTER COLUMN id SET DEFAULT nextval('clients_id_seq'::regclass);
|
|
2383
2390
|
|
|
2384
2391
|
|
|
2385
2392
|
--
|
|
2386
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2393
|
+
-- Name: creds id; Type: DEFAULT; Schema: public; Owner: -
|
|
2387
2394
|
--
|
|
2388
2395
|
|
|
2389
2396
|
ALTER TABLE ONLY creds ALTER COLUMN id SET DEFAULT nextval('creds_id_seq'::regclass);
|
|
2390
2397
|
|
|
2391
2398
|
|
|
2392
2399
|
--
|
|
2393
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2400
|
+
-- Name: events id; Type: DEFAULT; Schema: public; Owner: -
|
|
2394
2401
|
--
|
|
2395
2402
|
|
|
2396
2403
|
ALTER TABLE ONLY events ALTER COLUMN id SET DEFAULT nextval('events_id_seq'::regclass);
|
|
2397
2404
|
|
|
2398
2405
|
|
|
2399
2406
|
--
|
|
2400
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2407
|
+
-- Name: exploit_attempts id; Type: DEFAULT; Schema: public; Owner: -
|
|
2401
2408
|
--
|
|
2402
2409
|
|
|
2403
2410
|
ALTER TABLE ONLY exploit_attempts ALTER COLUMN id SET DEFAULT nextval('exploit_attempts_id_seq'::regclass);
|
|
2404
2411
|
|
|
2405
2412
|
|
|
2406
2413
|
--
|
|
2407
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2414
|
+
-- Name: exploited_hosts id; Type: DEFAULT; Schema: public; Owner: -
|
|
2408
2415
|
--
|
|
2409
2416
|
|
|
2410
2417
|
ALTER TABLE ONLY exploited_hosts ALTER COLUMN id SET DEFAULT nextval('exploited_hosts_id_seq'::regclass);
|
|
2411
2418
|
|
|
2412
2419
|
|
|
2413
2420
|
--
|
|
2414
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2421
|
+
-- Name: host_details id; Type: DEFAULT; Schema: public; Owner: -
|
|
2415
2422
|
--
|
|
2416
2423
|
|
|
2417
2424
|
ALTER TABLE ONLY host_details ALTER COLUMN id SET DEFAULT nextval('host_details_id_seq'::regclass);
|
|
2418
2425
|
|
|
2419
2426
|
|
|
2420
2427
|
--
|
|
2421
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2428
|
+
-- Name: hosts id; Type: DEFAULT; Schema: public; Owner: -
|
|
2422
2429
|
--
|
|
2423
2430
|
|
|
2424
2431
|
ALTER TABLE ONLY hosts ALTER COLUMN id SET DEFAULT nextval('hosts_id_seq'::regclass);
|
|
2425
2432
|
|
|
2426
2433
|
|
|
2427
2434
|
--
|
|
2428
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2435
|
+
-- Name: hosts_tags id; Type: DEFAULT; Schema: public; Owner: -
|
|
2429
2436
|
--
|
|
2430
2437
|
|
|
2431
2438
|
ALTER TABLE ONLY hosts_tags ALTER COLUMN id SET DEFAULT nextval('hosts_tags_id_seq'::regclass);
|
|
2432
2439
|
|
|
2433
2440
|
|
|
2434
2441
|
--
|
|
2435
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2442
|
+
-- Name: listeners id; Type: DEFAULT; Schema: public; Owner: -
|
|
2436
2443
|
--
|
|
2437
2444
|
|
|
2438
2445
|
ALTER TABLE ONLY listeners ALTER COLUMN id SET DEFAULT nextval('listeners_id_seq'::regclass);
|
|
2439
2446
|
|
|
2440
2447
|
|
|
2441
2448
|
--
|
|
2442
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2449
|
+
-- Name: loots id; Type: DEFAULT; Schema: public; Owner: -
|
|
2443
2450
|
--
|
|
2444
2451
|
|
|
2445
2452
|
ALTER TABLE ONLY loots ALTER COLUMN id SET DEFAULT nextval('loots_id_seq'::regclass);
|
|
2446
2453
|
|
|
2447
2454
|
|
|
2448
2455
|
--
|
|
2449
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2456
|
+
-- Name: macros id; Type: DEFAULT; Schema: public; Owner: -
|
|
2450
2457
|
--
|
|
2451
2458
|
|
|
2452
2459
|
ALTER TABLE ONLY macros ALTER COLUMN id SET DEFAULT nextval('macros_id_seq'::regclass);
|
|
2453
2460
|
|
|
2454
2461
|
|
|
2455
2462
|
--
|
|
2456
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2463
|
+
-- Name: metasploit_credential_cores id; Type: DEFAULT; Schema: public; Owner: -
|
|
2457
2464
|
--
|
|
2458
2465
|
|
|
2459
2466
|
ALTER TABLE ONLY metasploit_credential_cores ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_cores_id_seq'::regclass);
|
|
2460
2467
|
|
|
2461
2468
|
|
|
2462
2469
|
--
|
|
2463
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2470
|
+
-- Name: metasploit_credential_logins id; Type: DEFAULT; Schema: public; Owner: -
|
|
2464
2471
|
--
|
|
2465
2472
|
|
|
2466
2473
|
ALTER TABLE ONLY metasploit_credential_logins ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_logins_id_seq'::regclass);
|
|
2467
2474
|
|
|
2468
2475
|
|
|
2469
2476
|
--
|
|
2470
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2477
|
+
-- Name: metasploit_credential_origin_cracked_passwords id; Type: DEFAULT; Schema: public; Owner: -
|
|
2471
2478
|
--
|
|
2472
2479
|
|
|
2473
2480
|
ALTER TABLE ONLY metasploit_credential_origin_cracked_passwords ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_cracked_passwords_id_seq'::regclass);
|
|
2474
2481
|
|
|
2475
2482
|
|
|
2476
2483
|
--
|
|
2477
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2484
|
+
-- Name: metasploit_credential_origin_imports id; Type: DEFAULT; Schema: public; Owner: -
|
|
2478
2485
|
--
|
|
2479
2486
|
|
|
2480
2487
|
ALTER TABLE ONLY metasploit_credential_origin_imports ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_imports_id_seq'::regclass);
|
|
2481
2488
|
|
|
2482
2489
|
|
|
2483
2490
|
--
|
|
2484
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2491
|
+
-- Name: metasploit_credential_origin_manuals id; Type: DEFAULT; Schema: public; Owner: -
|
|
2485
2492
|
--
|
|
2486
2493
|
|
|
2487
2494
|
ALTER TABLE ONLY metasploit_credential_origin_manuals ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_manuals_id_seq'::regclass);
|
|
2488
2495
|
|
|
2489
2496
|
|
|
2490
2497
|
--
|
|
2491
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2498
|
+
-- Name: metasploit_credential_origin_services id; Type: DEFAULT; Schema: public; Owner: -
|
|
2492
2499
|
--
|
|
2493
2500
|
|
|
2494
2501
|
ALTER TABLE ONLY metasploit_credential_origin_services ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_services_id_seq'::regclass);
|
|
2495
2502
|
|
|
2496
2503
|
|
|
2497
2504
|
--
|
|
2498
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2505
|
+
-- Name: metasploit_credential_origin_sessions id; Type: DEFAULT; Schema: public; Owner: -
|
|
2499
2506
|
--
|
|
2500
2507
|
|
|
2501
2508
|
ALTER TABLE ONLY metasploit_credential_origin_sessions ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_sessions_id_seq'::regclass);
|
|
2502
2509
|
|
|
2503
2510
|
|
|
2504
2511
|
--
|
|
2505
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2512
|
+
-- Name: metasploit_credential_privates id; Type: DEFAULT; Schema: public; Owner: -
|
|
2506
2513
|
--
|
|
2507
2514
|
|
|
2508
2515
|
ALTER TABLE ONLY metasploit_credential_privates ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_privates_id_seq'::regclass);
|
|
2509
2516
|
|
|
2510
2517
|
|
|
2511
2518
|
--
|
|
2512
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2519
|
+
-- Name: metasploit_credential_publics id; Type: DEFAULT; Schema: public; Owner: -
|
|
2513
2520
|
--
|
|
2514
2521
|
|
|
2515
2522
|
ALTER TABLE ONLY metasploit_credential_publics ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_publics_id_seq'::regclass);
|
|
2516
2523
|
|
|
2517
2524
|
|
|
2518
2525
|
--
|
|
2519
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2526
|
+
-- Name: metasploit_credential_realms id; Type: DEFAULT; Schema: public; Owner: -
|
|
2520
2527
|
--
|
|
2521
2528
|
|
|
2522
2529
|
ALTER TABLE ONLY metasploit_credential_realms ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_realms_id_seq'::regclass);
|
|
2523
2530
|
|
|
2524
2531
|
|
|
2525
2532
|
--
|
|
2526
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2533
|
+
-- Name: mod_refs id; Type: DEFAULT; Schema: public; Owner: -
|
|
2527
2534
|
--
|
|
2528
2535
|
|
|
2529
2536
|
ALTER TABLE ONLY mod_refs ALTER COLUMN id SET DEFAULT nextval('mod_refs_id_seq'::regclass);
|
|
2530
2537
|
|
|
2531
2538
|
|
|
2532
2539
|
--
|
|
2533
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2540
|
+
-- Name: module_actions id; Type: DEFAULT; Schema: public; Owner: -
|
|
2534
2541
|
--
|
|
2535
2542
|
|
|
2536
2543
|
ALTER TABLE ONLY module_actions ALTER COLUMN id SET DEFAULT nextval('module_actions_id_seq'::regclass);
|
|
2537
2544
|
|
|
2538
2545
|
|
|
2539
2546
|
--
|
|
2540
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2547
|
+
-- Name: module_archs id; Type: DEFAULT; Schema: public; Owner: -
|
|
2541
2548
|
--
|
|
2542
2549
|
|
|
2543
2550
|
ALTER TABLE ONLY module_archs ALTER COLUMN id SET DEFAULT nextval('module_archs_id_seq'::regclass);
|
|
2544
2551
|
|
|
2545
2552
|
|
|
2546
2553
|
--
|
|
2547
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2554
|
+
-- Name: module_authors id; Type: DEFAULT; Schema: public; Owner: -
|
|
2548
2555
|
--
|
|
2549
2556
|
|
|
2550
2557
|
ALTER TABLE ONLY module_authors ALTER COLUMN id SET DEFAULT nextval('module_authors_id_seq'::regclass);
|
|
2551
2558
|
|
|
2552
2559
|
|
|
2553
2560
|
--
|
|
2554
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2561
|
+
-- Name: module_details id; Type: DEFAULT; Schema: public; Owner: -
|
|
2555
2562
|
--
|
|
2556
2563
|
|
|
2557
2564
|
ALTER TABLE ONLY module_details ALTER COLUMN id SET DEFAULT nextval('module_details_id_seq'::regclass);
|
|
2558
2565
|
|
|
2559
2566
|
|
|
2560
2567
|
--
|
|
2561
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2568
|
+
-- Name: module_mixins id; Type: DEFAULT; Schema: public; Owner: -
|
|
2562
2569
|
--
|
|
2563
2570
|
|
|
2564
2571
|
ALTER TABLE ONLY module_mixins ALTER COLUMN id SET DEFAULT nextval('module_mixins_id_seq'::regclass);
|
|
2565
2572
|
|
|
2566
2573
|
|
|
2567
2574
|
--
|
|
2568
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2575
|
+
-- Name: module_platforms id; Type: DEFAULT; Schema: public; Owner: -
|
|
2569
2576
|
--
|
|
2570
2577
|
|
|
2571
2578
|
ALTER TABLE ONLY module_platforms ALTER COLUMN id SET DEFAULT nextval('module_platforms_id_seq'::regclass);
|
|
2572
2579
|
|
|
2573
2580
|
|
|
2574
2581
|
--
|
|
2575
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2582
|
+
-- Name: module_refs id; Type: DEFAULT; Schema: public; Owner: -
|
|
2576
2583
|
--
|
|
2577
2584
|
|
|
2578
2585
|
ALTER TABLE ONLY module_refs ALTER COLUMN id SET DEFAULT nextval('module_refs_id_seq'::regclass);
|
|
2579
2586
|
|
|
2580
2587
|
|
|
2581
2588
|
--
|
|
2582
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2589
|
+
-- Name: module_runs id; Type: DEFAULT; Schema: public; Owner: -
|
|
2583
2590
|
--
|
|
2584
2591
|
|
|
2585
2592
|
ALTER TABLE ONLY module_runs ALTER COLUMN id SET DEFAULT nextval('module_runs_id_seq'::regclass);
|
|
2586
2593
|
|
|
2587
2594
|
|
|
2588
2595
|
--
|
|
2589
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2596
|
+
-- Name: module_targets id; Type: DEFAULT; Schema: public; Owner: -
|
|
2590
2597
|
--
|
|
2591
2598
|
|
|
2592
2599
|
ALTER TABLE ONLY module_targets ALTER COLUMN id SET DEFAULT nextval('module_targets_id_seq'::regclass);
|
|
2593
2600
|
|
|
2594
2601
|
|
|
2595
2602
|
--
|
|
2596
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2603
|
+
-- Name: nexpose_consoles id; Type: DEFAULT; Schema: public; Owner: -
|
|
2597
2604
|
--
|
|
2598
2605
|
|
|
2599
2606
|
ALTER TABLE ONLY nexpose_consoles ALTER COLUMN id SET DEFAULT nextval('nexpose_consoles_id_seq'::regclass);
|
|
2600
2607
|
|
|
2601
2608
|
|
|
2602
2609
|
--
|
|
2603
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2610
|
+
-- Name: notes id; Type: DEFAULT; Schema: public; Owner: -
|
|
2604
2611
|
--
|
|
2605
2612
|
|
|
2606
2613
|
ALTER TABLE ONLY notes ALTER COLUMN id SET DEFAULT nextval('notes_id_seq'::regclass);
|
|
2607
2614
|
|
|
2608
2615
|
|
|
2609
2616
|
--
|
|
2610
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2617
|
+
-- Name: profiles id; Type: DEFAULT; Schema: public; Owner: -
|
|
2611
2618
|
--
|
|
2612
2619
|
|
|
2613
2620
|
ALTER TABLE ONLY profiles ALTER COLUMN id SET DEFAULT nextval('profiles_id_seq'::regclass);
|
|
2614
2621
|
|
|
2615
2622
|
|
|
2616
2623
|
--
|
|
2617
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2624
|
+
-- Name: refs id; Type: DEFAULT; Schema: public; Owner: -
|
|
2618
2625
|
--
|
|
2619
2626
|
|
|
2620
2627
|
ALTER TABLE ONLY refs ALTER COLUMN id SET DEFAULT nextval('refs_id_seq'::regclass);
|
|
2621
2628
|
|
|
2622
2629
|
|
|
2623
2630
|
--
|
|
2624
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2631
|
+
-- Name: report_templates id; Type: DEFAULT; Schema: public; Owner: -
|
|
2625
2632
|
--
|
|
2626
2633
|
|
|
2627
2634
|
ALTER TABLE ONLY report_templates ALTER COLUMN id SET DEFAULT nextval('report_templates_id_seq'::regclass);
|
|
2628
2635
|
|
|
2629
2636
|
|
|
2630
2637
|
--
|
|
2631
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2638
|
+
-- Name: reports id; Type: DEFAULT; Schema: public; Owner: -
|
|
2632
2639
|
--
|
|
2633
2640
|
|
|
2634
2641
|
ALTER TABLE ONLY reports ALTER COLUMN id SET DEFAULT nextval('reports_id_seq'::regclass);
|
|
2635
2642
|
|
|
2636
2643
|
|
|
2637
2644
|
--
|
|
2638
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2645
|
+
-- Name: routes id; Type: DEFAULT; Schema: public; Owner: -
|
|
2639
2646
|
--
|
|
2640
2647
|
|
|
2641
2648
|
ALTER TABLE ONLY routes ALTER COLUMN id SET DEFAULT nextval('routes_id_seq'::regclass);
|
|
2642
2649
|
|
|
2643
2650
|
|
|
2644
2651
|
--
|
|
2645
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2652
|
+
-- Name: services id; Type: DEFAULT; Schema: public; Owner: -
|
|
2646
2653
|
--
|
|
2647
2654
|
|
|
2648
2655
|
ALTER TABLE ONLY services ALTER COLUMN id SET DEFAULT nextval('services_id_seq'::regclass);
|
|
2649
2656
|
|
|
2650
2657
|
|
|
2651
2658
|
--
|
|
2652
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2659
|
+
-- Name: session_events id; Type: DEFAULT; Schema: public; Owner: -
|
|
2653
2660
|
--
|
|
2654
2661
|
|
|
2655
2662
|
ALTER TABLE ONLY session_events ALTER COLUMN id SET DEFAULT nextval('session_events_id_seq'::regclass);
|
|
2656
2663
|
|
|
2657
2664
|
|
|
2658
2665
|
--
|
|
2659
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2666
|
+
-- Name: sessions id; Type: DEFAULT; Schema: public; Owner: -
|
|
2660
2667
|
--
|
|
2661
2668
|
|
|
2662
2669
|
ALTER TABLE ONLY sessions ALTER COLUMN id SET DEFAULT nextval('sessions_id_seq'::regclass);
|
|
2663
2670
|
|
|
2664
2671
|
|
|
2665
2672
|
--
|
|
2666
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2673
|
+
-- Name: tags id; Type: DEFAULT; Schema: public; Owner: -
|
|
2667
2674
|
--
|
|
2668
2675
|
|
|
2669
2676
|
ALTER TABLE ONLY tags ALTER COLUMN id SET DEFAULT nextval('tags_id_seq'::regclass);
|
|
2670
2677
|
|
|
2671
2678
|
|
|
2672
2679
|
--
|
|
2673
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2680
|
+
-- Name: task_creds id; Type: DEFAULT; Schema: public; Owner: -
|
|
2674
2681
|
--
|
|
2675
2682
|
|
|
2676
2683
|
ALTER TABLE ONLY task_creds ALTER COLUMN id SET DEFAULT nextval('task_creds_id_seq'::regclass);
|
|
2677
2684
|
|
|
2678
2685
|
|
|
2679
2686
|
--
|
|
2680
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2687
|
+
-- Name: task_hosts id; Type: DEFAULT; Schema: public; Owner: -
|
|
2681
2688
|
--
|
|
2682
2689
|
|
|
2683
2690
|
ALTER TABLE ONLY task_hosts ALTER COLUMN id SET DEFAULT nextval('task_hosts_id_seq'::regclass);
|
|
2684
2691
|
|
|
2685
2692
|
|
|
2686
2693
|
--
|
|
2687
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2694
|
+
-- Name: task_services id; Type: DEFAULT; Schema: public; Owner: -
|
|
2688
2695
|
--
|
|
2689
2696
|
|
|
2690
2697
|
ALTER TABLE ONLY task_services ALTER COLUMN id SET DEFAULT nextval('task_services_id_seq'::regclass);
|
|
2691
2698
|
|
|
2692
2699
|
|
|
2693
2700
|
--
|
|
2694
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2701
|
+
-- Name: task_sessions id; Type: DEFAULT; Schema: public; Owner: -
|
|
2695
2702
|
--
|
|
2696
2703
|
|
|
2697
2704
|
ALTER TABLE ONLY task_sessions ALTER COLUMN id SET DEFAULT nextval('task_sessions_id_seq'::regclass);
|
|
2698
2705
|
|
|
2699
2706
|
|
|
2700
2707
|
--
|
|
2701
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2708
|
+
-- Name: tasks id; Type: DEFAULT; Schema: public; Owner: -
|
|
2702
2709
|
--
|
|
2703
2710
|
|
|
2704
2711
|
ALTER TABLE ONLY tasks ALTER COLUMN id SET DEFAULT nextval('tasks_id_seq'::regclass);
|
|
2705
2712
|
|
|
2706
2713
|
|
|
2707
2714
|
--
|
|
2708
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2715
|
+
-- Name: users id; Type: DEFAULT; Schema: public; Owner: -
|
|
2709
2716
|
--
|
|
2710
2717
|
|
|
2711
2718
|
ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
|
|
2712
2719
|
|
|
2713
2720
|
|
|
2714
2721
|
--
|
|
2715
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2722
|
+
-- Name: vuln_attempts id; Type: DEFAULT; Schema: public; Owner: -
|
|
2716
2723
|
--
|
|
2717
2724
|
|
|
2718
2725
|
ALTER TABLE ONLY vuln_attempts ALTER COLUMN id SET DEFAULT nextval('vuln_attempts_id_seq'::regclass);
|
|
2719
2726
|
|
|
2720
2727
|
|
|
2721
2728
|
--
|
|
2722
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2729
|
+
-- Name: vuln_details id; Type: DEFAULT; Schema: public; Owner: -
|
|
2723
2730
|
--
|
|
2724
2731
|
|
|
2725
2732
|
ALTER TABLE ONLY vuln_details ALTER COLUMN id SET DEFAULT nextval('vuln_details_id_seq'::regclass);
|
|
2726
2733
|
|
|
2727
2734
|
|
|
2728
2735
|
--
|
|
2729
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2736
|
+
-- Name: vulns id; Type: DEFAULT; Schema: public; Owner: -
|
|
2730
2737
|
--
|
|
2731
2738
|
|
|
2732
2739
|
ALTER TABLE ONLY vulns ALTER COLUMN id SET DEFAULT nextval('vulns_id_seq'::regclass);
|
|
2733
2740
|
|
|
2734
2741
|
|
|
2735
2742
|
--
|
|
2736
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2743
|
+
-- Name: vulns_refs id; Type: DEFAULT; Schema: public; Owner: -
|
|
2737
2744
|
--
|
|
2738
2745
|
|
|
2739
2746
|
ALTER TABLE ONLY vulns_refs ALTER COLUMN id SET DEFAULT nextval('vulns_refs_id_seq'::regclass);
|
|
2740
2747
|
|
|
2741
2748
|
|
|
2742
2749
|
--
|
|
2743
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2750
|
+
-- Name: web_forms id; Type: DEFAULT; Schema: public; Owner: -
|
|
2744
2751
|
--
|
|
2745
2752
|
|
|
2746
2753
|
ALTER TABLE ONLY web_forms ALTER COLUMN id SET DEFAULT nextval('web_forms_id_seq'::regclass);
|
|
2747
2754
|
|
|
2748
2755
|
|
|
2749
2756
|
--
|
|
2750
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2757
|
+
-- Name: web_pages id; Type: DEFAULT; Schema: public; Owner: -
|
|
2751
2758
|
--
|
|
2752
2759
|
|
|
2753
2760
|
ALTER TABLE ONLY web_pages ALTER COLUMN id SET DEFAULT nextval('web_pages_id_seq'::regclass);
|
|
2754
2761
|
|
|
2755
2762
|
|
|
2756
2763
|
--
|
|
2757
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2764
|
+
-- Name: web_sites id; Type: DEFAULT; Schema: public; Owner: -
|
|
2758
2765
|
--
|
|
2759
2766
|
|
|
2760
2767
|
ALTER TABLE ONLY web_sites ALTER COLUMN id SET DEFAULT nextval('web_sites_id_seq'::regclass);
|
|
2761
2768
|
|
|
2762
2769
|
|
|
2763
2770
|
--
|
|
2764
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2771
|
+
-- Name: web_vulns id; Type: DEFAULT; Schema: public; Owner: -
|
|
2765
2772
|
--
|
|
2766
2773
|
|
|
2767
2774
|
ALTER TABLE ONLY web_vulns ALTER COLUMN id SET DEFAULT nextval('web_vulns_id_seq'::regclass);
|
|
2768
2775
|
|
|
2769
2776
|
|
|
2770
2777
|
--
|
|
2771
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2778
|
+
-- Name: wmap_requests id; Type: DEFAULT; Schema: public; Owner: -
|
|
2772
2779
|
--
|
|
2773
2780
|
|
|
2774
2781
|
ALTER TABLE ONLY wmap_requests ALTER COLUMN id SET DEFAULT nextval('wmap_requests_id_seq'::regclass);
|
|
2775
2782
|
|
|
2776
2783
|
|
|
2777
2784
|
--
|
|
2778
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2785
|
+
-- Name: wmap_targets id; Type: DEFAULT; Schema: public; Owner: -
|
|
2779
2786
|
--
|
|
2780
2787
|
|
|
2781
2788
|
ALTER TABLE ONLY wmap_targets ALTER COLUMN id SET DEFAULT nextval('wmap_targets_id_seq'::regclass);
|
|
2782
2789
|
|
|
2783
2790
|
|
|
2784
2791
|
--
|
|
2785
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
|
2792
|
+
-- Name: workspaces id; Type: DEFAULT; Schema: public; Owner: -
|
|
2786
2793
|
--
|
|
2787
2794
|
|
|
2788
2795
|
ALTER TABLE ONLY workspaces ALTER COLUMN id SET DEFAULT nextval('workspaces_id_seq'::regclass);
|
|
2789
2796
|
|
|
2790
2797
|
|
|
2791
2798
|
--
|
|
2792
|
-
-- Name: api_keys_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2799
|
+
-- Name: api_keys api_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2793
2800
|
--
|
|
2794
2801
|
|
|
2795
2802
|
ALTER TABLE ONLY api_keys
|
|
@@ -2797,7 +2804,7 @@ ALTER TABLE ONLY api_keys
|
|
|
2797
2804
|
|
|
2798
2805
|
|
|
2799
2806
|
--
|
|
2800
|
-
-- Name: automatic_exploitation_match_results_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2807
|
+
-- Name: automatic_exploitation_match_results automatic_exploitation_match_results_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2801
2808
|
--
|
|
2802
2809
|
|
|
2803
2810
|
ALTER TABLE ONLY automatic_exploitation_match_results
|
|
@@ -2805,7 +2812,7 @@ ALTER TABLE ONLY automatic_exploitation_match_results
|
|
|
2805
2812
|
|
|
2806
2813
|
|
|
2807
2814
|
--
|
|
2808
|
-
-- Name: automatic_exploitation_match_sets_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2815
|
+
-- Name: automatic_exploitation_match_sets automatic_exploitation_match_sets_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2809
2816
|
--
|
|
2810
2817
|
|
|
2811
2818
|
ALTER TABLE ONLY automatic_exploitation_match_sets
|
|
@@ -2813,7 +2820,7 @@ ALTER TABLE ONLY automatic_exploitation_match_sets
|
|
|
2813
2820
|
|
|
2814
2821
|
|
|
2815
2822
|
--
|
|
2816
|
-
-- Name: automatic_exploitation_matches_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2823
|
+
-- Name: automatic_exploitation_matches automatic_exploitation_matches_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2817
2824
|
--
|
|
2818
2825
|
|
|
2819
2826
|
ALTER TABLE ONLY automatic_exploitation_matches
|
|
@@ -2821,7 +2828,7 @@ ALTER TABLE ONLY automatic_exploitation_matches
|
|
|
2821
2828
|
|
|
2822
2829
|
|
|
2823
2830
|
--
|
|
2824
|
-
-- Name: automatic_exploitation_runs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2831
|
+
-- Name: automatic_exploitation_runs automatic_exploitation_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2825
2832
|
--
|
|
2826
2833
|
|
|
2827
2834
|
ALTER TABLE ONLY automatic_exploitation_runs
|
|
@@ -2829,7 +2836,7 @@ ALTER TABLE ONLY automatic_exploitation_runs
|
|
|
2829
2836
|
|
|
2830
2837
|
|
|
2831
2838
|
--
|
|
2832
|
-
-- Name: clients_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2839
|
+
-- Name: clients clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2833
2840
|
--
|
|
2834
2841
|
|
|
2835
2842
|
ALTER TABLE ONLY clients
|
|
@@ -2837,7 +2844,7 @@ ALTER TABLE ONLY clients
|
|
|
2837
2844
|
|
|
2838
2845
|
|
|
2839
2846
|
--
|
|
2840
|
-
-- Name: creds_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2847
|
+
-- Name: creds creds_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2841
2848
|
--
|
|
2842
2849
|
|
|
2843
2850
|
ALTER TABLE ONLY creds
|
|
@@ -2845,7 +2852,7 @@ ALTER TABLE ONLY creds
|
|
|
2845
2852
|
|
|
2846
2853
|
|
|
2847
2854
|
--
|
|
2848
|
-
-- Name: events_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2855
|
+
-- Name: events events_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2849
2856
|
--
|
|
2850
2857
|
|
|
2851
2858
|
ALTER TABLE ONLY events
|
|
@@ -2853,7 +2860,7 @@ ALTER TABLE ONLY events
|
|
|
2853
2860
|
|
|
2854
2861
|
|
|
2855
2862
|
--
|
|
2856
|
-
-- Name: exploit_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2863
|
+
-- Name: exploit_attempts exploit_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2857
2864
|
--
|
|
2858
2865
|
|
|
2859
2866
|
ALTER TABLE ONLY exploit_attempts
|
|
@@ -2861,7 +2868,7 @@ ALTER TABLE ONLY exploit_attempts
|
|
|
2861
2868
|
|
|
2862
2869
|
|
|
2863
2870
|
--
|
|
2864
|
-
-- Name: exploited_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2871
|
+
-- Name: exploited_hosts exploited_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2865
2872
|
--
|
|
2866
2873
|
|
|
2867
2874
|
ALTER TABLE ONLY exploited_hosts
|
|
@@ -2869,7 +2876,7 @@ ALTER TABLE ONLY exploited_hosts
|
|
|
2869
2876
|
|
|
2870
2877
|
|
|
2871
2878
|
--
|
|
2872
|
-
-- Name: host_details_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2879
|
+
-- Name: host_details host_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2873
2880
|
--
|
|
2874
2881
|
|
|
2875
2882
|
ALTER TABLE ONLY host_details
|
|
@@ -2877,7 +2884,7 @@ ALTER TABLE ONLY host_details
|
|
|
2877
2884
|
|
|
2878
2885
|
|
|
2879
2886
|
--
|
|
2880
|
-
-- Name: hosts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2887
|
+
-- Name: hosts hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2881
2888
|
--
|
|
2882
2889
|
|
|
2883
2890
|
ALTER TABLE ONLY hosts
|
|
@@ -2885,7 +2892,7 @@ ALTER TABLE ONLY hosts
|
|
|
2885
2892
|
|
|
2886
2893
|
|
|
2887
2894
|
--
|
|
2888
|
-
-- Name: hosts_tags_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2895
|
+
-- Name: hosts_tags hosts_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2889
2896
|
--
|
|
2890
2897
|
|
|
2891
2898
|
ALTER TABLE ONLY hosts_tags
|
|
@@ -2893,7 +2900,7 @@ ALTER TABLE ONLY hosts_tags
|
|
|
2893
2900
|
|
|
2894
2901
|
|
|
2895
2902
|
--
|
|
2896
|
-
-- Name: listeners_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2903
|
+
-- Name: listeners listeners_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2897
2904
|
--
|
|
2898
2905
|
|
|
2899
2906
|
ALTER TABLE ONLY listeners
|
|
@@ -2901,7 +2908,7 @@ ALTER TABLE ONLY listeners
|
|
|
2901
2908
|
|
|
2902
2909
|
|
|
2903
2910
|
--
|
|
2904
|
-
-- Name: loots_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2911
|
+
-- Name: loots loots_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2905
2912
|
--
|
|
2906
2913
|
|
|
2907
2914
|
ALTER TABLE ONLY loots
|
|
@@ -2909,7 +2916,7 @@ ALTER TABLE ONLY loots
|
|
|
2909
2916
|
|
|
2910
2917
|
|
|
2911
2918
|
--
|
|
2912
|
-
-- Name: macros_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2919
|
+
-- Name: macros macros_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2913
2920
|
--
|
|
2914
2921
|
|
|
2915
2922
|
ALTER TABLE ONLY macros
|
|
@@ -2917,7 +2924,7 @@ ALTER TABLE ONLY macros
|
|
|
2917
2924
|
|
|
2918
2925
|
|
|
2919
2926
|
--
|
|
2920
|
-
-- Name: metasploit_credential_cores_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2927
|
+
-- Name: metasploit_credential_cores metasploit_credential_cores_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2921
2928
|
--
|
|
2922
2929
|
|
|
2923
2930
|
ALTER TABLE ONLY metasploit_credential_cores
|
|
@@ -2925,7 +2932,7 @@ ALTER TABLE ONLY metasploit_credential_cores
|
|
|
2925
2932
|
|
|
2926
2933
|
|
|
2927
2934
|
--
|
|
2928
|
-
-- Name: metasploit_credential_logins_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2935
|
+
-- Name: metasploit_credential_logins metasploit_credential_logins_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2929
2936
|
--
|
|
2930
2937
|
|
|
2931
2938
|
ALTER TABLE ONLY metasploit_credential_logins
|
|
@@ -2933,7 +2940,7 @@ ALTER TABLE ONLY metasploit_credential_logins
|
|
|
2933
2940
|
|
|
2934
2941
|
|
|
2935
2942
|
--
|
|
2936
|
-
-- Name: metasploit_credential_origin_cracked_passwords_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2943
|
+
-- Name: metasploit_credential_origin_cracked_passwords metasploit_credential_origin_cracked_passwords_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2937
2944
|
--
|
|
2938
2945
|
|
|
2939
2946
|
ALTER TABLE ONLY metasploit_credential_origin_cracked_passwords
|
|
@@ -2941,7 +2948,7 @@ ALTER TABLE ONLY metasploit_credential_origin_cracked_passwords
|
|
|
2941
2948
|
|
|
2942
2949
|
|
|
2943
2950
|
--
|
|
2944
|
-
-- Name: metasploit_credential_origin_imports_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2951
|
+
-- Name: metasploit_credential_origin_imports metasploit_credential_origin_imports_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2945
2952
|
--
|
|
2946
2953
|
|
|
2947
2954
|
ALTER TABLE ONLY metasploit_credential_origin_imports
|
|
@@ -2949,7 +2956,7 @@ ALTER TABLE ONLY metasploit_credential_origin_imports
|
|
|
2949
2956
|
|
|
2950
2957
|
|
|
2951
2958
|
--
|
|
2952
|
-
-- Name: metasploit_credential_origin_manuals_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2959
|
+
-- Name: metasploit_credential_origin_manuals metasploit_credential_origin_manuals_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2953
2960
|
--
|
|
2954
2961
|
|
|
2955
2962
|
ALTER TABLE ONLY metasploit_credential_origin_manuals
|
|
@@ -2957,7 +2964,7 @@ ALTER TABLE ONLY metasploit_credential_origin_manuals
|
|
|
2957
2964
|
|
|
2958
2965
|
|
|
2959
2966
|
--
|
|
2960
|
-
-- Name: metasploit_credential_origin_services_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2967
|
+
-- Name: metasploit_credential_origin_services metasploit_credential_origin_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2961
2968
|
--
|
|
2962
2969
|
|
|
2963
2970
|
ALTER TABLE ONLY metasploit_credential_origin_services
|
|
@@ -2965,7 +2972,7 @@ ALTER TABLE ONLY metasploit_credential_origin_services
|
|
|
2965
2972
|
|
|
2966
2973
|
|
|
2967
2974
|
--
|
|
2968
|
-
-- Name: metasploit_credential_origin_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2975
|
+
-- Name: metasploit_credential_origin_sessions metasploit_credential_origin_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2969
2976
|
--
|
|
2970
2977
|
|
|
2971
2978
|
ALTER TABLE ONLY metasploit_credential_origin_sessions
|
|
@@ -2973,7 +2980,7 @@ ALTER TABLE ONLY metasploit_credential_origin_sessions
|
|
|
2973
2980
|
|
|
2974
2981
|
|
|
2975
2982
|
--
|
|
2976
|
-
-- Name: metasploit_credential_privates_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2983
|
+
-- Name: metasploit_credential_privates metasploit_credential_privates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2977
2984
|
--
|
|
2978
2985
|
|
|
2979
2986
|
ALTER TABLE ONLY metasploit_credential_privates
|
|
@@ -2981,7 +2988,7 @@ ALTER TABLE ONLY metasploit_credential_privates
|
|
|
2981
2988
|
|
|
2982
2989
|
|
|
2983
2990
|
--
|
|
2984
|
-
-- Name: metasploit_credential_publics_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2991
|
+
-- Name: metasploit_credential_publics metasploit_credential_publics_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2985
2992
|
--
|
|
2986
2993
|
|
|
2987
2994
|
ALTER TABLE ONLY metasploit_credential_publics
|
|
@@ -2989,7 +2996,7 @@ ALTER TABLE ONLY metasploit_credential_publics
|
|
|
2989
2996
|
|
|
2990
2997
|
|
|
2991
2998
|
--
|
|
2992
|
-
-- Name: metasploit_credential_realms_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
2999
|
+
-- Name: metasploit_credential_realms metasploit_credential_realms_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
2993
3000
|
--
|
|
2994
3001
|
|
|
2995
3002
|
ALTER TABLE ONLY metasploit_credential_realms
|
|
@@ -2997,7 +3004,7 @@ ALTER TABLE ONLY metasploit_credential_realms
|
|
|
2997
3004
|
|
|
2998
3005
|
|
|
2999
3006
|
--
|
|
3000
|
-
-- Name: mod_refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3007
|
+
-- Name: mod_refs mod_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3001
3008
|
--
|
|
3002
3009
|
|
|
3003
3010
|
ALTER TABLE ONLY mod_refs
|
|
@@ -3005,7 +3012,7 @@ ALTER TABLE ONLY mod_refs
|
|
|
3005
3012
|
|
|
3006
3013
|
|
|
3007
3014
|
--
|
|
3008
|
-
-- Name: module_actions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3015
|
+
-- Name: module_actions module_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3009
3016
|
--
|
|
3010
3017
|
|
|
3011
3018
|
ALTER TABLE ONLY module_actions
|
|
@@ -3013,7 +3020,7 @@ ALTER TABLE ONLY module_actions
|
|
|
3013
3020
|
|
|
3014
3021
|
|
|
3015
3022
|
--
|
|
3016
|
-
-- Name: module_archs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3023
|
+
-- Name: module_archs module_archs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3017
3024
|
--
|
|
3018
3025
|
|
|
3019
3026
|
ALTER TABLE ONLY module_archs
|
|
@@ -3021,7 +3028,7 @@ ALTER TABLE ONLY module_archs
|
|
|
3021
3028
|
|
|
3022
3029
|
|
|
3023
3030
|
--
|
|
3024
|
-
-- Name: module_authors_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3031
|
+
-- Name: module_authors module_authors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3025
3032
|
--
|
|
3026
3033
|
|
|
3027
3034
|
ALTER TABLE ONLY module_authors
|
|
@@ -3029,7 +3036,7 @@ ALTER TABLE ONLY module_authors
|
|
|
3029
3036
|
|
|
3030
3037
|
|
|
3031
3038
|
--
|
|
3032
|
-
-- Name: module_details_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3039
|
+
-- Name: module_details module_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3033
3040
|
--
|
|
3034
3041
|
|
|
3035
3042
|
ALTER TABLE ONLY module_details
|
|
@@ -3037,7 +3044,7 @@ ALTER TABLE ONLY module_details
|
|
|
3037
3044
|
|
|
3038
3045
|
|
|
3039
3046
|
--
|
|
3040
|
-
-- Name: module_mixins_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3047
|
+
-- Name: module_mixins module_mixins_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3041
3048
|
--
|
|
3042
3049
|
|
|
3043
3050
|
ALTER TABLE ONLY module_mixins
|
|
@@ -3045,7 +3052,7 @@ ALTER TABLE ONLY module_mixins
|
|
|
3045
3052
|
|
|
3046
3053
|
|
|
3047
3054
|
--
|
|
3048
|
-
-- Name: module_platforms_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3055
|
+
-- Name: module_platforms module_platforms_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3049
3056
|
--
|
|
3050
3057
|
|
|
3051
3058
|
ALTER TABLE ONLY module_platforms
|
|
@@ -3053,7 +3060,7 @@ ALTER TABLE ONLY module_platforms
|
|
|
3053
3060
|
|
|
3054
3061
|
|
|
3055
3062
|
--
|
|
3056
|
-
-- Name: module_refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3063
|
+
-- Name: module_refs module_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3057
3064
|
--
|
|
3058
3065
|
|
|
3059
3066
|
ALTER TABLE ONLY module_refs
|
|
@@ -3061,7 +3068,7 @@ ALTER TABLE ONLY module_refs
|
|
|
3061
3068
|
|
|
3062
3069
|
|
|
3063
3070
|
--
|
|
3064
|
-
-- Name: module_runs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3071
|
+
-- Name: module_runs module_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3065
3072
|
--
|
|
3066
3073
|
|
|
3067
3074
|
ALTER TABLE ONLY module_runs
|
|
@@ -3069,7 +3076,7 @@ ALTER TABLE ONLY module_runs
|
|
|
3069
3076
|
|
|
3070
3077
|
|
|
3071
3078
|
--
|
|
3072
|
-
-- Name: module_targets_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3079
|
+
-- Name: module_targets module_targets_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3073
3080
|
--
|
|
3074
3081
|
|
|
3075
3082
|
ALTER TABLE ONLY module_targets
|
|
@@ -3077,7 +3084,7 @@ ALTER TABLE ONLY module_targets
|
|
|
3077
3084
|
|
|
3078
3085
|
|
|
3079
3086
|
--
|
|
3080
|
-
-- Name: nexpose_consoles_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3087
|
+
-- Name: nexpose_consoles nexpose_consoles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3081
3088
|
--
|
|
3082
3089
|
|
|
3083
3090
|
ALTER TABLE ONLY nexpose_consoles
|
|
@@ -3085,7 +3092,7 @@ ALTER TABLE ONLY nexpose_consoles
|
|
|
3085
3092
|
|
|
3086
3093
|
|
|
3087
3094
|
--
|
|
3088
|
-
-- Name: notes_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3095
|
+
-- Name: notes notes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3089
3096
|
--
|
|
3090
3097
|
|
|
3091
3098
|
ALTER TABLE ONLY notes
|
|
@@ -3093,7 +3100,7 @@ ALTER TABLE ONLY notes
|
|
|
3093
3100
|
|
|
3094
3101
|
|
|
3095
3102
|
--
|
|
3096
|
-
-- Name: profiles_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3103
|
+
-- Name: profiles profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3097
3104
|
--
|
|
3098
3105
|
|
|
3099
3106
|
ALTER TABLE ONLY profiles
|
|
@@ -3101,7 +3108,7 @@ ALTER TABLE ONLY profiles
|
|
|
3101
3108
|
|
|
3102
3109
|
|
|
3103
3110
|
--
|
|
3104
|
-
-- Name: refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3111
|
+
-- Name: refs refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3105
3112
|
--
|
|
3106
3113
|
|
|
3107
3114
|
ALTER TABLE ONLY refs
|
|
@@ -3109,7 +3116,7 @@ ALTER TABLE ONLY refs
|
|
|
3109
3116
|
|
|
3110
3117
|
|
|
3111
3118
|
--
|
|
3112
|
-
-- Name: report_templates_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3119
|
+
-- Name: report_templates report_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3113
3120
|
--
|
|
3114
3121
|
|
|
3115
3122
|
ALTER TABLE ONLY report_templates
|
|
@@ -3117,7 +3124,7 @@ ALTER TABLE ONLY report_templates
|
|
|
3117
3124
|
|
|
3118
3125
|
|
|
3119
3126
|
--
|
|
3120
|
-
-- Name: reports_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3127
|
+
-- Name: reports reports_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3121
3128
|
--
|
|
3122
3129
|
|
|
3123
3130
|
ALTER TABLE ONLY reports
|
|
@@ -3125,7 +3132,7 @@ ALTER TABLE ONLY reports
|
|
|
3125
3132
|
|
|
3126
3133
|
|
|
3127
3134
|
--
|
|
3128
|
-
-- Name: routes_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3135
|
+
-- Name: routes routes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3129
3136
|
--
|
|
3130
3137
|
|
|
3131
3138
|
ALTER TABLE ONLY routes
|
|
@@ -3133,7 +3140,7 @@ ALTER TABLE ONLY routes
|
|
|
3133
3140
|
|
|
3134
3141
|
|
|
3135
3142
|
--
|
|
3136
|
-
-- Name: services_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3143
|
+
-- Name: services services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3137
3144
|
--
|
|
3138
3145
|
|
|
3139
3146
|
ALTER TABLE ONLY services
|
|
@@ -3141,7 +3148,7 @@ ALTER TABLE ONLY services
|
|
|
3141
3148
|
|
|
3142
3149
|
|
|
3143
3150
|
--
|
|
3144
|
-
-- Name: session_events_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3151
|
+
-- Name: session_events session_events_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3145
3152
|
--
|
|
3146
3153
|
|
|
3147
3154
|
ALTER TABLE ONLY session_events
|
|
@@ -3149,7 +3156,7 @@ ALTER TABLE ONLY session_events
|
|
|
3149
3156
|
|
|
3150
3157
|
|
|
3151
3158
|
--
|
|
3152
|
-
-- Name: sessions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3159
|
+
-- Name: sessions sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3153
3160
|
--
|
|
3154
3161
|
|
|
3155
3162
|
ALTER TABLE ONLY sessions
|
|
@@ -3157,7 +3164,7 @@ ALTER TABLE ONLY sessions
|
|
|
3157
3164
|
|
|
3158
3165
|
|
|
3159
3166
|
--
|
|
3160
|
-
-- Name: tags_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3167
|
+
-- Name: tags tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3161
3168
|
--
|
|
3162
3169
|
|
|
3163
3170
|
ALTER TABLE ONLY tags
|
|
@@ -3165,7 +3172,7 @@ ALTER TABLE ONLY tags
|
|
|
3165
3172
|
|
|
3166
3173
|
|
|
3167
3174
|
--
|
|
3168
|
-
-- Name: task_creds_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3175
|
+
-- Name: task_creds task_creds_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3169
3176
|
--
|
|
3170
3177
|
|
|
3171
3178
|
ALTER TABLE ONLY task_creds
|
|
@@ -3173,7 +3180,7 @@ ALTER TABLE ONLY task_creds
|
|
|
3173
3180
|
|
|
3174
3181
|
|
|
3175
3182
|
--
|
|
3176
|
-
-- Name: task_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3183
|
+
-- Name: task_hosts task_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3177
3184
|
--
|
|
3178
3185
|
|
|
3179
3186
|
ALTER TABLE ONLY task_hosts
|
|
@@ -3181,7 +3188,7 @@ ALTER TABLE ONLY task_hosts
|
|
|
3181
3188
|
|
|
3182
3189
|
|
|
3183
3190
|
--
|
|
3184
|
-
-- Name: task_services_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3191
|
+
-- Name: task_services task_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3185
3192
|
--
|
|
3186
3193
|
|
|
3187
3194
|
ALTER TABLE ONLY task_services
|
|
@@ -3189,7 +3196,7 @@ ALTER TABLE ONLY task_services
|
|
|
3189
3196
|
|
|
3190
3197
|
|
|
3191
3198
|
--
|
|
3192
|
-
-- Name: task_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3199
|
+
-- Name: task_sessions task_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3193
3200
|
--
|
|
3194
3201
|
|
|
3195
3202
|
ALTER TABLE ONLY task_sessions
|
|
@@ -3197,7 +3204,7 @@ ALTER TABLE ONLY task_sessions
|
|
|
3197
3204
|
|
|
3198
3205
|
|
|
3199
3206
|
--
|
|
3200
|
-
-- Name: tasks_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3207
|
+
-- Name: tasks tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3201
3208
|
--
|
|
3202
3209
|
|
|
3203
3210
|
ALTER TABLE ONLY tasks
|
|
@@ -3205,7 +3212,7 @@ ALTER TABLE ONLY tasks
|
|
|
3205
3212
|
|
|
3206
3213
|
|
|
3207
3214
|
--
|
|
3208
|
-
-- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3215
|
+
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3209
3216
|
--
|
|
3210
3217
|
|
|
3211
3218
|
ALTER TABLE ONLY users
|
|
@@ -3213,7 +3220,7 @@ ALTER TABLE ONLY users
|
|
|
3213
3220
|
|
|
3214
3221
|
|
|
3215
3222
|
--
|
|
3216
|
-
-- Name: vuln_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3223
|
+
-- Name: vuln_attempts vuln_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3217
3224
|
--
|
|
3218
3225
|
|
|
3219
3226
|
ALTER TABLE ONLY vuln_attempts
|
|
@@ -3221,7 +3228,7 @@ ALTER TABLE ONLY vuln_attempts
|
|
|
3221
3228
|
|
|
3222
3229
|
|
|
3223
3230
|
--
|
|
3224
|
-
-- Name: vuln_details_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3231
|
+
-- Name: vuln_details vuln_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3225
3232
|
--
|
|
3226
3233
|
|
|
3227
3234
|
ALTER TABLE ONLY vuln_details
|
|
@@ -3229,7 +3236,7 @@ ALTER TABLE ONLY vuln_details
|
|
|
3229
3236
|
|
|
3230
3237
|
|
|
3231
3238
|
--
|
|
3232
|
-
-- Name: vulns_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3239
|
+
-- Name: vulns vulns_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3233
3240
|
--
|
|
3234
3241
|
|
|
3235
3242
|
ALTER TABLE ONLY vulns
|
|
@@ -3237,7 +3244,7 @@ ALTER TABLE ONLY vulns
|
|
|
3237
3244
|
|
|
3238
3245
|
|
|
3239
3246
|
--
|
|
3240
|
-
-- Name: vulns_refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3247
|
+
-- Name: vulns_refs vulns_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3241
3248
|
--
|
|
3242
3249
|
|
|
3243
3250
|
ALTER TABLE ONLY vulns_refs
|
|
@@ -3245,7 +3252,7 @@ ALTER TABLE ONLY vulns_refs
|
|
|
3245
3252
|
|
|
3246
3253
|
|
|
3247
3254
|
--
|
|
3248
|
-
-- Name: web_forms_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3255
|
+
-- Name: web_forms web_forms_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3249
3256
|
--
|
|
3250
3257
|
|
|
3251
3258
|
ALTER TABLE ONLY web_forms
|
|
@@ -3253,7 +3260,7 @@ ALTER TABLE ONLY web_forms
|
|
|
3253
3260
|
|
|
3254
3261
|
|
|
3255
3262
|
--
|
|
3256
|
-
-- Name: web_pages_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3263
|
+
-- Name: web_pages web_pages_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3257
3264
|
--
|
|
3258
3265
|
|
|
3259
3266
|
ALTER TABLE ONLY web_pages
|
|
@@ -3261,7 +3268,7 @@ ALTER TABLE ONLY web_pages
|
|
|
3261
3268
|
|
|
3262
3269
|
|
|
3263
3270
|
--
|
|
3264
|
-
-- Name: web_sites_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3271
|
+
-- Name: web_sites web_sites_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3265
3272
|
--
|
|
3266
3273
|
|
|
3267
3274
|
ALTER TABLE ONLY web_sites
|
|
@@ -3269,7 +3276,7 @@ ALTER TABLE ONLY web_sites
|
|
|
3269
3276
|
|
|
3270
3277
|
|
|
3271
3278
|
--
|
|
3272
|
-
-- Name: web_vulns_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3279
|
+
-- Name: web_vulns web_vulns_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3273
3280
|
--
|
|
3274
3281
|
|
|
3275
3282
|
ALTER TABLE ONLY web_vulns
|
|
@@ -3277,7 +3284,7 @@ ALTER TABLE ONLY web_vulns
|
|
|
3277
3284
|
|
|
3278
3285
|
|
|
3279
3286
|
--
|
|
3280
|
-
-- Name: wmap_requests_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3287
|
+
-- Name: wmap_requests wmap_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3281
3288
|
--
|
|
3282
3289
|
|
|
3283
3290
|
ALTER TABLE ONLY wmap_requests
|
|
@@ -3285,7 +3292,7 @@ ALTER TABLE ONLY wmap_requests
|
|
|
3285
3292
|
|
|
3286
3293
|
|
|
3287
3294
|
--
|
|
3288
|
-
-- Name: wmap_targets_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3295
|
+
-- Name: wmap_targets wmap_targets_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3289
3296
|
--
|
|
3290
3297
|
|
|
3291
3298
|
ALTER TABLE ONLY wmap_targets
|
|
@@ -3293,7 +3300,7 @@ ALTER TABLE ONLY wmap_targets
|
|
|
3293
3300
|
|
|
3294
3301
|
|
|
3295
3302
|
--
|
|
3296
|
-
-- Name: workspaces_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
|
3303
|
+
-- Name: workspaces workspaces_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
3297
3304
|
--
|
|
3298
3305
|
|
|
3299
3306
|
ALTER TABLE ONLY workspaces
|
|
@@ -3301,511 +3308,511 @@ ALTER TABLE ONLY workspaces
|
|
|
3301
3308
|
|
|
3302
3309
|
|
|
3303
3310
|
--
|
|
3304
|
-
-- Name: index_automatic_exploitation_match_results_on_match_id; Type: INDEX; Schema: public; Owner:
|
|
3311
|
+
-- Name: index_automatic_exploitation_match_results_on_match_id; Type: INDEX; Schema: public; Owner: -
|
|
3305
3312
|
--
|
|
3306
3313
|
|
|
3307
3314
|
CREATE INDEX index_automatic_exploitation_match_results_on_match_id ON automatic_exploitation_match_results USING btree (match_id);
|
|
3308
3315
|
|
|
3309
3316
|
|
|
3310
3317
|
--
|
|
3311
|
-
-- Name: index_automatic_exploitation_match_results_on_run_id; Type: INDEX; Schema: public; Owner:
|
|
3318
|
+
-- Name: index_automatic_exploitation_match_results_on_run_id; Type: INDEX; Schema: public; Owner: -
|
|
3312
3319
|
--
|
|
3313
3320
|
|
|
3314
3321
|
CREATE INDEX index_automatic_exploitation_match_results_on_run_id ON automatic_exploitation_match_results USING btree (run_id);
|
|
3315
3322
|
|
|
3316
3323
|
|
|
3317
3324
|
--
|
|
3318
|
-
-- Name: index_automatic_exploitation_match_sets_on_user_id; Type: INDEX; Schema: public; Owner:
|
|
3325
|
+
-- Name: index_automatic_exploitation_match_sets_on_user_id; Type: INDEX; Schema: public; Owner: -
|
|
3319
3326
|
--
|
|
3320
3327
|
|
|
3321
3328
|
CREATE INDEX index_automatic_exploitation_match_sets_on_user_id ON automatic_exploitation_match_sets USING btree (user_id);
|
|
3322
3329
|
|
|
3323
3330
|
|
|
3324
3331
|
--
|
|
3325
|
-
-- Name: index_automatic_exploitation_match_sets_on_workspace_id; Type: INDEX; Schema: public; Owner:
|
|
3332
|
+
-- Name: index_automatic_exploitation_match_sets_on_workspace_id; Type: INDEX; Schema: public; Owner: -
|
|
3326
3333
|
--
|
|
3327
3334
|
|
|
3328
3335
|
CREATE INDEX index_automatic_exploitation_match_sets_on_workspace_id ON automatic_exploitation_match_sets USING btree (workspace_id);
|
|
3329
3336
|
|
|
3330
3337
|
|
|
3331
3338
|
--
|
|
3332
|
-
-- Name: index_automatic_exploitation_matches_on_module_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3339
|
+
-- Name: index_automatic_exploitation_matches_on_module_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3333
3340
|
--
|
|
3334
3341
|
|
|
3335
3342
|
CREATE INDEX index_automatic_exploitation_matches_on_module_detail_id ON automatic_exploitation_matches USING btree (module_detail_id);
|
|
3336
3343
|
|
|
3337
3344
|
|
|
3338
3345
|
--
|
|
3339
|
-
-- Name: index_automatic_exploitation_matches_on_module_fullname; Type: INDEX; Schema: public; Owner:
|
|
3346
|
+
-- Name: index_automatic_exploitation_matches_on_module_fullname; Type: INDEX; Schema: public; Owner: -
|
|
3340
3347
|
--
|
|
3341
3348
|
|
|
3342
3349
|
CREATE INDEX index_automatic_exploitation_matches_on_module_fullname ON automatic_exploitation_matches USING btree (module_fullname);
|
|
3343
3350
|
|
|
3344
3351
|
|
|
3345
3352
|
--
|
|
3346
|
-
-- Name: index_automatic_exploitation_runs_on_match_set_id; Type: INDEX; Schema: public; Owner:
|
|
3353
|
+
-- Name: index_automatic_exploitation_runs_on_match_set_id; Type: INDEX; Schema: public; Owner: -
|
|
3347
3354
|
--
|
|
3348
3355
|
|
|
3349
3356
|
CREATE INDEX index_automatic_exploitation_runs_on_match_set_id ON automatic_exploitation_runs USING btree (match_set_id);
|
|
3350
3357
|
|
|
3351
3358
|
|
|
3352
3359
|
--
|
|
3353
|
-
-- Name: index_automatic_exploitation_runs_on_user_id; Type: INDEX; Schema: public; Owner:
|
|
3360
|
+
-- Name: index_automatic_exploitation_runs_on_user_id; Type: INDEX; Schema: public; Owner: -
|
|
3354
3361
|
--
|
|
3355
3362
|
|
|
3356
3363
|
CREATE INDEX index_automatic_exploitation_runs_on_user_id ON automatic_exploitation_runs USING btree (user_id);
|
|
3357
3364
|
|
|
3358
3365
|
|
|
3359
3366
|
--
|
|
3360
|
-
-- Name: index_automatic_exploitation_runs_on_workspace_id; Type: INDEX; Schema: public; Owner:
|
|
3367
|
+
-- Name: index_automatic_exploitation_runs_on_workspace_id; Type: INDEX; Schema: public; Owner: -
|
|
3361
3368
|
--
|
|
3362
3369
|
|
|
3363
3370
|
CREATE INDEX index_automatic_exploitation_runs_on_workspace_id ON automatic_exploitation_runs USING btree (workspace_id);
|
|
3364
3371
|
|
|
3365
3372
|
|
|
3366
3373
|
--
|
|
3367
|
-
-- Name: index_hosts_on_name; Type: INDEX; Schema: public; Owner:
|
|
3374
|
+
-- Name: index_hosts_on_name; Type: INDEX; Schema: public; Owner: -
|
|
3368
3375
|
--
|
|
3369
3376
|
|
|
3370
3377
|
CREATE INDEX index_hosts_on_name ON hosts USING btree (name);
|
|
3371
3378
|
|
|
3372
3379
|
|
|
3373
3380
|
--
|
|
3374
|
-
-- Name: index_hosts_on_os_flavor; Type: INDEX; Schema: public; Owner:
|
|
3381
|
+
-- Name: index_hosts_on_os_flavor; Type: INDEX; Schema: public; Owner: -
|
|
3375
3382
|
--
|
|
3376
3383
|
|
|
3377
3384
|
CREATE INDEX index_hosts_on_os_flavor ON hosts USING btree (os_flavor);
|
|
3378
3385
|
|
|
3379
3386
|
|
|
3380
3387
|
--
|
|
3381
|
-
-- Name: index_hosts_on_os_name; Type: INDEX; Schema: public; Owner:
|
|
3388
|
+
-- Name: index_hosts_on_os_name; Type: INDEX; Schema: public; Owner: -
|
|
3382
3389
|
--
|
|
3383
3390
|
|
|
3384
3391
|
CREATE INDEX index_hosts_on_os_name ON hosts USING btree (os_name);
|
|
3385
3392
|
|
|
3386
3393
|
|
|
3387
3394
|
--
|
|
3388
|
-
-- Name: index_hosts_on_purpose; Type: INDEX; Schema: public; Owner:
|
|
3395
|
+
-- Name: index_hosts_on_purpose; Type: INDEX; Schema: public; Owner: -
|
|
3389
3396
|
--
|
|
3390
3397
|
|
|
3391
3398
|
CREATE INDEX index_hosts_on_purpose ON hosts USING btree (purpose);
|
|
3392
3399
|
|
|
3393
3400
|
|
|
3394
3401
|
--
|
|
3395
|
-
-- Name: index_hosts_on_state; Type: INDEX; Schema: public; Owner:
|
|
3402
|
+
-- Name: index_hosts_on_state; Type: INDEX; Schema: public; Owner: -
|
|
3396
3403
|
--
|
|
3397
3404
|
|
|
3398
3405
|
CREATE INDEX index_hosts_on_state ON hosts USING btree (state);
|
|
3399
3406
|
|
|
3400
3407
|
|
|
3401
3408
|
--
|
|
3402
|
-
-- Name: index_hosts_on_workspace_id_and_address; Type: INDEX; Schema: public; Owner:
|
|
3409
|
+
-- Name: index_hosts_on_workspace_id_and_address; Type: INDEX; Schema: public; Owner: -
|
|
3403
3410
|
--
|
|
3404
3411
|
|
|
3405
3412
|
CREATE UNIQUE INDEX index_hosts_on_workspace_id_and_address ON hosts USING btree (workspace_id, address);
|
|
3406
3413
|
|
|
3407
3414
|
|
|
3408
3415
|
--
|
|
3409
|
-
-- Name: index_loots_on_module_run_id; Type: INDEX; Schema: public; Owner:
|
|
3416
|
+
-- Name: index_loots_on_module_run_id; Type: INDEX; Schema: public; Owner: -
|
|
3410
3417
|
--
|
|
3411
3418
|
|
|
3412
3419
|
CREATE INDEX index_loots_on_module_run_id ON loots USING btree (module_run_id);
|
|
3413
3420
|
|
|
3414
3421
|
|
|
3415
3422
|
--
|
|
3416
|
-
-- Name: index_metasploit_credential_cores_on_origin_type_and_origin_id; Type: INDEX; Schema: public; Owner:
|
|
3423
|
+
-- Name: index_metasploit_credential_cores_on_origin_type_and_origin_id; Type: INDEX; Schema: public; Owner: -
|
|
3417
3424
|
--
|
|
3418
3425
|
|
|
3419
3426
|
CREATE INDEX index_metasploit_credential_cores_on_origin_type_and_origin_id ON metasploit_credential_cores USING btree (origin_type, origin_id);
|
|
3420
3427
|
|
|
3421
3428
|
|
|
3422
3429
|
--
|
|
3423
|
-
-- Name: index_metasploit_credential_cores_on_private_id; Type: INDEX; Schema: public; Owner:
|
|
3430
|
+
-- Name: index_metasploit_credential_cores_on_private_id; Type: INDEX; Schema: public; Owner: -
|
|
3424
3431
|
--
|
|
3425
3432
|
|
|
3426
3433
|
CREATE INDEX index_metasploit_credential_cores_on_private_id ON metasploit_credential_cores USING btree (private_id);
|
|
3427
3434
|
|
|
3428
3435
|
|
|
3429
3436
|
--
|
|
3430
|
-
-- Name: index_metasploit_credential_cores_on_public_id; Type: INDEX; Schema: public; Owner:
|
|
3437
|
+
-- Name: index_metasploit_credential_cores_on_public_id; Type: INDEX; Schema: public; Owner: -
|
|
3431
3438
|
--
|
|
3432
3439
|
|
|
3433
3440
|
CREATE INDEX index_metasploit_credential_cores_on_public_id ON metasploit_credential_cores USING btree (public_id);
|
|
3434
3441
|
|
|
3435
3442
|
|
|
3436
3443
|
--
|
|
3437
|
-
-- Name: index_metasploit_credential_cores_on_realm_id; Type: INDEX; Schema: public; Owner:
|
|
3444
|
+
-- Name: index_metasploit_credential_cores_on_realm_id; Type: INDEX; Schema: public; Owner: -
|
|
3438
3445
|
--
|
|
3439
3446
|
|
|
3440
3447
|
CREATE INDEX index_metasploit_credential_cores_on_realm_id ON metasploit_credential_cores USING btree (realm_id);
|
|
3441
3448
|
|
|
3442
3449
|
|
|
3443
3450
|
--
|
|
3444
|
-
-- Name: index_metasploit_credential_cores_on_workspace_id; Type: INDEX; Schema: public; Owner:
|
|
3451
|
+
-- Name: index_metasploit_credential_cores_on_workspace_id; Type: INDEX; Schema: public; Owner: -
|
|
3445
3452
|
--
|
|
3446
3453
|
|
|
3447
3454
|
CREATE INDEX index_metasploit_credential_cores_on_workspace_id ON metasploit_credential_cores USING btree (workspace_id);
|
|
3448
3455
|
|
|
3449
3456
|
|
|
3450
3457
|
--
|
|
3451
|
-
-- Name: index_metasploit_credential_logins_on_core_id_and_service_id; Type: INDEX; Schema: public; Owner:
|
|
3458
|
+
-- Name: index_metasploit_credential_logins_on_core_id_and_service_id; Type: INDEX; Schema: public; Owner: -
|
|
3452
3459
|
--
|
|
3453
3460
|
|
|
3454
3461
|
CREATE UNIQUE INDEX index_metasploit_credential_logins_on_core_id_and_service_id ON metasploit_credential_logins USING btree (core_id, service_id);
|
|
3455
3462
|
|
|
3456
3463
|
|
|
3457
3464
|
--
|
|
3458
|
-
-- Name: index_metasploit_credential_logins_on_service_id_and_core_id; Type: INDEX; Schema: public; Owner:
|
|
3465
|
+
-- Name: index_metasploit_credential_logins_on_service_id_and_core_id; Type: INDEX; Schema: public; Owner: -
|
|
3459
3466
|
--
|
|
3460
3467
|
|
|
3461
3468
|
CREATE UNIQUE INDEX index_metasploit_credential_logins_on_service_id_and_core_id ON metasploit_credential_logins USING btree (service_id, core_id);
|
|
3462
3469
|
|
|
3463
3470
|
|
|
3464
3471
|
--
|
|
3465
|
-
-- Name: index_metasploit_credential_origin_imports_on_task_id; Type: INDEX; Schema: public; Owner:
|
|
3472
|
+
-- Name: index_metasploit_credential_origin_imports_on_task_id; Type: INDEX; Schema: public; Owner: -
|
|
3466
3473
|
--
|
|
3467
3474
|
|
|
3468
3475
|
CREATE INDEX index_metasploit_credential_origin_imports_on_task_id ON metasploit_credential_origin_imports USING btree (task_id);
|
|
3469
3476
|
|
|
3470
3477
|
|
|
3471
3478
|
--
|
|
3472
|
-
-- Name: index_metasploit_credential_origin_manuals_on_user_id; Type: INDEX; Schema: public; Owner:
|
|
3479
|
+
-- Name: index_metasploit_credential_origin_manuals_on_user_id; Type: INDEX; Schema: public; Owner: -
|
|
3473
3480
|
--
|
|
3474
3481
|
|
|
3475
3482
|
CREATE INDEX index_metasploit_credential_origin_manuals_on_user_id ON metasploit_credential_origin_manuals USING btree (user_id);
|
|
3476
3483
|
|
|
3477
3484
|
|
|
3478
3485
|
--
|
|
3479
|
-
-- Name: index_metasploit_credential_privates_on_type_and_data; Type: INDEX; Schema: public; Owner:
|
|
3486
|
+
-- Name: index_metasploit_credential_privates_on_type_and_data; Type: INDEX; Schema: public; Owner: -
|
|
3480
3487
|
--
|
|
3481
3488
|
|
|
3482
3489
|
CREATE UNIQUE INDEX index_metasploit_credential_privates_on_type_and_data ON metasploit_credential_privates USING btree (type, data) WHERE (NOT ((type)::text = 'Metasploit::Credential::SSHKey'::text));
|
|
3483
3490
|
|
|
3484
3491
|
|
|
3485
3492
|
--
|
|
3486
|
-
-- Name: index_metasploit_credential_privates_on_type_and_data_sshkey; Type: INDEX; Schema: public; Owner:
|
|
3493
|
+
-- Name: index_metasploit_credential_privates_on_type_and_data_sshkey; Type: INDEX; Schema: public; Owner: -
|
|
3487
3494
|
--
|
|
3488
3495
|
|
|
3489
3496
|
CREATE UNIQUE INDEX index_metasploit_credential_privates_on_type_and_data_sshkey ON metasploit_credential_privates USING btree (type, decode(md5(data), 'hex'::text)) WHERE ((type)::text = 'Metasploit::Credential::SSHKey'::text);
|
|
3490
3497
|
|
|
3491
3498
|
|
|
3492
3499
|
--
|
|
3493
|
-
-- Name: index_metasploit_credential_publics_on_username; Type: INDEX; Schema: public; Owner:
|
|
3500
|
+
-- Name: index_metasploit_credential_publics_on_username; Type: INDEX; Schema: public; Owner: -
|
|
3494
3501
|
--
|
|
3495
3502
|
|
|
3496
3503
|
CREATE UNIQUE INDEX index_metasploit_credential_publics_on_username ON metasploit_credential_publics USING btree (username);
|
|
3497
3504
|
|
|
3498
3505
|
|
|
3499
3506
|
--
|
|
3500
|
-
-- Name: index_metasploit_credential_realms_on_key_and_value; Type: INDEX; Schema: public; Owner:
|
|
3507
|
+
-- Name: index_metasploit_credential_realms_on_key_and_value; Type: INDEX; Schema: public; Owner: -
|
|
3501
3508
|
--
|
|
3502
3509
|
|
|
3503
3510
|
CREATE UNIQUE INDEX index_metasploit_credential_realms_on_key_and_value ON metasploit_credential_realms USING btree (key, value);
|
|
3504
3511
|
|
|
3505
3512
|
|
|
3506
3513
|
--
|
|
3507
|
-
-- Name: index_module_actions_on_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3514
|
+
-- Name: index_module_actions_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3508
3515
|
--
|
|
3509
3516
|
|
|
3510
3517
|
CREATE INDEX index_module_actions_on_detail_id ON module_actions USING btree (detail_id);
|
|
3511
3518
|
|
|
3512
3519
|
|
|
3513
3520
|
--
|
|
3514
|
-
-- Name: index_module_archs_on_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3521
|
+
-- Name: index_module_archs_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3515
3522
|
--
|
|
3516
3523
|
|
|
3517
3524
|
CREATE INDEX index_module_archs_on_detail_id ON module_archs USING btree (detail_id);
|
|
3518
3525
|
|
|
3519
3526
|
|
|
3520
3527
|
--
|
|
3521
|
-
-- Name: index_module_authors_on_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3528
|
+
-- Name: index_module_authors_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3522
3529
|
--
|
|
3523
3530
|
|
|
3524
3531
|
CREATE INDEX index_module_authors_on_detail_id ON module_authors USING btree (detail_id);
|
|
3525
3532
|
|
|
3526
3533
|
|
|
3527
3534
|
--
|
|
3528
|
-
-- Name: index_module_details_on_description; Type: INDEX; Schema: public; Owner:
|
|
3535
|
+
-- Name: index_module_details_on_description; Type: INDEX; Schema: public; Owner: -
|
|
3529
3536
|
--
|
|
3530
3537
|
|
|
3531
3538
|
CREATE INDEX index_module_details_on_description ON module_details USING btree (description);
|
|
3532
3539
|
|
|
3533
3540
|
|
|
3534
3541
|
--
|
|
3535
|
-
-- Name: index_module_details_on_mtype; Type: INDEX; Schema: public; Owner:
|
|
3542
|
+
-- Name: index_module_details_on_mtype; Type: INDEX; Schema: public; Owner: -
|
|
3536
3543
|
--
|
|
3537
3544
|
|
|
3538
3545
|
CREATE INDEX index_module_details_on_mtype ON module_details USING btree (mtype);
|
|
3539
3546
|
|
|
3540
3547
|
|
|
3541
3548
|
--
|
|
3542
|
-
-- Name: index_module_details_on_name; Type: INDEX; Schema: public; Owner:
|
|
3549
|
+
-- Name: index_module_details_on_name; Type: INDEX; Schema: public; Owner: -
|
|
3543
3550
|
--
|
|
3544
3551
|
|
|
3545
3552
|
CREATE INDEX index_module_details_on_name ON module_details USING btree (name);
|
|
3546
3553
|
|
|
3547
3554
|
|
|
3548
3555
|
--
|
|
3549
|
-
-- Name: index_module_details_on_refname; Type: INDEX; Schema: public; Owner:
|
|
3556
|
+
-- Name: index_module_details_on_refname; Type: INDEX; Schema: public; Owner: -
|
|
3550
3557
|
--
|
|
3551
3558
|
|
|
3552
3559
|
CREATE INDEX index_module_details_on_refname ON module_details USING btree (refname);
|
|
3553
3560
|
|
|
3554
3561
|
|
|
3555
3562
|
--
|
|
3556
|
-
-- Name: index_module_mixins_on_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3563
|
+
-- Name: index_module_mixins_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3557
3564
|
--
|
|
3558
3565
|
|
|
3559
3566
|
CREATE INDEX index_module_mixins_on_detail_id ON module_mixins USING btree (detail_id);
|
|
3560
3567
|
|
|
3561
3568
|
|
|
3562
3569
|
--
|
|
3563
|
-
-- Name: index_module_platforms_on_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3570
|
+
-- Name: index_module_platforms_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3564
3571
|
--
|
|
3565
3572
|
|
|
3566
3573
|
CREATE INDEX index_module_platforms_on_detail_id ON module_platforms USING btree (detail_id);
|
|
3567
3574
|
|
|
3568
3575
|
|
|
3569
3576
|
--
|
|
3570
|
-
-- Name: index_module_refs_on_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3577
|
+
-- Name: index_module_refs_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3571
3578
|
--
|
|
3572
3579
|
|
|
3573
3580
|
CREATE INDEX index_module_refs_on_detail_id ON module_refs USING btree (detail_id);
|
|
3574
3581
|
|
|
3575
3582
|
|
|
3576
3583
|
--
|
|
3577
|
-
-- Name: index_module_refs_on_name; Type: INDEX; Schema: public; Owner:
|
|
3584
|
+
-- Name: index_module_refs_on_name; Type: INDEX; Schema: public; Owner: -
|
|
3578
3585
|
--
|
|
3579
3586
|
|
|
3580
3587
|
CREATE INDEX index_module_refs_on_name ON module_refs USING btree (name);
|
|
3581
3588
|
|
|
3582
3589
|
|
|
3583
3590
|
--
|
|
3584
|
-
-- Name: index_module_runs_on_session_id; Type: INDEX; Schema: public; Owner:
|
|
3591
|
+
-- Name: index_module_runs_on_session_id; Type: INDEX; Schema: public; Owner: -
|
|
3585
3592
|
--
|
|
3586
3593
|
|
|
3587
3594
|
CREATE INDEX index_module_runs_on_session_id ON module_runs USING btree (session_id);
|
|
3588
3595
|
|
|
3589
3596
|
|
|
3590
3597
|
--
|
|
3591
|
-
-- Name: index_module_runs_on_user_id; Type: INDEX; Schema: public; Owner:
|
|
3598
|
+
-- Name: index_module_runs_on_user_id; Type: INDEX; Schema: public; Owner: -
|
|
3592
3599
|
--
|
|
3593
3600
|
|
|
3594
3601
|
CREATE INDEX index_module_runs_on_user_id ON module_runs USING btree (user_id);
|
|
3595
3602
|
|
|
3596
3603
|
|
|
3597
3604
|
--
|
|
3598
|
-
-- Name: index_module_targets_on_detail_id; Type: INDEX; Schema: public; Owner:
|
|
3605
|
+
-- Name: index_module_targets_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
|
3599
3606
|
--
|
|
3600
3607
|
|
|
3601
3608
|
CREATE INDEX index_module_targets_on_detail_id ON module_targets USING btree (detail_id);
|
|
3602
3609
|
|
|
3603
3610
|
|
|
3604
3611
|
--
|
|
3605
|
-
-- Name: index_notes_on_ntype; Type: INDEX; Schema: public; Owner:
|
|
3612
|
+
-- Name: index_notes_on_ntype; Type: INDEX; Schema: public; Owner: -
|
|
3606
3613
|
--
|
|
3607
3614
|
|
|
3608
3615
|
CREATE INDEX index_notes_on_ntype ON notes USING btree (ntype);
|
|
3609
3616
|
|
|
3610
3617
|
|
|
3611
3618
|
--
|
|
3612
|
-
-- Name: index_notes_on_vuln_id; Type: INDEX; Schema: public; Owner:
|
|
3619
|
+
-- Name: index_notes_on_vuln_id; Type: INDEX; Schema: public; Owner: -
|
|
3613
3620
|
--
|
|
3614
3621
|
|
|
3615
3622
|
CREATE INDEX index_notes_on_vuln_id ON notes USING btree (vuln_id);
|
|
3616
3623
|
|
|
3617
3624
|
|
|
3618
3625
|
--
|
|
3619
|
-
-- Name: index_refs_on_name; Type: INDEX; Schema: public; Owner:
|
|
3626
|
+
-- Name: index_refs_on_name; Type: INDEX; Schema: public; Owner: -
|
|
3620
3627
|
--
|
|
3621
3628
|
|
|
3622
3629
|
CREATE INDEX index_refs_on_name ON refs USING btree (name);
|
|
3623
3630
|
|
|
3624
3631
|
|
|
3625
3632
|
--
|
|
3626
|
-
-- Name: index_services_on_host_id_and_port_and_proto; Type: INDEX; Schema: public; Owner:
|
|
3633
|
+
-- Name: index_services_on_host_id_and_port_and_proto; Type: INDEX; Schema: public; Owner: -
|
|
3627
3634
|
--
|
|
3628
3635
|
|
|
3629
3636
|
CREATE UNIQUE INDEX index_services_on_host_id_and_port_and_proto ON services USING btree (host_id, port, proto);
|
|
3630
3637
|
|
|
3631
3638
|
|
|
3632
3639
|
--
|
|
3633
|
-
-- Name: index_services_on_name; Type: INDEX; Schema: public; Owner:
|
|
3640
|
+
-- Name: index_services_on_name; Type: INDEX; Schema: public; Owner: -
|
|
3634
3641
|
--
|
|
3635
3642
|
|
|
3636
3643
|
CREATE INDEX index_services_on_name ON services USING btree (name);
|
|
3637
3644
|
|
|
3638
3645
|
|
|
3639
3646
|
--
|
|
3640
|
-
-- Name: index_services_on_port; Type: INDEX; Schema: public; Owner:
|
|
3647
|
+
-- Name: index_services_on_port; Type: INDEX; Schema: public; Owner: -
|
|
3641
3648
|
--
|
|
3642
3649
|
|
|
3643
3650
|
CREATE INDEX index_services_on_port ON services USING btree (port);
|
|
3644
3651
|
|
|
3645
3652
|
|
|
3646
3653
|
--
|
|
3647
|
-
-- Name: index_services_on_proto; Type: INDEX; Schema: public; Owner:
|
|
3654
|
+
-- Name: index_services_on_proto; Type: INDEX; Schema: public; Owner: -
|
|
3648
3655
|
--
|
|
3649
3656
|
|
|
3650
3657
|
CREATE INDEX index_services_on_proto ON services USING btree (proto);
|
|
3651
3658
|
|
|
3652
3659
|
|
|
3653
3660
|
--
|
|
3654
|
-
-- Name: index_services_on_state; Type: INDEX; Schema: public; Owner:
|
|
3661
|
+
-- Name: index_services_on_state; Type: INDEX; Schema: public; Owner: -
|
|
3655
3662
|
--
|
|
3656
3663
|
|
|
3657
3664
|
CREATE INDEX index_services_on_state ON services USING btree (state);
|
|
3658
3665
|
|
|
3659
3666
|
|
|
3660
3667
|
--
|
|
3661
|
-
-- Name: index_sessions_on_module_run_id; Type: INDEX; Schema: public; Owner:
|
|
3668
|
+
-- Name: index_sessions_on_module_run_id; Type: INDEX; Schema: public; Owner: -
|
|
3662
3669
|
--
|
|
3663
3670
|
|
|
3664
3671
|
CREATE INDEX index_sessions_on_module_run_id ON sessions USING btree (module_run_id);
|
|
3665
3672
|
|
|
3666
3673
|
|
|
3667
3674
|
--
|
|
3668
|
-
-- Name: index_vulns_on_name; Type: INDEX; Schema: public; Owner:
|
|
3675
|
+
-- Name: index_vulns_on_name; Type: INDEX; Schema: public; Owner: -
|
|
3669
3676
|
--
|
|
3670
3677
|
|
|
3671
3678
|
CREATE INDEX index_vulns_on_name ON vulns USING btree (name);
|
|
3672
3679
|
|
|
3673
3680
|
|
|
3674
3681
|
--
|
|
3675
|
-
-- Name: index_vulns_on_origin_id; Type: INDEX; Schema: public; Owner:
|
|
3682
|
+
-- Name: index_vulns_on_origin_id; Type: INDEX; Schema: public; Owner: -
|
|
3676
3683
|
--
|
|
3677
3684
|
|
|
3678
3685
|
CREATE INDEX index_vulns_on_origin_id ON vulns USING btree (origin_id);
|
|
3679
3686
|
|
|
3680
3687
|
|
|
3681
3688
|
--
|
|
3682
|
-
-- Name: index_web_forms_on_path; Type: INDEX; Schema: public; Owner:
|
|
3689
|
+
-- Name: index_web_forms_on_path; Type: INDEX; Schema: public; Owner: -
|
|
3683
3690
|
--
|
|
3684
3691
|
|
|
3685
3692
|
CREATE INDEX index_web_forms_on_path ON web_forms USING btree (path);
|
|
3686
3693
|
|
|
3687
3694
|
|
|
3688
3695
|
--
|
|
3689
|
-
-- Name: index_web_pages_on_path; Type: INDEX; Schema: public; Owner:
|
|
3696
|
+
-- Name: index_web_pages_on_path; Type: INDEX; Schema: public; Owner: -
|
|
3690
3697
|
--
|
|
3691
3698
|
|
|
3692
3699
|
CREATE INDEX index_web_pages_on_path ON web_pages USING btree (path);
|
|
3693
3700
|
|
|
3694
3701
|
|
|
3695
3702
|
--
|
|
3696
|
-
-- Name: index_web_pages_on_query; Type: INDEX; Schema: public; Owner:
|
|
3703
|
+
-- Name: index_web_pages_on_query; Type: INDEX; Schema: public; Owner: -
|
|
3697
3704
|
--
|
|
3698
3705
|
|
|
3699
3706
|
CREATE INDEX index_web_pages_on_query ON web_pages USING btree (query);
|
|
3700
3707
|
|
|
3701
3708
|
|
|
3702
3709
|
--
|
|
3703
|
-
-- Name: index_web_sites_on_comments; Type: INDEX; Schema: public; Owner:
|
|
3710
|
+
-- Name: index_web_sites_on_comments; Type: INDEX; Schema: public; Owner: -
|
|
3704
3711
|
--
|
|
3705
3712
|
|
|
3706
3713
|
CREATE INDEX index_web_sites_on_comments ON web_sites USING btree (comments);
|
|
3707
3714
|
|
|
3708
3715
|
|
|
3709
3716
|
--
|
|
3710
|
-
-- Name: index_web_sites_on_options; Type: INDEX; Schema: public; Owner:
|
|
3717
|
+
-- Name: index_web_sites_on_options; Type: INDEX; Schema: public; Owner: -
|
|
3711
3718
|
--
|
|
3712
3719
|
|
|
3713
3720
|
CREATE INDEX index_web_sites_on_options ON web_sites USING btree (options);
|
|
3714
3721
|
|
|
3715
3722
|
|
|
3716
3723
|
--
|
|
3717
|
-
-- Name: index_web_sites_on_vhost; Type: INDEX; Schema: public; Owner:
|
|
3724
|
+
-- Name: index_web_sites_on_vhost; Type: INDEX; Schema: public; Owner: -
|
|
3718
3725
|
--
|
|
3719
3726
|
|
|
3720
3727
|
CREATE INDEX index_web_sites_on_vhost ON web_sites USING btree (vhost);
|
|
3721
3728
|
|
|
3722
3729
|
|
|
3723
3730
|
--
|
|
3724
|
-
-- Name: index_web_vulns_on_method; Type: INDEX; Schema: public; Owner:
|
|
3731
|
+
-- Name: index_web_vulns_on_method; Type: INDEX; Schema: public; Owner: -
|
|
3725
3732
|
--
|
|
3726
3733
|
|
|
3727
3734
|
CREATE INDEX index_web_vulns_on_method ON web_vulns USING btree (method);
|
|
3728
3735
|
|
|
3729
3736
|
|
|
3730
3737
|
--
|
|
3731
|
-
-- Name: index_web_vulns_on_name; Type: INDEX; Schema: public; Owner:
|
|
3738
|
+
-- Name: index_web_vulns_on_name; Type: INDEX; Schema: public; Owner: -
|
|
3732
3739
|
--
|
|
3733
3740
|
|
|
3734
3741
|
CREATE INDEX index_web_vulns_on_name ON web_vulns USING btree (name);
|
|
3735
3742
|
|
|
3736
3743
|
|
|
3737
3744
|
--
|
|
3738
|
-
-- Name: index_web_vulns_on_path; Type: INDEX; Schema: public; Owner:
|
|
3745
|
+
-- Name: index_web_vulns_on_path; Type: INDEX; Schema: public; Owner: -
|
|
3739
3746
|
--
|
|
3740
3747
|
|
|
3741
3748
|
CREATE INDEX index_web_vulns_on_path ON web_vulns USING btree (path);
|
|
3742
3749
|
|
|
3743
3750
|
|
|
3744
3751
|
--
|
|
3745
|
-
-- Name: originating_credential_cores; Type: INDEX; Schema: public; Owner:
|
|
3752
|
+
-- Name: originating_credential_cores; Type: INDEX; Schema: public; Owner: -
|
|
3746
3753
|
--
|
|
3747
3754
|
|
|
3748
3755
|
CREATE INDEX originating_credential_cores ON metasploit_credential_origin_cracked_passwords USING btree (metasploit_credential_core_id);
|
|
3749
3756
|
|
|
3750
3757
|
|
|
3751
3758
|
--
|
|
3752
|
-
-- Name: unique_complete_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
|
3759
|
+
-- Name: unique_complete_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
|
3753
3760
|
--
|
|
3754
3761
|
|
|
3755
|
-
CREATE UNIQUE INDEX unique_complete_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id, private_id) WHERE ((
|
|
3762
|
+
CREATE UNIQUE INDEX unique_complete_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id, private_id) WHERE ((realm_id IS NOT NULL) AND (public_id IS NOT NULL) AND (private_id IS NOT NULL));
|
|
3756
3763
|
|
|
3757
3764
|
|
|
3758
3765
|
--
|
|
3759
|
-
-- Name: unique_metasploit_credential_origin_services; Type: INDEX; Schema: public; Owner:
|
|
3766
|
+
-- Name: unique_metasploit_credential_origin_services; Type: INDEX; Schema: public; Owner: -
|
|
3760
3767
|
--
|
|
3761
3768
|
|
|
3762
3769
|
CREATE UNIQUE INDEX unique_metasploit_credential_origin_services ON metasploit_credential_origin_services USING btree (service_id, module_full_name);
|
|
3763
3770
|
|
|
3764
3771
|
|
|
3765
3772
|
--
|
|
3766
|
-
-- Name: unique_metasploit_credential_origin_sessions; Type: INDEX; Schema: public; Owner:
|
|
3773
|
+
-- Name: unique_metasploit_credential_origin_sessions; Type: INDEX; Schema: public; Owner: -
|
|
3767
3774
|
--
|
|
3768
3775
|
|
|
3769
3776
|
CREATE UNIQUE INDEX unique_metasploit_credential_origin_sessions ON metasploit_credential_origin_sessions USING btree (session_id, post_reference_name);
|
|
3770
3777
|
|
|
3771
3778
|
|
|
3772
3779
|
--
|
|
3773
|
-
-- Name: unique_private_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
|
3780
|
+
-- Name: unique_private_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
|
3774
3781
|
--
|
|
3775
3782
|
|
|
3776
|
-
CREATE UNIQUE INDEX unique_private_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, private_id) WHERE ((
|
|
3783
|
+
CREATE UNIQUE INDEX unique_private_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, private_id) WHERE ((realm_id IS NULL) AND (public_id IS NULL) AND (private_id IS NOT NULL));
|
|
3777
3784
|
|
|
3778
3785
|
|
|
3779
3786
|
--
|
|
3780
|
-
-- Name: unique_privateless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
|
3787
|
+
-- Name: unique_privateless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
|
3781
3788
|
--
|
|
3782
3789
|
|
|
3783
|
-
CREATE UNIQUE INDEX unique_privateless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id) WHERE ((
|
|
3790
|
+
CREATE UNIQUE INDEX unique_privateless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id) WHERE ((realm_id IS NOT NULL) AND (public_id IS NOT NULL) AND (private_id IS NULL));
|
|
3784
3791
|
|
|
3785
3792
|
|
|
3786
3793
|
--
|
|
3787
|
-
-- Name: unique_public_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
|
3794
|
+
-- Name: unique_public_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
|
3788
3795
|
--
|
|
3789
3796
|
|
|
3790
|
-
CREATE UNIQUE INDEX unique_public_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id) WHERE ((
|
|
3797
|
+
CREATE UNIQUE INDEX unique_public_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id) WHERE ((realm_id IS NULL) AND (public_id IS NOT NULL) AND (private_id IS NULL));
|
|
3791
3798
|
|
|
3792
3799
|
|
|
3793
3800
|
--
|
|
3794
|
-
-- Name: unique_publicless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
|
3801
|
+
-- Name: unique_publicless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
|
3795
3802
|
--
|
|
3796
3803
|
|
|
3797
|
-
CREATE UNIQUE INDEX unique_publicless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, private_id) WHERE ((
|
|
3804
|
+
CREATE UNIQUE INDEX unique_publicless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, private_id) WHERE ((realm_id IS NOT NULL) AND (public_id IS NULL) AND (private_id IS NOT NULL));
|
|
3798
3805
|
|
|
3799
3806
|
|
|
3800
3807
|
--
|
|
3801
|
-
-- Name: unique_realmless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
|
3808
|
+
-- Name: unique_realmless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
|
3802
3809
|
--
|
|
3803
3810
|
|
|
3804
|
-
CREATE UNIQUE INDEX unique_realmless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id, private_id) WHERE ((
|
|
3811
|
+
CREATE UNIQUE INDEX unique_realmless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id, private_id) WHERE ((realm_id IS NULL) AND (public_id IS NOT NULL) AND (private_id IS NOT NULL));
|
|
3805
3812
|
|
|
3806
3813
|
|
|
3807
3814
|
--
|
|
3808
|
-
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner:
|
|
3815
|
+
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -
|
|
3809
3816
|
--
|
|
3810
3817
|
|
|
3811
3818
|
CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
|
|
@@ -3815,7 +3822,7 @@ CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (v
|
|
|
3815
3822
|
-- PostgreSQL database dump complete
|
|
3816
3823
|
--
|
|
3817
3824
|
|
|
3818
|
-
SET search_path TO "$user",public;
|
|
3825
|
+
SET search_path TO "$user", public;
|
|
3819
3826
|
|
|
3820
3827
|
INSERT INTO schema_migrations (version) VALUES ('0');
|
|
3821
3828
|
|
|
@@ -4085,10 +4092,14 @@ INSERT INTO schema_migrations (version) VALUES ('20150514182921');
|
|
|
4085
4092
|
|
|
4086
4093
|
INSERT INTO schema_migrations (version) VALUES ('20160415153312');
|
|
4087
4094
|
|
|
4095
|
+
INSERT INTO schema_migrations (version) VALUES ('20161004165612');
|
|
4096
|
+
|
|
4088
4097
|
INSERT INTO schema_migrations (version) VALUES ('20161107153145');
|
|
4089
4098
|
|
|
4090
4099
|
INSERT INTO schema_migrations (version) VALUES ('20161107203710');
|
|
4091
4100
|
|
|
4101
|
+
INSERT INTO schema_migrations (version) VALUES ('20161227212223');
|
|
4102
|
+
|
|
4092
4103
|
INSERT INTO schema_migrations (version) VALUES ('21');
|
|
4093
4104
|
|
|
4094
4105
|
INSERT INTO schema_migrations (version) VALUES ('22');
|