metasploit-credential 4.0.1 → 5.0.0
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 +1 -2
- data/README.md +2 -2
- data/lib/metasploit/credential/entity_relationship_diagram.rb +1 -1
- data/lib/metasploit/credential/exporter/pwdump.rb +1 -1
- data/lib/metasploit/credential/version.rb +1 -1
- data/spec/dummy/app/models/application_record.rb +2 -0
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/config/database.yml +2 -2
- data/spec/dummy/config/{database.yml.travis → database.yml.github_actions} +4 -5
- data/spec/dummy/db/structure.sql +953 -988
- data/spec/lib/metasploit/credential/creation_spec.rb +4 -12
- data/spec/lib/metasploit/credential/exporter/core_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -7
- metadata +25 -27
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08bb903e882eb19be8b2d846fcd9b82111cce0db770ad70cb6083d034c6a9680'
|
4
|
+
data.tar.gz: e0c2de705137d9405fdc5471c9ece711fa788851634cd00643f3001346ce35a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc93687882560a205bfd88c3c2c00c0b22298d2ee55aa72b5cc2d3ef1d69c10e86ec96e4d8eebd16ae6de14cb44ab477e09eff6b89ab9052cd2de3001651415e
|
7
|
+
data.tar.gz: 46c22f1eefe7f6939d8566d72c48b179956430b13b55270f2751e5a44e22728114e292c5844500e947aa09f0575b9f6a22a0f7942fc6ffc8d493894e567392e3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
�
|
2
|
-
�yԑ���?�Eq������Ȁ)��*���ϮZ��v!V���p�C���H�U���q�!ᖌ��-gP����>h�K4iS��|��iCt���-`Ϲ���p������q�-;z�˓n��>���lG����x���ڔpT���+�F�I�Ur�ٹ{5�� �љF,h�2��#�]����I��Υ'ޡ��x�=r̊� �ߙg�aLS$`���3j�]M������_�ۅu�ۧ�?�Pj�X��n
|
1
|
+
�*Ǽ�6���V(�Y��?��C]�i��iwҐ�W�?�.I
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Metasploit::Credential [](https://github.com/rapid7/metasploit-credential/actions/workflows/verify.yml)[](https://codeclimate.com/github/rapid7/metasploit-credential)[](https://gemnasium.com/rapid7/metasploit-credential)[](http://badge.fury.io/rb/metasploit-credential)[](http://inch-ci.org/github/rapid7/metasploit-credential)[](https://www.pullreview.com/github/rapid7/metasploit-credential/reviews/master)
|
2
2
|
|
3
3
|
## Versioning
|
4
4
|
|
@@ -98,7 +98,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
98
98
|
### Dependencies
|
99
99
|
|
100
100
|
Remove your `Gemfile.lock` so you test with the latest compatible dependencies as will be done on
|
101
|
-
[
|
101
|
+
[github actions](https://github.com/rapid7/metasploit-credential/actions/workflows/verify.yml)
|
102
102
|
|
103
103
|
rm Gemfile.lock
|
104
104
|
bundle install
|
@@ -125,7 +125,7 @@ module Metasploit::Credential::EntityRelationshipDiagram
|
|
125
125
|
# @return [Array<Set<Class<ApplicationRecord>>>]
|
126
126
|
def self.maximal_clusters
|
127
127
|
clusters = cluster_by_class.values
|
128
|
-
unique_clusters = clusters.
|
128
|
+
unique_clusters = clusters.uniq
|
129
129
|
|
130
130
|
maximal_clusters = unique_clusters.dup
|
131
131
|
cluster_queue = unique_clusters.dup
|
@@ -154,7 +154,7 @@ class Metasploit::Credential::Exporter::Pwdump
|
|
154
154
|
# @param hash_array [Array<Metasploit::Credential::Login>]
|
155
155
|
# @return [Fixnum]
|
156
156
|
def service_count_for_hashes(hash_array)
|
157
|
-
hash_array.collect(&:service).collect(&:id).
|
157
|
+
hash_array.collect(&:service).collect(&:id).uniq.size
|
158
158
|
end
|
159
159
|
|
160
160
|
private
|
@@ -1,6 +1,6 @@
|
|
1
1
|
development: &pgsql
|
2
2
|
adapter: postgresql
|
3
|
-
database: metasploit-
|
3
|
+
database: metasploit-credential_development2
|
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_test2
|
@@ -1,17 +1,16 @@
|
|
1
|
-
# @note This file is only for use in
|
1
|
+
# @note This file is only for use in github actions. If you need to make a `spec/dummy/config/database.yml` for running
|
2
2
|
# rake, rake spec, or rspec locally, please customize `spec/dummy/config/database.yml.example`.
|
3
3
|
#
|
4
4
|
# @example Customizing config/database.yml.example
|
5
5
|
# cp spec/dummy/config/database.yml.example spec/dummy/config/database.yml
|
6
6
|
# # update password fields for each environment's user
|
7
7
|
|
8
|
-
# Using the postgres user locally without a host and port is the supported configuration from Travis-CI
|
9
|
-
#
|
10
|
-
# @see http://about.travis-ci.org/docs/user/database-setup/#PostgreSQL
|
11
8
|
development: &pgsql
|
12
9
|
adapter: postgresql
|
13
10
|
database: metasploit_credential_development
|
11
|
+
host: localhost
|
14
12
|
username: postgres
|
13
|
+
password: postgres
|
15
14
|
pool: 5
|
16
15
|
timeout: 5
|
17
16
|
|
@@ -19,4 +18,4 @@ development: &pgsql
|
|
19
18
|
# `rake`. Do not set this db to the same as development or production.
|
20
19
|
test:
|
21
20
|
<<: *pgsql
|
22
|
-
database: metasploit_credential_test
|
21
|
+
database: metasploit_credential_test
|
data/spec/dummy/db/structure.sql
CHANGED
@@ -1,51 +1,80 @@
|
|
1
|
-
--
|
2
|
-
-- PostgreSQL database dump
|
3
|
-
--
|
4
|
-
|
5
1
|
SET statement_timeout = 0;
|
6
2
|
SET lock_timeout = 0;
|
3
|
+
SET idle_in_transaction_session_timeout = 0;
|
7
4
|
SET client_encoding = 'UTF8';
|
8
5
|
SET standard_conforming_strings = on;
|
6
|
+
SELECT pg_catalog.set_config('search_path', '', false);
|
9
7
|
SET check_function_bodies = false;
|
8
|
+
SET xmloption = content;
|
10
9
|
SET client_min_messages = warning;
|
10
|
+
SET row_security = off;
|
11
|
+
|
12
|
+
SET default_tablespace = '';
|
11
13
|
|
12
14
|
--
|
13
|
-
-- Name:
|
15
|
+
-- Name: api_keys; Type: TABLE; Schema: public; Owner: -
|
14
16
|
--
|
15
17
|
|
16
|
-
CREATE
|
18
|
+
CREATE TABLE public.api_keys (
|
19
|
+
id integer NOT NULL,
|
20
|
+
token text,
|
21
|
+
created_at timestamp without time zone NOT NULL,
|
22
|
+
updated_at timestamp without time zone NOT NULL
|
23
|
+
);
|
17
24
|
|
18
25
|
|
19
26
|
--
|
20
|
-
-- Name:
|
27
|
+
-- Name: api_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
21
28
|
--
|
22
29
|
|
23
|
-
|
30
|
+
CREATE SEQUENCE public.api_keys_id_seq
|
31
|
+
START WITH 1
|
32
|
+
INCREMENT BY 1
|
33
|
+
NO MINVALUE
|
34
|
+
NO MAXVALUE
|
35
|
+
CACHE 1;
|
24
36
|
|
25
37
|
|
26
|
-
|
38
|
+
--
|
39
|
+
-- Name: api_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
40
|
+
--
|
27
41
|
|
28
|
-
|
42
|
+
ALTER SEQUENCE public.api_keys_id_seq OWNED BY public.api_keys.id;
|
29
43
|
|
30
|
-
SET default_with_oids = false;
|
31
44
|
|
32
45
|
--
|
33
|
-
-- Name:
|
46
|
+
-- Name: ar_internal_metadata; Type: TABLE; Schema: public; Owner: -
|
34
47
|
--
|
35
48
|
|
36
|
-
CREATE TABLE
|
49
|
+
CREATE TABLE public.ar_internal_metadata (
|
50
|
+
key character varying NOT NULL,
|
51
|
+
value character varying,
|
52
|
+
created_at timestamp(6) without time zone NOT NULL,
|
53
|
+
updated_at timestamp(6) without time zone NOT NULL
|
54
|
+
);
|
55
|
+
|
56
|
+
|
57
|
+
--
|
58
|
+
-- Name: async_callbacks; Type: TABLE; Schema: public; Owner: -
|
59
|
+
--
|
60
|
+
|
61
|
+
CREATE TABLE public.async_callbacks (
|
37
62
|
id integer NOT NULL,
|
38
|
-
|
63
|
+
uuid character varying NOT NULL,
|
64
|
+
"timestamp" integer NOT NULL,
|
65
|
+
listener_uri character varying,
|
66
|
+
target_host character varying,
|
67
|
+
target_port character varying,
|
39
68
|
created_at timestamp without time zone NOT NULL,
|
40
69
|
updated_at timestamp without time zone NOT NULL
|
41
70
|
);
|
42
71
|
|
43
72
|
|
44
73
|
--
|
45
|
-
-- Name:
|
74
|
+
-- Name: async_callbacks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
46
75
|
--
|
47
76
|
|
48
|
-
CREATE SEQUENCE
|
77
|
+
CREATE SEQUENCE public.async_callbacks_id_seq
|
49
78
|
START WITH 1
|
50
79
|
INCREMENT BY 1
|
51
80
|
NO MINVALUE
|
@@ -54,17 +83,17 @@ CREATE SEQUENCE api_keys_id_seq
|
|
54
83
|
|
55
84
|
|
56
85
|
--
|
57
|
-
-- Name:
|
86
|
+
-- Name: async_callbacks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
58
87
|
--
|
59
88
|
|
60
|
-
ALTER SEQUENCE
|
89
|
+
ALTER SEQUENCE public.async_callbacks_id_seq OWNED BY public.async_callbacks.id;
|
61
90
|
|
62
91
|
|
63
92
|
--
|
64
|
-
-- Name: automatic_exploitation_match_results; Type: TABLE; Schema: public; Owner:
|
93
|
+
-- Name: automatic_exploitation_match_results; Type: TABLE; Schema: public; Owner: -
|
65
94
|
--
|
66
95
|
|
67
|
-
CREATE TABLE automatic_exploitation_match_results (
|
96
|
+
CREATE TABLE public.automatic_exploitation_match_results (
|
68
97
|
id integer NOT NULL,
|
69
98
|
match_id integer,
|
70
99
|
run_id integer,
|
@@ -78,7 +107,7 @@ CREATE TABLE automatic_exploitation_match_results (
|
|
78
107
|
-- Name: automatic_exploitation_match_results_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
79
108
|
--
|
80
109
|
|
81
|
-
CREATE SEQUENCE automatic_exploitation_match_results_id_seq
|
110
|
+
CREATE SEQUENCE public.automatic_exploitation_match_results_id_seq
|
82
111
|
START WITH 1
|
83
112
|
INCREMENT BY 1
|
84
113
|
NO MINVALUE
|
@@ -90,14 +119,14 @@ CREATE SEQUENCE automatic_exploitation_match_results_id_seq
|
|
90
119
|
-- Name: automatic_exploitation_match_results_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
91
120
|
--
|
92
121
|
|
93
|
-
ALTER SEQUENCE automatic_exploitation_match_results_id_seq OWNED BY automatic_exploitation_match_results.id;
|
122
|
+
ALTER SEQUENCE public.automatic_exploitation_match_results_id_seq OWNED BY public.automatic_exploitation_match_results.id;
|
94
123
|
|
95
124
|
|
96
125
|
--
|
97
|
-
-- Name: automatic_exploitation_match_sets; Type: TABLE; Schema: public; Owner:
|
126
|
+
-- Name: automatic_exploitation_match_sets; Type: TABLE; Schema: public; Owner: -
|
98
127
|
--
|
99
128
|
|
100
|
-
CREATE TABLE automatic_exploitation_match_sets (
|
129
|
+
CREATE TABLE public.automatic_exploitation_match_sets (
|
101
130
|
id integer NOT NULL,
|
102
131
|
workspace_id integer,
|
103
132
|
user_id integer,
|
@@ -110,7 +139,7 @@ CREATE TABLE automatic_exploitation_match_sets (
|
|
110
139
|
-- Name: automatic_exploitation_match_sets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
111
140
|
--
|
112
141
|
|
113
|
-
CREATE SEQUENCE automatic_exploitation_match_sets_id_seq
|
142
|
+
CREATE SEQUENCE public.automatic_exploitation_match_sets_id_seq
|
114
143
|
START WITH 1
|
115
144
|
INCREMENT BY 1
|
116
145
|
NO MINVALUE
|
@@ -122,14 +151,14 @@ CREATE SEQUENCE automatic_exploitation_match_sets_id_seq
|
|
122
151
|
-- Name: automatic_exploitation_match_sets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
123
152
|
--
|
124
153
|
|
125
|
-
ALTER SEQUENCE automatic_exploitation_match_sets_id_seq OWNED BY automatic_exploitation_match_sets.id;
|
154
|
+
ALTER SEQUENCE public.automatic_exploitation_match_sets_id_seq OWNED BY public.automatic_exploitation_match_sets.id;
|
126
155
|
|
127
156
|
|
128
157
|
--
|
129
|
-
-- Name: automatic_exploitation_matches; Type: TABLE; Schema: public; Owner:
|
158
|
+
-- Name: automatic_exploitation_matches; Type: TABLE; Schema: public; Owner: -
|
130
159
|
--
|
131
160
|
|
132
|
-
CREATE TABLE automatic_exploitation_matches (
|
161
|
+
CREATE TABLE public.automatic_exploitation_matches (
|
133
162
|
id integer NOT NULL,
|
134
163
|
module_detail_id integer,
|
135
164
|
state character varying,
|
@@ -147,7 +176,7 @@ CREATE TABLE automatic_exploitation_matches (
|
|
147
176
|
-- Name: automatic_exploitation_matches_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
148
177
|
--
|
149
178
|
|
150
|
-
CREATE SEQUENCE automatic_exploitation_matches_id_seq
|
179
|
+
CREATE SEQUENCE public.automatic_exploitation_matches_id_seq
|
151
180
|
START WITH 1
|
152
181
|
INCREMENT BY 1
|
153
182
|
NO MINVALUE
|
@@ -159,14 +188,14 @@ CREATE SEQUENCE automatic_exploitation_matches_id_seq
|
|
159
188
|
-- Name: automatic_exploitation_matches_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
160
189
|
--
|
161
190
|
|
162
|
-
ALTER SEQUENCE automatic_exploitation_matches_id_seq OWNED BY automatic_exploitation_matches.id;
|
191
|
+
ALTER SEQUENCE public.automatic_exploitation_matches_id_seq OWNED BY public.automatic_exploitation_matches.id;
|
163
192
|
|
164
193
|
|
165
194
|
--
|
166
|
-
-- Name: automatic_exploitation_runs; Type: TABLE; Schema: public; Owner:
|
195
|
+
-- Name: automatic_exploitation_runs; Type: TABLE; Schema: public; Owner: -
|
167
196
|
--
|
168
197
|
|
169
|
-
CREATE TABLE automatic_exploitation_runs (
|
198
|
+
CREATE TABLE public.automatic_exploitation_runs (
|
170
199
|
id integer NOT NULL,
|
171
200
|
workspace_id integer,
|
172
201
|
user_id integer,
|
@@ -180,7 +209,7 @@ CREATE TABLE automatic_exploitation_runs (
|
|
180
209
|
-- Name: automatic_exploitation_runs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
181
210
|
--
|
182
211
|
|
183
|
-
CREATE SEQUENCE automatic_exploitation_runs_id_seq
|
212
|
+
CREATE SEQUENCE public.automatic_exploitation_runs_id_seq
|
184
213
|
START WITH 1
|
185
214
|
INCREMENT BY 1
|
186
215
|
NO MINVALUE
|
@@ -192,14 +221,14 @@ CREATE SEQUENCE automatic_exploitation_runs_id_seq
|
|
192
221
|
-- Name: automatic_exploitation_runs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
193
222
|
--
|
194
223
|
|
195
|
-
ALTER SEQUENCE automatic_exploitation_runs_id_seq OWNED BY automatic_exploitation_runs.id;
|
224
|
+
ALTER SEQUENCE public.automatic_exploitation_runs_id_seq OWNED BY public.automatic_exploitation_runs.id;
|
196
225
|
|
197
226
|
|
198
227
|
--
|
199
|
-
-- Name: clients; Type: TABLE; Schema: public; Owner:
|
228
|
+
-- Name: clients; Type: TABLE; Schema: public; Owner: -
|
200
229
|
--
|
201
230
|
|
202
|
-
CREATE TABLE clients (
|
231
|
+
CREATE TABLE public.clients (
|
203
232
|
id integer NOT NULL,
|
204
233
|
host_id integer,
|
205
234
|
created_at timestamp without time zone,
|
@@ -214,7 +243,7 @@ CREATE TABLE clients (
|
|
214
243
|
-- Name: clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
215
244
|
--
|
216
245
|
|
217
|
-
CREATE SEQUENCE clients_id_seq
|
246
|
+
CREATE SEQUENCE public.clients_id_seq
|
218
247
|
START WITH 1
|
219
248
|
INCREMENT BY 1
|
220
249
|
NO MINVALUE
|
@@ -226,34 +255,34 @@ CREATE SEQUENCE clients_id_seq
|
|
226
255
|
-- Name: clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
227
256
|
--
|
228
257
|
|
229
|
-
ALTER SEQUENCE clients_id_seq OWNED BY clients.id;
|
258
|
+
ALTER SEQUENCE public.clients_id_seq OWNED BY public.clients.id;
|
230
259
|
|
231
260
|
|
232
261
|
--
|
233
|
-
-- Name: credential_cores_tasks; Type: TABLE; Schema: public; Owner:
|
262
|
+
-- Name: credential_cores_tasks; Type: TABLE; Schema: public; Owner: -
|
234
263
|
--
|
235
264
|
|
236
|
-
CREATE TABLE credential_cores_tasks (
|
265
|
+
CREATE TABLE public.credential_cores_tasks (
|
237
266
|
core_id integer,
|
238
267
|
task_id integer
|
239
268
|
);
|
240
269
|
|
241
270
|
|
242
271
|
--
|
243
|
-
-- Name: credential_logins_tasks; Type: TABLE; Schema: public; Owner:
|
272
|
+
-- Name: credential_logins_tasks; Type: TABLE; Schema: public; Owner: -
|
244
273
|
--
|
245
274
|
|
246
|
-
CREATE TABLE credential_logins_tasks (
|
275
|
+
CREATE TABLE public.credential_logins_tasks (
|
247
276
|
login_id integer,
|
248
277
|
task_id integer
|
249
278
|
);
|
250
279
|
|
251
280
|
|
252
281
|
--
|
253
|
-
-- Name: creds; Type: TABLE; Schema: public; Owner:
|
282
|
+
-- Name: creds; Type: TABLE; Schema: public; Owner: -
|
254
283
|
--
|
255
284
|
|
256
|
-
CREATE TABLE creds (
|
285
|
+
CREATE TABLE public.creds (
|
257
286
|
id integer NOT NULL,
|
258
287
|
service_id integer NOT NULL,
|
259
288
|
created_at timestamp without time zone NOT NULL,
|
@@ -272,7 +301,7 @@ CREATE TABLE creds (
|
|
272
301
|
-- Name: creds_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
273
302
|
--
|
274
303
|
|
275
|
-
CREATE SEQUENCE creds_id_seq
|
304
|
+
CREATE SEQUENCE public.creds_id_seq
|
276
305
|
START WITH 1
|
277
306
|
INCREMENT BY 1
|
278
307
|
NO MINVALUE
|
@@ -284,14 +313,14 @@ CREATE SEQUENCE creds_id_seq
|
|
284
313
|
-- Name: creds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
285
314
|
--
|
286
315
|
|
287
|
-
ALTER SEQUENCE creds_id_seq OWNED BY creds.id;
|
316
|
+
ALTER SEQUENCE public.creds_id_seq OWNED BY public.creds.id;
|
288
317
|
|
289
318
|
|
290
319
|
--
|
291
|
-
-- Name: events; Type: TABLE; Schema: public; Owner:
|
320
|
+
-- Name: events; Type: TABLE; Schema: public; Owner: -
|
292
321
|
--
|
293
322
|
|
294
|
-
CREATE TABLE events (
|
323
|
+
CREATE TABLE public.events (
|
295
324
|
id integer NOT NULL,
|
296
325
|
workspace_id integer,
|
297
326
|
host_id integer,
|
@@ -309,7 +338,7 @@ CREATE TABLE events (
|
|
309
338
|
-- Name: events_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
310
339
|
--
|
311
340
|
|
312
|
-
CREATE SEQUENCE events_id_seq
|
341
|
+
CREATE SEQUENCE public.events_id_seq
|
313
342
|
START WITH 1
|
314
343
|
INCREMENT BY 1
|
315
344
|
NO MINVALUE
|
@@ -321,14 +350,14 @@ CREATE SEQUENCE events_id_seq
|
|
321
350
|
-- Name: events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
322
351
|
--
|
323
352
|
|
324
|
-
ALTER SEQUENCE events_id_seq OWNED BY events.id;
|
353
|
+
ALTER SEQUENCE public.events_id_seq OWNED BY public.events.id;
|
325
354
|
|
326
355
|
|
327
356
|
--
|
328
|
-
-- Name: exploit_attempts; Type: TABLE; Schema: public; Owner:
|
357
|
+
-- Name: exploit_attempts; Type: TABLE; Schema: public; Owner: -
|
329
358
|
--
|
330
359
|
|
331
|
-
CREATE TABLE exploit_attempts (
|
360
|
+
CREATE TABLE public.exploit_attempts (
|
332
361
|
id integer NOT NULL,
|
333
362
|
host_id integer,
|
334
363
|
service_id integer,
|
@@ -350,7 +379,7 @@ CREATE TABLE exploit_attempts (
|
|
350
379
|
-- Name: exploit_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
351
380
|
--
|
352
381
|
|
353
|
-
CREATE SEQUENCE exploit_attempts_id_seq
|
382
|
+
CREATE SEQUENCE public.exploit_attempts_id_seq
|
354
383
|
START WITH 1
|
355
384
|
INCREMENT BY 1
|
356
385
|
NO MINVALUE
|
@@ -362,14 +391,14 @@ CREATE SEQUENCE exploit_attempts_id_seq
|
|
362
391
|
-- Name: exploit_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
363
392
|
--
|
364
393
|
|
365
|
-
ALTER SEQUENCE exploit_attempts_id_seq OWNED BY exploit_attempts.id;
|
394
|
+
ALTER SEQUENCE public.exploit_attempts_id_seq OWNED BY public.exploit_attempts.id;
|
366
395
|
|
367
396
|
|
368
397
|
--
|
369
|
-
-- Name: exploited_hosts; Type: TABLE; Schema: public; Owner:
|
398
|
+
-- Name: exploited_hosts; Type: TABLE; Schema: public; Owner: -
|
370
399
|
--
|
371
400
|
|
372
|
-
CREATE TABLE exploited_hosts (
|
401
|
+
CREATE TABLE public.exploited_hosts (
|
373
402
|
id integer NOT NULL,
|
374
403
|
host_id integer NOT NULL,
|
375
404
|
service_id integer,
|
@@ -385,7 +414,7 @@ CREATE TABLE exploited_hosts (
|
|
385
414
|
-- Name: exploited_hosts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
386
415
|
--
|
387
416
|
|
388
|
-
CREATE SEQUENCE exploited_hosts_id_seq
|
417
|
+
CREATE SEQUENCE public.exploited_hosts_id_seq
|
389
418
|
START WITH 1
|
390
419
|
INCREMENT BY 1
|
391
420
|
NO MINVALUE
|
@@ -397,14 +426,14 @@ CREATE SEQUENCE exploited_hosts_id_seq
|
|
397
426
|
-- Name: exploited_hosts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
398
427
|
--
|
399
428
|
|
400
|
-
ALTER SEQUENCE exploited_hosts_id_seq OWNED BY exploited_hosts.id;
|
429
|
+
ALTER SEQUENCE public.exploited_hosts_id_seq OWNED BY public.exploited_hosts.id;
|
401
430
|
|
402
431
|
|
403
432
|
--
|
404
|
-
-- Name: host_details; Type: TABLE; Schema: public; Owner:
|
433
|
+
-- Name: host_details; Type: TABLE; Schema: public; Owner: -
|
405
434
|
--
|
406
435
|
|
407
|
-
CREATE TABLE host_details (
|
436
|
+
CREATE TABLE public.host_details (
|
408
437
|
id integer NOT NULL,
|
409
438
|
host_id integer,
|
410
439
|
nx_console_id integer,
|
@@ -421,7 +450,7 @@ CREATE TABLE host_details (
|
|
421
450
|
-- Name: host_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
422
451
|
--
|
423
452
|
|
424
|
-
CREATE SEQUENCE host_details_id_seq
|
453
|
+
CREATE SEQUENCE public.host_details_id_seq
|
425
454
|
START WITH 1
|
426
455
|
INCREMENT BY 1
|
427
456
|
NO MINVALUE
|
@@ -433,14 +462,14 @@ CREATE SEQUENCE host_details_id_seq
|
|
433
462
|
-- Name: host_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
434
463
|
--
|
435
464
|
|
436
|
-
ALTER SEQUENCE host_details_id_seq OWNED BY host_details.id;
|
465
|
+
ALTER SEQUENCE public.host_details_id_seq OWNED BY public.host_details.id;
|
437
466
|
|
438
467
|
|
439
468
|
--
|
440
|
-
-- Name: hosts; Type: TABLE; Schema: public; Owner:
|
469
|
+
-- Name: hosts; Type: TABLE; Schema: public; Owner: -
|
441
470
|
--
|
442
471
|
|
443
|
-
CREATE TABLE hosts (
|
472
|
+
CREATE TABLE public.hosts (
|
444
473
|
id integer NOT NULL,
|
445
474
|
created_at timestamp without time zone,
|
446
475
|
address inet NOT NULL,
|
@@ -475,7 +504,7 @@ CREATE TABLE hosts (
|
|
475
504
|
-- Name: hosts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
476
505
|
--
|
477
506
|
|
478
|
-
CREATE SEQUENCE hosts_id_seq
|
507
|
+
CREATE SEQUENCE public.hosts_id_seq
|
479
508
|
START WITH 1
|
480
509
|
INCREMENT BY 1
|
481
510
|
NO MINVALUE
|
@@ -487,14 +516,14 @@ CREATE SEQUENCE hosts_id_seq
|
|
487
516
|
-- Name: hosts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
488
517
|
--
|
489
518
|
|
490
|
-
ALTER SEQUENCE hosts_id_seq OWNED BY hosts.id;
|
519
|
+
ALTER SEQUENCE public.hosts_id_seq OWNED BY public.hosts.id;
|
491
520
|
|
492
521
|
|
493
522
|
--
|
494
|
-
-- Name: hosts_tags; Type: TABLE; Schema: public; Owner:
|
523
|
+
-- Name: hosts_tags; Type: TABLE; Schema: public; Owner: -
|
495
524
|
--
|
496
525
|
|
497
|
-
CREATE TABLE hosts_tags (
|
526
|
+
CREATE TABLE public.hosts_tags (
|
498
527
|
host_id integer,
|
499
528
|
tag_id integer,
|
500
529
|
id integer NOT NULL
|
@@ -505,7 +534,7 @@ CREATE TABLE hosts_tags (
|
|
505
534
|
-- Name: hosts_tags_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
506
535
|
--
|
507
536
|
|
508
|
-
CREATE SEQUENCE hosts_tags_id_seq
|
537
|
+
CREATE SEQUENCE public.hosts_tags_id_seq
|
509
538
|
START WITH 1
|
510
539
|
INCREMENT BY 1
|
511
540
|
NO MINVALUE
|
@@ -517,14 +546,14 @@ CREATE SEQUENCE hosts_tags_id_seq
|
|
517
546
|
-- Name: hosts_tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
518
547
|
--
|
519
548
|
|
520
|
-
ALTER SEQUENCE hosts_tags_id_seq OWNED BY hosts_tags.id;
|
549
|
+
ALTER SEQUENCE public.hosts_tags_id_seq OWNED BY public.hosts_tags.id;
|
521
550
|
|
522
551
|
|
523
552
|
--
|
524
|
-
-- Name: listeners; Type: TABLE; Schema: public; Owner:
|
553
|
+
-- Name: listeners; Type: TABLE; Schema: public; Owner: -
|
525
554
|
--
|
526
555
|
|
527
|
-
CREATE TABLE listeners (
|
556
|
+
CREATE TABLE public.listeners (
|
528
557
|
id integer NOT NULL,
|
529
558
|
created_at timestamp without time zone NOT NULL,
|
530
559
|
updated_at timestamp without time zone NOT NULL,
|
@@ -544,7 +573,7 @@ CREATE TABLE listeners (
|
|
544
573
|
-- Name: listeners_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
545
574
|
--
|
546
575
|
|
547
|
-
CREATE SEQUENCE listeners_id_seq
|
576
|
+
CREATE SEQUENCE public.listeners_id_seq
|
548
577
|
START WITH 1
|
549
578
|
INCREMENT BY 1
|
550
579
|
NO MINVALUE
|
@@ -556,14 +585,14 @@ CREATE SEQUENCE listeners_id_seq
|
|
556
585
|
-- Name: listeners_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
557
586
|
--
|
558
587
|
|
559
|
-
ALTER SEQUENCE listeners_id_seq OWNED BY listeners.id;
|
588
|
+
ALTER SEQUENCE public.listeners_id_seq OWNED BY public.listeners.id;
|
560
589
|
|
561
590
|
|
562
591
|
--
|
563
|
-
-- Name: loots; Type: TABLE; Schema: public; Owner:
|
592
|
+
-- Name: loots; Type: TABLE; Schema: public; Owner: -
|
564
593
|
--
|
565
594
|
|
566
|
-
CREATE TABLE loots (
|
595
|
+
CREATE TABLE public.loots (
|
567
596
|
id integer NOT NULL,
|
568
597
|
workspace_id integer DEFAULT 1 NOT NULL,
|
569
598
|
host_id integer,
|
@@ -584,7 +613,7 @@ CREATE TABLE loots (
|
|
584
613
|
-- Name: loots_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
585
614
|
--
|
586
615
|
|
587
|
-
CREATE SEQUENCE loots_id_seq
|
616
|
+
CREATE SEQUENCE public.loots_id_seq
|
588
617
|
START WITH 1
|
589
618
|
INCREMENT BY 1
|
590
619
|
NO MINVALUE
|
@@ -596,14 +625,14 @@ CREATE SEQUENCE loots_id_seq
|
|
596
625
|
-- Name: loots_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
597
626
|
--
|
598
627
|
|
599
|
-
ALTER SEQUENCE loots_id_seq OWNED BY loots.id;
|
628
|
+
ALTER SEQUENCE public.loots_id_seq OWNED BY public.loots.id;
|
600
629
|
|
601
630
|
|
602
631
|
--
|
603
|
-
-- Name: macros; Type: TABLE; Schema: public; Owner:
|
632
|
+
-- Name: macros; Type: TABLE; Schema: public; Owner: -
|
604
633
|
--
|
605
634
|
|
606
|
-
CREATE TABLE macros (
|
635
|
+
CREATE TABLE public.macros (
|
607
636
|
id integer NOT NULL,
|
608
637
|
created_at timestamp without time zone NOT NULL,
|
609
638
|
updated_at timestamp without time zone NOT NULL,
|
@@ -619,7 +648,7 @@ CREATE TABLE macros (
|
|
619
648
|
-- Name: macros_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
620
649
|
--
|
621
650
|
|
622
|
-
CREATE SEQUENCE macros_id_seq
|
651
|
+
CREATE SEQUENCE public.macros_id_seq
|
623
652
|
START WITH 1
|
624
653
|
INCREMENT BY 1
|
625
654
|
NO MINVALUE
|
@@ -631,17 +660,17 @@ CREATE SEQUENCE macros_id_seq
|
|
631
660
|
-- Name: macros_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
632
661
|
--
|
633
662
|
|
634
|
-
ALTER SEQUENCE macros_id_seq OWNED BY macros.id;
|
663
|
+
ALTER SEQUENCE public.macros_id_seq OWNED BY public.macros.id;
|
635
664
|
|
636
665
|
|
637
666
|
--
|
638
|
-
-- Name: metasploit_credential_cores; Type: TABLE; Schema: public; Owner:
|
667
|
+
-- Name: metasploit_credential_cores; Type: TABLE; Schema: public; Owner: -
|
639
668
|
--
|
640
669
|
|
641
|
-
CREATE TABLE metasploit_credential_cores (
|
670
|
+
CREATE TABLE public.metasploit_credential_cores (
|
642
671
|
id integer NOT NULL,
|
643
|
-
origin_id integer NOT NULL,
|
644
672
|
origin_type character varying NOT NULL,
|
673
|
+
origin_id integer NOT NULL,
|
645
674
|
private_id integer,
|
646
675
|
public_id integer,
|
647
676
|
realm_id integer,
|
@@ -656,7 +685,7 @@ CREATE TABLE metasploit_credential_cores (
|
|
656
685
|
-- Name: metasploit_credential_cores_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
657
686
|
--
|
658
687
|
|
659
|
-
CREATE SEQUENCE metasploit_credential_cores_id_seq
|
688
|
+
CREATE SEQUENCE public.metasploit_credential_cores_id_seq
|
660
689
|
START WITH 1
|
661
690
|
INCREMENT BY 1
|
662
691
|
NO MINVALUE
|
@@ -668,14 +697,14 @@ CREATE SEQUENCE metasploit_credential_cores_id_seq
|
|
668
697
|
-- Name: metasploit_credential_cores_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
669
698
|
--
|
670
699
|
|
671
|
-
ALTER SEQUENCE metasploit_credential_cores_id_seq OWNED BY metasploit_credential_cores.id;
|
700
|
+
ALTER SEQUENCE public.metasploit_credential_cores_id_seq OWNED BY public.metasploit_credential_cores.id;
|
672
701
|
|
673
702
|
|
674
703
|
--
|
675
|
-
-- Name: metasploit_credential_logins; Type: TABLE; Schema: public; Owner:
|
704
|
+
-- Name: metasploit_credential_logins; Type: TABLE; Schema: public; Owner: -
|
676
705
|
--
|
677
706
|
|
678
|
-
CREATE TABLE metasploit_credential_logins (
|
707
|
+
CREATE TABLE public.metasploit_credential_logins (
|
679
708
|
id integer NOT NULL,
|
680
709
|
core_id integer NOT NULL,
|
681
710
|
service_id integer NOT NULL,
|
@@ -691,7 +720,7 @@ CREATE TABLE metasploit_credential_logins (
|
|
691
720
|
-- Name: metasploit_credential_logins_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
692
721
|
--
|
693
722
|
|
694
|
-
CREATE SEQUENCE metasploit_credential_logins_id_seq
|
723
|
+
CREATE SEQUENCE public.metasploit_credential_logins_id_seq
|
695
724
|
START WITH 1
|
696
725
|
INCREMENT BY 1
|
697
726
|
NO MINVALUE
|
@@ -703,14 +732,14 @@ CREATE SEQUENCE metasploit_credential_logins_id_seq
|
|
703
732
|
-- Name: metasploit_credential_logins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
704
733
|
--
|
705
734
|
|
706
|
-
ALTER SEQUENCE metasploit_credential_logins_id_seq OWNED BY metasploit_credential_logins.id;
|
735
|
+
ALTER SEQUENCE public.metasploit_credential_logins_id_seq OWNED BY public.metasploit_credential_logins.id;
|
707
736
|
|
708
737
|
|
709
738
|
--
|
710
|
-
-- Name: metasploit_credential_origin_cracked_passwords; Type: TABLE; Schema: public; Owner:
|
739
|
+
-- Name: metasploit_credential_origin_cracked_passwords; Type: TABLE; Schema: public; Owner: -
|
711
740
|
--
|
712
741
|
|
713
|
-
CREATE TABLE metasploit_credential_origin_cracked_passwords (
|
742
|
+
CREATE TABLE public.metasploit_credential_origin_cracked_passwords (
|
714
743
|
id integer NOT NULL,
|
715
744
|
metasploit_credential_core_id integer NOT NULL,
|
716
745
|
created_at timestamp without time zone NOT NULL,
|
@@ -722,7 +751,7 @@ CREATE TABLE metasploit_credential_origin_cracked_passwords (
|
|
722
751
|
-- Name: metasploit_credential_origin_cracked_passwords_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
723
752
|
--
|
724
753
|
|
725
|
-
CREATE SEQUENCE metasploit_credential_origin_cracked_passwords_id_seq
|
754
|
+
CREATE SEQUENCE public.metasploit_credential_origin_cracked_passwords_id_seq
|
726
755
|
START WITH 1
|
727
756
|
INCREMENT BY 1
|
728
757
|
NO MINVALUE
|
@@ -734,14 +763,14 @@ CREATE SEQUENCE metasploit_credential_origin_cracked_passwords_id_seq
|
|
734
763
|
-- Name: metasploit_credential_origin_cracked_passwords_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
735
764
|
--
|
736
765
|
|
737
|
-
ALTER SEQUENCE metasploit_credential_origin_cracked_passwords_id_seq OWNED BY metasploit_credential_origin_cracked_passwords.id;
|
766
|
+
ALTER SEQUENCE public.metasploit_credential_origin_cracked_passwords_id_seq OWNED BY public.metasploit_credential_origin_cracked_passwords.id;
|
738
767
|
|
739
768
|
|
740
769
|
--
|
741
|
-
-- Name: metasploit_credential_origin_imports; Type: TABLE; Schema: public; Owner:
|
770
|
+
-- Name: metasploit_credential_origin_imports; Type: TABLE; Schema: public; Owner: -
|
742
771
|
--
|
743
772
|
|
744
|
-
CREATE TABLE metasploit_credential_origin_imports (
|
773
|
+
CREATE TABLE public.metasploit_credential_origin_imports (
|
745
774
|
id integer NOT NULL,
|
746
775
|
filename text NOT NULL,
|
747
776
|
task_id integer,
|
@@ -754,7 +783,7 @@ CREATE TABLE metasploit_credential_origin_imports (
|
|
754
783
|
-- Name: metasploit_credential_origin_imports_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
755
784
|
--
|
756
785
|
|
757
|
-
CREATE SEQUENCE metasploit_credential_origin_imports_id_seq
|
786
|
+
CREATE SEQUENCE public.metasploit_credential_origin_imports_id_seq
|
758
787
|
START WITH 1
|
759
788
|
INCREMENT BY 1
|
760
789
|
NO MINVALUE
|
@@ -766,14 +795,14 @@ CREATE SEQUENCE metasploit_credential_origin_imports_id_seq
|
|
766
795
|
-- Name: metasploit_credential_origin_imports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
767
796
|
--
|
768
797
|
|
769
|
-
ALTER SEQUENCE metasploit_credential_origin_imports_id_seq OWNED BY metasploit_credential_origin_imports.id;
|
798
|
+
ALTER SEQUENCE public.metasploit_credential_origin_imports_id_seq OWNED BY public.metasploit_credential_origin_imports.id;
|
770
799
|
|
771
800
|
|
772
801
|
--
|
773
|
-
-- Name: metasploit_credential_origin_manuals; Type: TABLE; Schema: public; Owner:
|
802
|
+
-- Name: metasploit_credential_origin_manuals; Type: TABLE; Schema: public; Owner: -
|
774
803
|
--
|
775
804
|
|
776
|
-
CREATE TABLE metasploit_credential_origin_manuals (
|
805
|
+
CREATE TABLE public.metasploit_credential_origin_manuals (
|
777
806
|
id integer NOT NULL,
|
778
807
|
user_id integer NOT NULL,
|
779
808
|
created_at timestamp without time zone NOT NULL,
|
@@ -785,7 +814,7 @@ CREATE TABLE metasploit_credential_origin_manuals (
|
|
785
814
|
-- Name: metasploit_credential_origin_manuals_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
786
815
|
--
|
787
816
|
|
788
|
-
CREATE SEQUENCE metasploit_credential_origin_manuals_id_seq
|
817
|
+
CREATE SEQUENCE public.metasploit_credential_origin_manuals_id_seq
|
789
818
|
START WITH 1
|
790
819
|
INCREMENT BY 1
|
791
820
|
NO MINVALUE
|
@@ -797,14 +826,14 @@ CREATE SEQUENCE metasploit_credential_origin_manuals_id_seq
|
|
797
826
|
-- Name: metasploit_credential_origin_manuals_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
798
827
|
--
|
799
828
|
|
800
|
-
ALTER SEQUENCE metasploit_credential_origin_manuals_id_seq OWNED BY metasploit_credential_origin_manuals.id;
|
829
|
+
ALTER SEQUENCE public.metasploit_credential_origin_manuals_id_seq OWNED BY public.metasploit_credential_origin_manuals.id;
|
801
830
|
|
802
831
|
|
803
832
|
--
|
804
|
-
-- Name: metasploit_credential_origin_services; Type: TABLE; Schema: public; Owner:
|
833
|
+
-- Name: metasploit_credential_origin_services; Type: TABLE; Schema: public; Owner: -
|
805
834
|
--
|
806
835
|
|
807
|
-
CREATE TABLE metasploit_credential_origin_services (
|
836
|
+
CREATE TABLE public.metasploit_credential_origin_services (
|
808
837
|
id integer NOT NULL,
|
809
838
|
service_id integer NOT NULL,
|
810
839
|
module_full_name text NOT NULL,
|
@@ -817,7 +846,7 @@ CREATE TABLE metasploit_credential_origin_services (
|
|
817
846
|
-- Name: metasploit_credential_origin_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
818
847
|
--
|
819
848
|
|
820
|
-
CREATE SEQUENCE metasploit_credential_origin_services_id_seq
|
849
|
+
CREATE SEQUENCE public.metasploit_credential_origin_services_id_seq
|
821
850
|
START WITH 1
|
822
851
|
INCREMENT BY 1
|
823
852
|
NO MINVALUE
|
@@ -829,14 +858,14 @@ CREATE SEQUENCE metasploit_credential_origin_services_id_seq
|
|
829
858
|
-- Name: metasploit_credential_origin_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
830
859
|
--
|
831
860
|
|
832
|
-
ALTER SEQUENCE metasploit_credential_origin_services_id_seq OWNED BY metasploit_credential_origin_services.id;
|
861
|
+
ALTER SEQUENCE public.metasploit_credential_origin_services_id_seq OWNED BY public.metasploit_credential_origin_services.id;
|
833
862
|
|
834
863
|
|
835
864
|
--
|
836
|
-
-- Name: metasploit_credential_origin_sessions; Type: TABLE; Schema: public; Owner:
|
865
|
+
-- Name: metasploit_credential_origin_sessions; Type: TABLE; Schema: public; Owner: -
|
837
866
|
--
|
838
867
|
|
839
|
-
CREATE TABLE metasploit_credential_origin_sessions (
|
868
|
+
CREATE TABLE public.metasploit_credential_origin_sessions (
|
840
869
|
id integer NOT NULL,
|
841
870
|
post_reference_name text NOT NULL,
|
842
871
|
session_id integer NOT NULL,
|
@@ -849,7 +878,7 @@ CREATE TABLE metasploit_credential_origin_sessions (
|
|
849
878
|
-- Name: metasploit_credential_origin_sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
850
879
|
--
|
851
880
|
|
852
|
-
CREATE SEQUENCE metasploit_credential_origin_sessions_id_seq
|
881
|
+
CREATE SEQUENCE public.metasploit_credential_origin_sessions_id_seq
|
853
882
|
START WITH 1
|
854
883
|
INCREMENT BY 1
|
855
884
|
NO MINVALUE
|
@@ -861,14 +890,14 @@ CREATE SEQUENCE metasploit_credential_origin_sessions_id_seq
|
|
861
890
|
-- Name: metasploit_credential_origin_sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
862
891
|
--
|
863
892
|
|
864
|
-
ALTER SEQUENCE metasploit_credential_origin_sessions_id_seq OWNED BY metasploit_credential_origin_sessions.id;
|
893
|
+
ALTER SEQUENCE public.metasploit_credential_origin_sessions_id_seq OWNED BY public.metasploit_credential_origin_sessions.id;
|
865
894
|
|
866
895
|
|
867
896
|
--
|
868
|
-
-- Name: metasploit_credential_privates; Type: TABLE; Schema: public; Owner:
|
897
|
+
-- Name: metasploit_credential_privates; Type: TABLE; Schema: public; Owner: -
|
869
898
|
--
|
870
899
|
|
871
|
-
CREATE TABLE metasploit_credential_privates (
|
900
|
+
CREATE TABLE public.metasploit_credential_privates (
|
872
901
|
id integer NOT NULL,
|
873
902
|
type character varying NOT NULL,
|
874
903
|
data text NOT NULL,
|
@@ -882,7 +911,7 @@ CREATE TABLE metasploit_credential_privates (
|
|
882
911
|
-- Name: metasploit_credential_privates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
883
912
|
--
|
884
913
|
|
885
|
-
CREATE SEQUENCE metasploit_credential_privates_id_seq
|
914
|
+
CREATE SEQUENCE public.metasploit_credential_privates_id_seq
|
886
915
|
START WITH 1
|
887
916
|
INCREMENT BY 1
|
888
917
|
NO MINVALUE
|
@@ -894,14 +923,14 @@ CREATE SEQUENCE metasploit_credential_privates_id_seq
|
|
894
923
|
-- Name: metasploit_credential_privates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
895
924
|
--
|
896
925
|
|
897
|
-
ALTER SEQUENCE metasploit_credential_privates_id_seq OWNED BY metasploit_credential_privates.id;
|
926
|
+
ALTER SEQUENCE public.metasploit_credential_privates_id_seq OWNED BY public.metasploit_credential_privates.id;
|
898
927
|
|
899
928
|
|
900
929
|
--
|
901
|
-
-- Name: metasploit_credential_publics; Type: TABLE; Schema: public; Owner:
|
930
|
+
-- Name: metasploit_credential_publics; Type: TABLE; Schema: public; Owner: -
|
902
931
|
--
|
903
932
|
|
904
|
-
CREATE TABLE metasploit_credential_publics (
|
933
|
+
CREATE TABLE public.metasploit_credential_publics (
|
905
934
|
id integer NOT NULL,
|
906
935
|
username character varying NOT NULL,
|
907
936
|
created_at timestamp without time zone NOT NULL,
|
@@ -914,7 +943,7 @@ CREATE TABLE metasploit_credential_publics (
|
|
914
943
|
-- Name: metasploit_credential_publics_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
915
944
|
--
|
916
945
|
|
917
|
-
CREATE SEQUENCE metasploit_credential_publics_id_seq
|
946
|
+
CREATE SEQUENCE public.metasploit_credential_publics_id_seq
|
918
947
|
START WITH 1
|
919
948
|
INCREMENT BY 1
|
920
949
|
NO MINVALUE
|
@@ -926,14 +955,14 @@ CREATE SEQUENCE metasploit_credential_publics_id_seq
|
|
926
955
|
-- Name: metasploit_credential_publics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
927
956
|
--
|
928
957
|
|
929
|
-
ALTER SEQUENCE metasploit_credential_publics_id_seq OWNED BY metasploit_credential_publics.id;
|
958
|
+
ALTER SEQUENCE public.metasploit_credential_publics_id_seq OWNED BY public.metasploit_credential_publics.id;
|
930
959
|
|
931
960
|
|
932
961
|
--
|
933
|
-
-- Name: metasploit_credential_realms; Type: TABLE; Schema: public; Owner:
|
962
|
+
-- Name: metasploit_credential_realms; Type: TABLE; Schema: public; Owner: -
|
934
963
|
--
|
935
964
|
|
936
|
-
CREATE TABLE metasploit_credential_realms (
|
965
|
+
CREATE TABLE public.metasploit_credential_realms (
|
937
966
|
id integer NOT NULL,
|
938
967
|
key character varying NOT NULL,
|
939
968
|
value character varying NOT NULL,
|
@@ -946,7 +975,7 @@ CREATE TABLE metasploit_credential_realms (
|
|
946
975
|
-- Name: metasploit_credential_realms_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
947
976
|
--
|
948
977
|
|
949
|
-
CREATE SEQUENCE metasploit_credential_realms_id_seq
|
978
|
+
CREATE SEQUENCE public.metasploit_credential_realms_id_seq
|
950
979
|
START WITH 1
|
951
980
|
INCREMENT BY 1
|
952
981
|
NO MINVALUE
|
@@ -958,14 +987,14 @@ CREATE SEQUENCE metasploit_credential_realms_id_seq
|
|
958
987
|
-- Name: metasploit_credential_realms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
959
988
|
--
|
960
989
|
|
961
|
-
ALTER SEQUENCE metasploit_credential_realms_id_seq OWNED BY metasploit_credential_realms.id;
|
990
|
+
ALTER SEQUENCE public.metasploit_credential_realms_id_seq OWNED BY public.metasploit_credential_realms.id;
|
962
991
|
|
963
992
|
|
964
993
|
--
|
965
|
-
-- Name: mod_refs; Type: TABLE; Schema: public; Owner:
|
994
|
+
-- Name: mod_refs; Type: TABLE; Schema: public; Owner: -
|
966
995
|
--
|
967
996
|
|
968
|
-
CREATE TABLE mod_refs (
|
997
|
+
CREATE TABLE public.mod_refs (
|
969
998
|
id integer NOT NULL,
|
970
999
|
module character varying(1024),
|
971
1000
|
mtype character varying(128),
|
@@ -977,7 +1006,7 @@ CREATE TABLE mod_refs (
|
|
977
1006
|
-- Name: mod_refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
978
1007
|
--
|
979
1008
|
|
980
|
-
CREATE SEQUENCE mod_refs_id_seq
|
1009
|
+
CREATE SEQUENCE public.mod_refs_id_seq
|
981
1010
|
START WITH 1
|
982
1011
|
INCREMENT BY 1
|
983
1012
|
NO MINVALUE
|
@@ -989,14 +1018,14 @@ CREATE SEQUENCE mod_refs_id_seq
|
|
989
1018
|
-- Name: mod_refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
990
1019
|
--
|
991
1020
|
|
992
|
-
ALTER SEQUENCE mod_refs_id_seq OWNED BY mod_refs.id;
|
1021
|
+
ALTER SEQUENCE public.mod_refs_id_seq OWNED BY public.mod_refs.id;
|
993
1022
|
|
994
1023
|
|
995
1024
|
--
|
996
|
-
-- Name: module_actions; Type: TABLE; Schema: public; Owner:
|
1025
|
+
-- Name: module_actions; Type: TABLE; Schema: public; Owner: -
|
997
1026
|
--
|
998
1027
|
|
999
|
-
CREATE TABLE module_actions (
|
1028
|
+
CREATE TABLE public.module_actions (
|
1000
1029
|
id integer NOT NULL,
|
1001
1030
|
detail_id integer,
|
1002
1031
|
name text
|
@@ -1007,7 +1036,7 @@ CREATE TABLE module_actions (
|
|
1007
1036
|
-- Name: module_actions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1008
1037
|
--
|
1009
1038
|
|
1010
|
-
CREATE SEQUENCE module_actions_id_seq
|
1039
|
+
CREATE SEQUENCE public.module_actions_id_seq
|
1011
1040
|
START WITH 1
|
1012
1041
|
INCREMENT BY 1
|
1013
1042
|
NO MINVALUE
|
@@ -1019,14 +1048,14 @@ CREATE SEQUENCE module_actions_id_seq
|
|
1019
1048
|
-- Name: module_actions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1020
1049
|
--
|
1021
1050
|
|
1022
|
-
ALTER SEQUENCE module_actions_id_seq OWNED BY module_actions.id;
|
1051
|
+
ALTER SEQUENCE public.module_actions_id_seq OWNED BY public.module_actions.id;
|
1023
1052
|
|
1024
1053
|
|
1025
1054
|
--
|
1026
|
-
-- Name: module_archs; Type: TABLE; Schema: public; Owner:
|
1055
|
+
-- Name: module_archs; Type: TABLE; Schema: public; Owner: -
|
1027
1056
|
--
|
1028
1057
|
|
1029
|
-
CREATE TABLE module_archs (
|
1058
|
+
CREATE TABLE public.module_archs (
|
1030
1059
|
id integer NOT NULL,
|
1031
1060
|
detail_id integer,
|
1032
1061
|
name text
|
@@ -1037,7 +1066,7 @@ CREATE TABLE module_archs (
|
|
1037
1066
|
-- Name: module_archs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1038
1067
|
--
|
1039
1068
|
|
1040
|
-
CREATE SEQUENCE module_archs_id_seq
|
1069
|
+
CREATE SEQUENCE public.module_archs_id_seq
|
1041
1070
|
START WITH 1
|
1042
1071
|
INCREMENT BY 1
|
1043
1072
|
NO MINVALUE
|
@@ -1049,14 +1078,14 @@ CREATE SEQUENCE module_archs_id_seq
|
|
1049
1078
|
-- Name: module_archs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1050
1079
|
--
|
1051
1080
|
|
1052
|
-
ALTER SEQUENCE module_archs_id_seq OWNED BY module_archs.id;
|
1081
|
+
ALTER SEQUENCE public.module_archs_id_seq OWNED BY public.module_archs.id;
|
1053
1082
|
|
1054
1083
|
|
1055
1084
|
--
|
1056
|
-
-- Name: module_authors; Type: TABLE; Schema: public; Owner:
|
1085
|
+
-- Name: module_authors; Type: TABLE; Schema: public; Owner: -
|
1057
1086
|
--
|
1058
1087
|
|
1059
|
-
CREATE TABLE module_authors (
|
1088
|
+
CREATE TABLE public.module_authors (
|
1060
1089
|
id integer NOT NULL,
|
1061
1090
|
detail_id integer,
|
1062
1091
|
name text,
|
@@ -1068,7 +1097,7 @@ CREATE TABLE module_authors (
|
|
1068
1097
|
-- Name: module_authors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1069
1098
|
--
|
1070
1099
|
|
1071
|
-
CREATE SEQUENCE module_authors_id_seq
|
1100
|
+
CREATE SEQUENCE public.module_authors_id_seq
|
1072
1101
|
START WITH 1
|
1073
1102
|
INCREMENT BY 1
|
1074
1103
|
NO MINVALUE
|
@@ -1080,14 +1109,14 @@ CREATE SEQUENCE module_authors_id_seq
|
|
1080
1109
|
-- Name: module_authors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1081
1110
|
--
|
1082
1111
|
|
1083
|
-
ALTER SEQUENCE module_authors_id_seq OWNED BY module_authors.id;
|
1112
|
+
ALTER SEQUENCE public.module_authors_id_seq OWNED BY public.module_authors.id;
|
1084
1113
|
|
1085
1114
|
|
1086
1115
|
--
|
1087
|
-
-- Name: module_details; Type: TABLE; Schema: public; Owner:
|
1116
|
+
-- Name: module_details; Type: TABLE; Schema: public; Owner: -
|
1088
1117
|
--
|
1089
1118
|
|
1090
|
-
CREATE TABLE module_details (
|
1119
|
+
CREATE TABLE public.module_details (
|
1091
1120
|
id integer NOT NULL,
|
1092
1121
|
mtime timestamp without time zone,
|
1093
1122
|
file text,
|
@@ -1111,7 +1140,7 @@ CREATE TABLE module_details (
|
|
1111
1140
|
-- Name: module_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1112
1141
|
--
|
1113
1142
|
|
1114
|
-
CREATE SEQUENCE module_details_id_seq
|
1143
|
+
CREATE SEQUENCE public.module_details_id_seq
|
1115
1144
|
START WITH 1
|
1116
1145
|
INCREMENT BY 1
|
1117
1146
|
NO MINVALUE
|
@@ -1123,14 +1152,14 @@ CREATE SEQUENCE module_details_id_seq
|
|
1123
1152
|
-- Name: module_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1124
1153
|
--
|
1125
1154
|
|
1126
|
-
ALTER SEQUENCE module_details_id_seq OWNED BY module_details.id;
|
1155
|
+
ALTER SEQUENCE public.module_details_id_seq OWNED BY public.module_details.id;
|
1127
1156
|
|
1128
1157
|
|
1129
1158
|
--
|
1130
|
-
-- Name: module_mixins; Type: TABLE; Schema: public; Owner:
|
1159
|
+
-- Name: module_mixins; Type: TABLE; Schema: public; Owner: -
|
1131
1160
|
--
|
1132
1161
|
|
1133
|
-
CREATE TABLE module_mixins (
|
1162
|
+
CREATE TABLE public.module_mixins (
|
1134
1163
|
id integer NOT NULL,
|
1135
1164
|
detail_id integer,
|
1136
1165
|
name text
|
@@ -1141,7 +1170,7 @@ CREATE TABLE module_mixins (
|
|
1141
1170
|
-- Name: module_mixins_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1142
1171
|
--
|
1143
1172
|
|
1144
|
-
CREATE SEQUENCE module_mixins_id_seq
|
1173
|
+
CREATE SEQUENCE public.module_mixins_id_seq
|
1145
1174
|
START WITH 1
|
1146
1175
|
INCREMENT BY 1
|
1147
1176
|
NO MINVALUE
|
@@ -1153,14 +1182,14 @@ CREATE SEQUENCE module_mixins_id_seq
|
|
1153
1182
|
-- Name: module_mixins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1154
1183
|
--
|
1155
1184
|
|
1156
|
-
ALTER SEQUENCE module_mixins_id_seq OWNED BY module_mixins.id;
|
1185
|
+
ALTER SEQUENCE public.module_mixins_id_seq OWNED BY public.module_mixins.id;
|
1157
1186
|
|
1158
1187
|
|
1159
1188
|
--
|
1160
|
-
-- Name: module_platforms; Type: TABLE; Schema: public; Owner:
|
1189
|
+
-- Name: module_platforms; Type: TABLE; Schema: public; Owner: -
|
1161
1190
|
--
|
1162
1191
|
|
1163
|
-
CREATE TABLE module_platforms (
|
1192
|
+
CREATE TABLE public.module_platforms (
|
1164
1193
|
id integer NOT NULL,
|
1165
1194
|
detail_id integer,
|
1166
1195
|
name text
|
@@ -1171,7 +1200,7 @@ CREATE TABLE module_platforms (
|
|
1171
1200
|
-- Name: module_platforms_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1172
1201
|
--
|
1173
1202
|
|
1174
|
-
CREATE SEQUENCE module_platforms_id_seq
|
1203
|
+
CREATE SEQUENCE public.module_platforms_id_seq
|
1175
1204
|
START WITH 1
|
1176
1205
|
INCREMENT BY 1
|
1177
1206
|
NO MINVALUE
|
@@ -1183,14 +1212,14 @@ CREATE SEQUENCE module_platforms_id_seq
|
|
1183
1212
|
-- Name: module_platforms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1184
1213
|
--
|
1185
1214
|
|
1186
|
-
ALTER SEQUENCE module_platforms_id_seq OWNED BY module_platforms.id;
|
1215
|
+
ALTER SEQUENCE public.module_platforms_id_seq OWNED BY public.module_platforms.id;
|
1187
1216
|
|
1188
1217
|
|
1189
1218
|
--
|
1190
|
-
-- Name: module_refs; Type: TABLE; Schema: public; Owner:
|
1219
|
+
-- Name: module_refs; Type: TABLE; Schema: public; Owner: -
|
1191
1220
|
--
|
1192
1221
|
|
1193
|
-
CREATE TABLE module_refs (
|
1222
|
+
CREATE TABLE public.module_refs (
|
1194
1223
|
id integer NOT NULL,
|
1195
1224
|
detail_id integer,
|
1196
1225
|
name text
|
@@ -1201,7 +1230,7 @@ CREATE TABLE module_refs (
|
|
1201
1230
|
-- Name: module_refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1202
1231
|
--
|
1203
1232
|
|
1204
|
-
CREATE SEQUENCE module_refs_id_seq
|
1233
|
+
CREATE SEQUENCE public.module_refs_id_seq
|
1205
1234
|
START WITH 1
|
1206
1235
|
INCREMENT BY 1
|
1207
1236
|
NO MINVALUE
|
@@ -1213,14 +1242,14 @@ CREATE SEQUENCE module_refs_id_seq
|
|
1213
1242
|
-- Name: module_refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1214
1243
|
--
|
1215
1244
|
|
1216
|
-
ALTER SEQUENCE module_refs_id_seq OWNED BY module_refs.id;
|
1245
|
+
ALTER SEQUENCE public.module_refs_id_seq OWNED BY public.module_refs.id;
|
1217
1246
|
|
1218
1247
|
|
1219
1248
|
--
|
1220
|
-
-- Name: module_runs; Type: TABLE; Schema: public; Owner:
|
1249
|
+
-- Name: module_runs; Type: TABLE; Schema: public; Owner: -
|
1221
1250
|
--
|
1222
1251
|
|
1223
|
-
CREATE TABLE module_runs (
|
1252
|
+
CREATE TABLE public.module_runs (
|
1224
1253
|
id integer NOT NULL,
|
1225
1254
|
attempted_at timestamp without time zone,
|
1226
1255
|
fail_detail text,
|
@@ -1243,7 +1272,7 @@ CREATE TABLE module_runs (
|
|
1243
1272
|
-- Name: module_runs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1244
1273
|
--
|
1245
1274
|
|
1246
|
-
CREATE SEQUENCE module_runs_id_seq
|
1275
|
+
CREATE SEQUENCE public.module_runs_id_seq
|
1247
1276
|
START WITH 1
|
1248
1277
|
INCREMENT BY 1
|
1249
1278
|
NO MINVALUE
|
@@ -1255,14 +1284,14 @@ CREATE SEQUENCE module_runs_id_seq
|
|
1255
1284
|
-- Name: module_runs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1256
1285
|
--
|
1257
1286
|
|
1258
|
-
ALTER SEQUENCE module_runs_id_seq OWNED BY module_runs.id;
|
1287
|
+
ALTER SEQUENCE public.module_runs_id_seq OWNED BY public.module_runs.id;
|
1259
1288
|
|
1260
1289
|
|
1261
1290
|
--
|
1262
|
-
-- Name: module_targets; Type: TABLE; Schema: public; Owner:
|
1291
|
+
-- Name: module_targets; Type: TABLE; Schema: public; Owner: -
|
1263
1292
|
--
|
1264
1293
|
|
1265
|
-
CREATE TABLE module_targets (
|
1294
|
+
CREATE TABLE public.module_targets (
|
1266
1295
|
id integer NOT NULL,
|
1267
1296
|
detail_id integer,
|
1268
1297
|
index integer,
|
@@ -1274,7 +1303,7 @@ CREATE TABLE module_targets (
|
|
1274
1303
|
-- Name: module_targets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1275
1304
|
--
|
1276
1305
|
|
1277
|
-
CREATE SEQUENCE module_targets_id_seq
|
1306
|
+
CREATE SEQUENCE public.module_targets_id_seq
|
1278
1307
|
START WITH 1
|
1279
1308
|
INCREMENT BY 1
|
1280
1309
|
NO MINVALUE
|
@@ -1286,14 +1315,14 @@ CREATE SEQUENCE module_targets_id_seq
|
|
1286
1315
|
-- Name: module_targets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1287
1316
|
--
|
1288
1317
|
|
1289
|
-
ALTER SEQUENCE module_targets_id_seq OWNED BY module_targets.id;
|
1318
|
+
ALTER SEQUENCE public.module_targets_id_seq OWNED BY public.module_targets.id;
|
1290
1319
|
|
1291
1320
|
|
1292
1321
|
--
|
1293
|
-
-- Name: nexpose_consoles; Type: TABLE; Schema: public; Owner:
|
1322
|
+
-- Name: nexpose_consoles; Type: TABLE; Schema: public; Owner: -
|
1294
1323
|
--
|
1295
1324
|
|
1296
|
-
CREATE TABLE nexpose_consoles (
|
1325
|
+
CREATE TABLE public.nexpose_consoles (
|
1297
1326
|
id integer NOT NULL,
|
1298
1327
|
created_at timestamp without time zone NOT NULL,
|
1299
1328
|
updated_at timestamp without time zone NOT NULL,
|
@@ -1315,7 +1344,7 @@ CREATE TABLE nexpose_consoles (
|
|
1315
1344
|
-- Name: nexpose_consoles_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1316
1345
|
--
|
1317
1346
|
|
1318
|
-
CREATE SEQUENCE nexpose_consoles_id_seq
|
1347
|
+
CREATE SEQUENCE public.nexpose_consoles_id_seq
|
1319
1348
|
START WITH 1
|
1320
1349
|
INCREMENT BY 1
|
1321
1350
|
NO MINVALUE
|
@@ -1327,14 +1356,14 @@ CREATE SEQUENCE nexpose_consoles_id_seq
|
|
1327
1356
|
-- Name: nexpose_consoles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1328
1357
|
--
|
1329
1358
|
|
1330
|
-
ALTER SEQUENCE nexpose_consoles_id_seq OWNED BY nexpose_consoles.id;
|
1359
|
+
ALTER SEQUENCE public.nexpose_consoles_id_seq OWNED BY public.nexpose_consoles.id;
|
1331
1360
|
|
1332
1361
|
|
1333
1362
|
--
|
1334
|
-
-- Name: notes; Type: TABLE; Schema: public; Owner:
|
1363
|
+
-- Name: notes; Type: TABLE; Schema: public; Owner: -
|
1335
1364
|
--
|
1336
1365
|
|
1337
|
-
CREATE TABLE notes (
|
1366
|
+
CREATE TABLE public.notes (
|
1338
1367
|
id integer NOT NULL,
|
1339
1368
|
created_at timestamp without time zone,
|
1340
1369
|
ntype character varying(512),
|
@@ -1353,7 +1382,7 @@ CREATE TABLE notes (
|
|
1353
1382
|
-- Name: notes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1354
1383
|
--
|
1355
1384
|
|
1356
|
-
CREATE SEQUENCE notes_id_seq
|
1385
|
+
CREATE SEQUENCE public.notes_id_seq
|
1357
1386
|
START WITH 1
|
1358
1387
|
INCREMENT BY 1
|
1359
1388
|
NO MINVALUE
|
@@ -1365,14 +1394,56 @@ CREATE SEQUENCE notes_id_seq
|
|
1365
1394
|
-- Name: notes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1366
1395
|
--
|
1367
1396
|
|
1368
|
-
ALTER SEQUENCE notes_id_seq OWNED BY notes.id;
|
1397
|
+
ALTER SEQUENCE public.notes_id_seq OWNED BY public.notes.id;
|
1369
1398
|
|
1370
1399
|
|
1371
1400
|
--
|
1372
|
-
-- Name:
|
1401
|
+
-- Name: payloads; Type: TABLE; Schema: public; Owner: -
|
1373
1402
|
--
|
1374
1403
|
|
1375
|
-
CREATE TABLE
|
1404
|
+
CREATE TABLE public.payloads (
|
1405
|
+
id integer NOT NULL,
|
1406
|
+
name character varying,
|
1407
|
+
uuid character varying,
|
1408
|
+
uuid_mask integer,
|
1409
|
+
"timestamp" integer,
|
1410
|
+
arch character varying,
|
1411
|
+
platform character varying,
|
1412
|
+
urls character varying,
|
1413
|
+
description character varying,
|
1414
|
+
raw_payload character varying,
|
1415
|
+
raw_payload_hash character varying,
|
1416
|
+
build_status character varying,
|
1417
|
+
build_opts character varying,
|
1418
|
+
created_at timestamp without time zone NOT NULL,
|
1419
|
+
updated_at timestamp without time zone NOT NULL
|
1420
|
+
);
|
1421
|
+
|
1422
|
+
|
1423
|
+
--
|
1424
|
+
-- Name: payloads_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1425
|
+
--
|
1426
|
+
|
1427
|
+
CREATE SEQUENCE public.payloads_id_seq
|
1428
|
+
START WITH 1
|
1429
|
+
INCREMENT BY 1
|
1430
|
+
NO MINVALUE
|
1431
|
+
NO MAXVALUE
|
1432
|
+
CACHE 1;
|
1433
|
+
|
1434
|
+
|
1435
|
+
--
|
1436
|
+
-- Name: payloads_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1437
|
+
--
|
1438
|
+
|
1439
|
+
ALTER SEQUENCE public.payloads_id_seq OWNED BY public.payloads.id;
|
1440
|
+
|
1441
|
+
|
1442
|
+
--
|
1443
|
+
-- Name: profiles; Type: TABLE; Schema: public; Owner: -
|
1444
|
+
--
|
1445
|
+
|
1446
|
+
CREATE TABLE public.profiles (
|
1376
1447
|
id integer NOT NULL,
|
1377
1448
|
created_at timestamp without time zone NOT NULL,
|
1378
1449
|
updated_at timestamp without time zone NOT NULL,
|
@@ -1387,7 +1458,7 @@ CREATE TABLE profiles (
|
|
1387
1458
|
-- Name: profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1388
1459
|
--
|
1389
1460
|
|
1390
|
-
CREATE SEQUENCE profiles_id_seq
|
1461
|
+
CREATE SEQUENCE public.profiles_id_seq
|
1391
1462
|
START WITH 1
|
1392
1463
|
INCREMENT BY 1
|
1393
1464
|
NO MINVALUE
|
@@ -1399,14 +1470,14 @@ CREATE SEQUENCE profiles_id_seq
|
|
1399
1470
|
-- Name: profiles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1400
1471
|
--
|
1401
1472
|
|
1402
|
-
ALTER SEQUENCE profiles_id_seq OWNED BY profiles.id;
|
1473
|
+
ALTER SEQUENCE public.profiles_id_seq OWNED BY public.profiles.id;
|
1403
1474
|
|
1404
1475
|
|
1405
1476
|
--
|
1406
|
-
-- Name: refs; Type: TABLE; Schema: public; Owner:
|
1477
|
+
-- Name: refs; Type: TABLE; Schema: public; Owner: -
|
1407
1478
|
--
|
1408
1479
|
|
1409
|
-
CREATE TABLE refs (
|
1480
|
+
CREATE TABLE public.refs (
|
1410
1481
|
id integer NOT NULL,
|
1411
1482
|
ref_id integer,
|
1412
1483
|
created_at timestamp without time zone,
|
@@ -1419,7 +1490,7 @@ CREATE TABLE refs (
|
|
1419
1490
|
-- Name: refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1420
1491
|
--
|
1421
1492
|
|
1422
|
-
CREATE SEQUENCE refs_id_seq
|
1493
|
+
CREATE SEQUENCE public.refs_id_seq
|
1423
1494
|
START WITH 1
|
1424
1495
|
INCREMENT BY 1
|
1425
1496
|
NO MINVALUE
|
@@ -1431,14 +1502,14 @@ CREATE SEQUENCE refs_id_seq
|
|
1431
1502
|
-- Name: refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1432
1503
|
--
|
1433
1504
|
|
1434
|
-
ALTER SEQUENCE refs_id_seq OWNED BY refs.id;
|
1505
|
+
ALTER SEQUENCE public.refs_id_seq OWNED BY public.refs.id;
|
1435
1506
|
|
1436
1507
|
|
1437
1508
|
--
|
1438
|
-
-- Name: report_templates; Type: TABLE; Schema: public; Owner:
|
1509
|
+
-- Name: report_templates; Type: TABLE; Schema: public; Owner: -
|
1439
1510
|
--
|
1440
1511
|
|
1441
|
-
CREATE TABLE report_templates (
|
1512
|
+
CREATE TABLE public.report_templates (
|
1442
1513
|
id integer NOT NULL,
|
1443
1514
|
workspace_id integer DEFAULT 1 NOT NULL,
|
1444
1515
|
created_by character varying,
|
@@ -1453,7 +1524,7 @@ CREATE TABLE report_templates (
|
|
1453
1524
|
-- Name: report_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1454
1525
|
--
|
1455
1526
|
|
1456
|
-
CREATE SEQUENCE report_templates_id_seq
|
1527
|
+
CREATE SEQUENCE public.report_templates_id_seq
|
1457
1528
|
START WITH 1
|
1458
1529
|
INCREMENT BY 1
|
1459
1530
|
NO MINVALUE
|
@@ -1465,14 +1536,14 @@ CREATE SEQUENCE report_templates_id_seq
|
|
1465
1536
|
-- Name: report_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1466
1537
|
--
|
1467
1538
|
|
1468
|
-
ALTER SEQUENCE report_templates_id_seq OWNED BY report_templates.id;
|
1539
|
+
ALTER SEQUENCE public.report_templates_id_seq OWNED BY public.report_templates.id;
|
1469
1540
|
|
1470
1541
|
|
1471
1542
|
--
|
1472
|
-
-- Name: reports; Type: TABLE; Schema: public; Owner:
|
1543
|
+
-- Name: reports; Type: TABLE; Schema: public; Owner: -
|
1473
1544
|
--
|
1474
1545
|
|
1475
|
-
CREATE TABLE reports (
|
1546
|
+
CREATE TABLE public.reports (
|
1476
1547
|
id integer NOT NULL,
|
1477
1548
|
workspace_id integer DEFAULT 1 NOT NULL,
|
1478
1549
|
created_by character varying,
|
@@ -1491,7 +1562,7 @@ CREATE TABLE reports (
|
|
1491
1562
|
-- Name: reports_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1492
1563
|
--
|
1493
1564
|
|
1494
|
-
CREATE SEQUENCE reports_id_seq
|
1565
|
+
CREATE SEQUENCE public.reports_id_seq
|
1495
1566
|
START WITH 1
|
1496
1567
|
INCREMENT BY 1
|
1497
1568
|
NO MINVALUE
|
@@ -1503,14 +1574,14 @@ CREATE SEQUENCE reports_id_seq
|
|
1503
1574
|
-- Name: reports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1504
1575
|
--
|
1505
1576
|
|
1506
|
-
ALTER SEQUENCE reports_id_seq OWNED BY reports.id;
|
1577
|
+
ALTER SEQUENCE public.reports_id_seq OWNED BY public.reports.id;
|
1507
1578
|
|
1508
1579
|
|
1509
1580
|
--
|
1510
|
-
-- Name: routes; Type: TABLE; Schema: public; Owner:
|
1581
|
+
-- Name: routes; Type: TABLE; Schema: public; Owner: -
|
1511
1582
|
--
|
1512
1583
|
|
1513
|
-
CREATE TABLE routes (
|
1584
|
+
CREATE TABLE public.routes (
|
1514
1585
|
id integer NOT NULL,
|
1515
1586
|
session_id integer,
|
1516
1587
|
subnet character varying,
|
@@ -1522,7 +1593,7 @@ CREATE TABLE routes (
|
|
1522
1593
|
-- Name: routes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1523
1594
|
--
|
1524
1595
|
|
1525
|
-
CREATE SEQUENCE routes_id_seq
|
1596
|
+
CREATE SEQUENCE public.routes_id_seq
|
1526
1597
|
START WITH 1
|
1527
1598
|
INCREMENT BY 1
|
1528
1599
|
NO MINVALUE
|
@@ -1534,23 +1605,23 @@ CREATE SEQUENCE routes_id_seq
|
|
1534
1605
|
-- Name: routes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1535
1606
|
--
|
1536
1607
|
|
1537
|
-
ALTER SEQUENCE routes_id_seq OWNED BY routes.id;
|
1608
|
+
ALTER SEQUENCE public.routes_id_seq OWNED BY public.routes.id;
|
1538
1609
|
|
1539
1610
|
|
1540
1611
|
--
|
1541
|
-
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner:
|
1612
|
+
-- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -
|
1542
1613
|
--
|
1543
1614
|
|
1544
|
-
CREATE TABLE schema_migrations (
|
1615
|
+
CREATE TABLE public.schema_migrations (
|
1545
1616
|
version character varying NOT NULL
|
1546
1617
|
);
|
1547
1618
|
|
1548
1619
|
|
1549
1620
|
--
|
1550
|
-
-- Name: services; Type: TABLE; Schema: public; Owner:
|
1621
|
+
-- Name: services; Type: TABLE; Schema: public; Owner: -
|
1551
1622
|
--
|
1552
1623
|
|
1553
|
-
CREATE TABLE services (
|
1624
|
+
CREATE TABLE public.services (
|
1554
1625
|
id integer NOT NULL,
|
1555
1626
|
host_id integer,
|
1556
1627
|
created_at timestamp without time zone,
|
@@ -1567,7 +1638,7 @@ CREATE TABLE services (
|
|
1567
1638
|
-- Name: services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1568
1639
|
--
|
1569
1640
|
|
1570
|
-
CREATE SEQUENCE services_id_seq
|
1641
|
+
CREATE SEQUENCE public.services_id_seq
|
1571
1642
|
START WITH 1
|
1572
1643
|
INCREMENT BY 1
|
1573
1644
|
NO MINVALUE
|
@@ -1579,14 +1650,14 @@ CREATE SEQUENCE services_id_seq
|
|
1579
1650
|
-- Name: services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1580
1651
|
--
|
1581
1652
|
|
1582
|
-
ALTER SEQUENCE services_id_seq OWNED BY services.id;
|
1653
|
+
ALTER SEQUENCE public.services_id_seq OWNED BY public.services.id;
|
1583
1654
|
|
1584
1655
|
|
1585
1656
|
--
|
1586
|
-
-- Name: session_events; Type: TABLE; Schema: public; Owner:
|
1657
|
+
-- Name: session_events; Type: TABLE; Schema: public; Owner: -
|
1587
1658
|
--
|
1588
1659
|
|
1589
|
-
CREATE TABLE session_events (
|
1660
|
+
CREATE TABLE public.session_events (
|
1590
1661
|
id integer NOT NULL,
|
1591
1662
|
session_id integer,
|
1592
1663
|
etype character varying,
|
@@ -1602,7 +1673,7 @@ CREATE TABLE session_events (
|
|
1602
1673
|
-- Name: session_events_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1603
1674
|
--
|
1604
1675
|
|
1605
|
-
CREATE SEQUENCE session_events_id_seq
|
1676
|
+
CREATE SEQUENCE public.session_events_id_seq
|
1606
1677
|
START WITH 1
|
1607
1678
|
INCREMENT BY 1
|
1608
1679
|
NO MINVALUE
|
@@ -1614,14 +1685,14 @@ CREATE SEQUENCE session_events_id_seq
|
|
1614
1685
|
-- Name: session_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1615
1686
|
--
|
1616
1687
|
|
1617
|
-
ALTER SEQUENCE session_events_id_seq OWNED BY session_events.id;
|
1688
|
+
ALTER SEQUENCE public.session_events_id_seq OWNED BY public.session_events.id;
|
1618
1689
|
|
1619
1690
|
|
1620
1691
|
--
|
1621
|
-
-- Name: sessions; Type: TABLE; Schema: public; Owner:
|
1692
|
+
-- Name: sessions; Type: TABLE; Schema: public; Owner: -
|
1622
1693
|
--
|
1623
1694
|
|
1624
|
-
CREATE TABLE sessions (
|
1695
|
+
CREATE TABLE public.sessions (
|
1625
1696
|
id integer NOT NULL,
|
1626
1697
|
host_id integer,
|
1627
1698
|
stype character varying,
|
@@ -1644,7 +1715,7 @@ CREATE TABLE sessions (
|
|
1644
1715
|
-- Name: sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1645
1716
|
--
|
1646
1717
|
|
1647
|
-
CREATE SEQUENCE sessions_id_seq
|
1718
|
+
CREATE SEQUENCE public.sessions_id_seq
|
1648
1719
|
START WITH 1
|
1649
1720
|
INCREMENT BY 1
|
1650
1721
|
NO MINVALUE
|
@@ -1656,14 +1727,14 @@ CREATE SEQUENCE sessions_id_seq
|
|
1656
1727
|
-- Name: sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1657
1728
|
--
|
1658
1729
|
|
1659
|
-
ALTER SEQUENCE sessions_id_seq OWNED BY sessions.id;
|
1730
|
+
ALTER SEQUENCE public.sessions_id_seq OWNED BY public.sessions.id;
|
1660
1731
|
|
1661
1732
|
|
1662
1733
|
--
|
1663
|
-
-- Name: tags; Type: TABLE; Schema: public; Owner:
|
1734
|
+
-- Name: tags; Type: TABLE; Schema: public; Owner: -
|
1664
1735
|
--
|
1665
1736
|
|
1666
|
-
CREATE TABLE tags (
|
1737
|
+
CREATE TABLE public.tags (
|
1667
1738
|
id integer NOT NULL,
|
1668
1739
|
user_id integer,
|
1669
1740
|
name character varying(1024),
|
@@ -1680,7 +1751,7 @@ CREATE TABLE tags (
|
|
1680
1751
|
-- Name: tags_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1681
1752
|
--
|
1682
1753
|
|
1683
|
-
CREATE SEQUENCE tags_id_seq
|
1754
|
+
CREATE SEQUENCE public.tags_id_seq
|
1684
1755
|
START WITH 1
|
1685
1756
|
INCREMENT BY 1
|
1686
1757
|
NO MINVALUE
|
@@ -1692,14 +1763,14 @@ CREATE SEQUENCE tags_id_seq
|
|
1692
1763
|
-- Name: tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1693
1764
|
--
|
1694
1765
|
|
1695
|
-
ALTER SEQUENCE tags_id_seq OWNED BY tags.id;
|
1766
|
+
ALTER SEQUENCE public.tags_id_seq OWNED BY public.tags.id;
|
1696
1767
|
|
1697
1768
|
|
1698
1769
|
--
|
1699
|
-
-- Name: task_creds; Type: TABLE; Schema: public; Owner:
|
1770
|
+
-- Name: task_creds; Type: TABLE; Schema: public; Owner: -
|
1700
1771
|
--
|
1701
1772
|
|
1702
|
-
CREATE TABLE task_creds (
|
1773
|
+
CREATE TABLE public.task_creds (
|
1703
1774
|
id integer NOT NULL,
|
1704
1775
|
task_id integer NOT NULL,
|
1705
1776
|
cred_id integer NOT NULL,
|
@@ -1712,7 +1783,7 @@ CREATE TABLE task_creds (
|
|
1712
1783
|
-- Name: task_creds_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1713
1784
|
--
|
1714
1785
|
|
1715
|
-
CREATE SEQUENCE task_creds_id_seq
|
1786
|
+
CREATE SEQUENCE public.task_creds_id_seq
|
1716
1787
|
START WITH 1
|
1717
1788
|
INCREMENT BY 1
|
1718
1789
|
NO MINVALUE
|
@@ -1724,14 +1795,14 @@ CREATE SEQUENCE task_creds_id_seq
|
|
1724
1795
|
-- Name: task_creds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1725
1796
|
--
|
1726
1797
|
|
1727
|
-
ALTER SEQUENCE task_creds_id_seq OWNED BY task_creds.id;
|
1798
|
+
ALTER SEQUENCE public.task_creds_id_seq OWNED BY public.task_creds.id;
|
1728
1799
|
|
1729
1800
|
|
1730
1801
|
--
|
1731
|
-
-- Name: task_hosts; Type: TABLE; Schema: public; Owner:
|
1802
|
+
-- Name: task_hosts; Type: TABLE; Schema: public; Owner: -
|
1732
1803
|
--
|
1733
1804
|
|
1734
|
-
CREATE TABLE task_hosts (
|
1805
|
+
CREATE TABLE public.task_hosts (
|
1735
1806
|
id integer NOT NULL,
|
1736
1807
|
task_id integer NOT NULL,
|
1737
1808
|
host_id integer NOT NULL,
|
@@ -1744,7 +1815,7 @@ CREATE TABLE task_hosts (
|
|
1744
1815
|
-- Name: task_hosts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1745
1816
|
--
|
1746
1817
|
|
1747
|
-
CREATE SEQUENCE task_hosts_id_seq
|
1818
|
+
CREATE SEQUENCE public.task_hosts_id_seq
|
1748
1819
|
START WITH 1
|
1749
1820
|
INCREMENT BY 1
|
1750
1821
|
NO MINVALUE
|
@@ -1756,14 +1827,14 @@ CREATE SEQUENCE task_hosts_id_seq
|
|
1756
1827
|
-- Name: task_hosts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1757
1828
|
--
|
1758
1829
|
|
1759
|
-
ALTER SEQUENCE task_hosts_id_seq OWNED BY task_hosts.id;
|
1830
|
+
ALTER SEQUENCE public.task_hosts_id_seq OWNED BY public.task_hosts.id;
|
1760
1831
|
|
1761
1832
|
|
1762
1833
|
--
|
1763
|
-
-- Name: task_services; Type: TABLE; Schema: public; Owner:
|
1834
|
+
-- Name: task_services; Type: TABLE; Schema: public; Owner: -
|
1764
1835
|
--
|
1765
1836
|
|
1766
|
-
CREATE TABLE task_services (
|
1837
|
+
CREATE TABLE public.task_services (
|
1767
1838
|
id integer NOT NULL,
|
1768
1839
|
task_id integer NOT NULL,
|
1769
1840
|
service_id integer NOT NULL,
|
@@ -1776,7 +1847,7 @@ CREATE TABLE task_services (
|
|
1776
1847
|
-- Name: task_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1777
1848
|
--
|
1778
1849
|
|
1779
|
-
CREATE SEQUENCE task_services_id_seq
|
1850
|
+
CREATE SEQUENCE public.task_services_id_seq
|
1780
1851
|
START WITH 1
|
1781
1852
|
INCREMENT BY 1
|
1782
1853
|
NO MINVALUE
|
@@ -1788,14 +1859,14 @@ CREATE SEQUENCE task_services_id_seq
|
|
1788
1859
|
-- Name: task_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1789
1860
|
--
|
1790
1861
|
|
1791
|
-
ALTER SEQUENCE task_services_id_seq OWNED BY task_services.id;
|
1862
|
+
ALTER SEQUENCE public.task_services_id_seq OWNED BY public.task_services.id;
|
1792
1863
|
|
1793
1864
|
|
1794
1865
|
--
|
1795
|
-
-- Name: task_sessions; Type: TABLE; Schema: public; Owner:
|
1866
|
+
-- Name: task_sessions; Type: TABLE; Schema: public; Owner: -
|
1796
1867
|
--
|
1797
1868
|
|
1798
|
-
CREATE TABLE task_sessions (
|
1869
|
+
CREATE TABLE public.task_sessions (
|
1799
1870
|
id integer NOT NULL,
|
1800
1871
|
task_id integer NOT NULL,
|
1801
1872
|
session_id integer NOT NULL,
|
@@ -1808,7 +1879,7 @@ CREATE TABLE task_sessions (
|
|
1808
1879
|
-- Name: task_sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1809
1880
|
--
|
1810
1881
|
|
1811
|
-
CREATE SEQUENCE task_sessions_id_seq
|
1882
|
+
CREATE SEQUENCE public.task_sessions_id_seq
|
1812
1883
|
START WITH 1
|
1813
1884
|
INCREMENT BY 1
|
1814
1885
|
NO MINVALUE
|
@@ -1820,14 +1891,14 @@ CREATE SEQUENCE task_sessions_id_seq
|
|
1820
1891
|
-- Name: task_sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1821
1892
|
--
|
1822
1893
|
|
1823
|
-
ALTER SEQUENCE task_sessions_id_seq OWNED BY task_sessions.id;
|
1894
|
+
ALTER SEQUENCE public.task_sessions_id_seq OWNED BY public.task_sessions.id;
|
1824
1895
|
|
1825
1896
|
|
1826
1897
|
--
|
1827
|
-
-- Name: tasks; Type: TABLE; Schema: public; Owner:
|
1898
|
+
-- Name: tasks; Type: TABLE; Schema: public; Owner: -
|
1828
1899
|
--
|
1829
1900
|
|
1830
|
-
CREATE TABLE tasks (
|
1901
|
+
CREATE TABLE public.tasks (
|
1831
1902
|
id integer NOT NULL,
|
1832
1903
|
workspace_id integer DEFAULT 1 NOT NULL,
|
1833
1904
|
created_by character varying,
|
@@ -1851,7 +1922,7 @@ CREATE TABLE tasks (
|
|
1851
1922
|
-- Name: tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1852
1923
|
--
|
1853
1924
|
|
1854
|
-
CREATE SEQUENCE tasks_id_seq
|
1925
|
+
CREATE SEQUENCE public.tasks_id_seq
|
1855
1926
|
START WITH 1
|
1856
1927
|
INCREMENT BY 1
|
1857
1928
|
NO MINVALUE
|
@@ -1863,14 +1934,14 @@ CREATE SEQUENCE tasks_id_seq
|
|
1863
1934
|
-- Name: tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1864
1935
|
--
|
1865
1936
|
|
1866
|
-
ALTER SEQUENCE tasks_id_seq OWNED BY tasks.id;
|
1937
|
+
ALTER SEQUENCE public.tasks_id_seq OWNED BY public.tasks.id;
|
1867
1938
|
|
1868
1939
|
|
1869
1940
|
--
|
1870
|
-
-- Name: users; Type: TABLE; Schema: public; Owner:
|
1941
|
+
-- Name: users; Type: TABLE; Schema: public; Owner: -
|
1871
1942
|
--
|
1872
1943
|
|
1873
|
-
CREATE TABLE users (
|
1944
|
+
CREATE TABLE public.users (
|
1874
1945
|
id integer NOT NULL,
|
1875
1946
|
username character varying,
|
1876
1947
|
crypted_password character varying,
|
@@ -1891,7 +1962,7 @@ CREATE TABLE users (
|
|
1891
1962
|
-- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1892
1963
|
--
|
1893
1964
|
|
1894
|
-
CREATE SEQUENCE users_id_seq
|
1965
|
+
CREATE SEQUENCE public.users_id_seq
|
1895
1966
|
START WITH 1
|
1896
1967
|
INCREMENT BY 1
|
1897
1968
|
NO MINVALUE
|
@@ -1903,14 +1974,14 @@ CREATE SEQUENCE users_id_seq
|
|
1903
1974
|
-- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1904
1975
|
--
|
1905
1976
|
|
1906
|
-
ALTER SEQUENCE users_id_seq OWNED BY users.id;
|
1977
|
+
ALTER SEQUENCE public.users_id_seq OWNED BY public.users.id;
|
1907
1978
|
|
1908
1979
|
|
1909
1980
|
--
|
1910
|
-
-- Name: vuln_attempts; Type: TABLE; Schema: public; Owner:
|
1981
|
+
-- Name: vuln_attempts; Type: TABLE; Schema: public; Owner: -
|
1911
1982
|
--
|
1912
1983
|
|
1913
|
-
CREATE TABLE vuln_attempts (
|
1984
|
+
CREATE TABLE public.vuln_attempts (
|
1914
1985
|
id integer NOT NULL,
|
1915
1986
|
vuln_id integer,
|
1916
1987
|
attempted_at timestamp without time zone,
|
@@ -1928,7 +1999,7 @@ CREATE TABLE vuln_attempts (
|
|
1928
1999
|
-- Name: vuln_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1929
2000
|
--
|
1930
2001
|
|
1931
|
-
CREATE SEQUENCE vuln_attempts_id_seq
|
2002
|
+
CREATE SEQUENCE public.vuln_attempts_id_seq
|
1932
2003
|
START WITH 1
|
1933
2004
|
INCREMENT BY 1
|
1934
2005
|
NO MINVALUE
|
@@ -1940,14 +2011,14 @@ CREATE SEQUENCE vuln_attempts_id_seq
|
|
1940
2011
|
-- Name: vuln_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1941
2012
|
--
|
1942
2013
|
|
1943
|
-
ALTER SEQUENCE vuln_attempts_id_seq OWNED BY vuln_attempts.id;
|
2014
|
+
ALTER SEQUENCE public.vuln_attempts_id_seq OWNED BY public.vuln_attempts.id;
|
1944
2015
|
|
1945
2016
|
|
1946
2017
|
--
|
1947
|
-
-- Name: vuln_details; Type: TABLE; Schema: public; Owner:
|
2018
|
+
-- Name: vuln_details; Type: TABLE; Schema: public; Owner: -
|
1948
2019
|
--
|
1949
2020
|
|
1950
|
-
CREATE TABLE vuln_details (
|
2021
|
+
CREATE TABLE public.vuln_details (
|
1951
2022
|
id integer NOT NULL,
|
1952
2023
|
vuln_id integer,
|
1953
2024
|
cvss_score double precision,
|
@@ -1978,7 +2049,7 @@ CREATE TABLE vuln_details (
|
|
1978
2049
|
-- Name: vuln_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1979
2050
|
--
|
1980
2051
|
|
1981
|
-
CREATE SEQUENCE vuln_details_id_seq
|
2052
|
+
CREATE SEQUENCE public.vuln_details_id_seq
|
1982
2053
|
START WITH 1
|
1983
2054
|
INCREMENT BY 1
|
1984
2055
|
NO MINVALUE
|
@@ -1990,14 +2061,14 @@ CREATE SEQUENCE vuln_details_id_seq
|
|
1990
2061
|
-- Name: vuln_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1991
2062
|
--
|
1992
2063
|
|
1993
|
-
ALTER SEQUENCE vuln_details_id_seq OWNED BY vuln_details.id;
|
2064
|
+
ALTER SEQUENCE public.vuln_details_id_seq OWNED BY public.vuln_details.id;
|
1994
2065
|
|
1995
2066
|
|
1996
2067
|
--
|
1997
|
-
-- Name: vulns; Type: TABLE; Schema: public; Owner:
|
2068
|
+
-- Name: vulns; Type: TABLE; Schema: public; Owner: -
|
1998
2069
|
--
|
1999
2070
|
|
2000
|
-
CREATE TABLE vulns (
|
2071
|
+
CREATE TABLE public.vulns (
|
2001
2072
|
id integer NOT NULL,
|
2002
2073
|
host_id integer,
|
2003
2074
|
service_id integer,
|
@@ -2017,7 +2088,7 @@ CREATE TABLE vulns (
|
|
2017
2088
|
-- Name: vulns_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2018
2089
|
--
|
2019
2090
|
|
2020
|
-
CREATE SEQUENCE vulns_id_seq
|
2091
|
+
CREATE SEQUENCE public.vulns_id_seq
|
2021
2092
|
START WITH 1
|
2022
2093
|
INCREMENT BY 1
|
2023
2094
|
NO MINVALUE
|
@@ -2029,14 +2100,14 @@ CREATE SEQUENCE vulns_id_seq
|
|
2029
2100
|
-- Name: vulns_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2030
2101
|
--
|
2031
2102
|
|
2032
|
-
ALTER SEQUENCE vulns_id_seq OWNED BY vulns.id;
|
2103
|
+
ALTER SEQUENCE public.vulns_id_seq OWNED BY public.vulns.id;
|
2033
2104
|
|
2034
2105
|
|
2035
2106
|
--
|
2036
|
-
-- Name: vulns_refs; Type: TABLE; Schema: public; Owner:
|
2107
|
+
-- Name: vulns_refs; Type: TABLE; Schema: public; Owner: -
|
2037
2108
|
--
|
2038
2109
|
|
2039
|
-
CREATE TABLE vulns_refs (
|
2110
|
+
CREATE TABLE public.vulns_refs (
|
2040
2111
|
ref_id integer,
|
2041
2112
|
vuln_id integer,
|
2042
2113
|
id integer NOT NULL
|
@@ -2047,7 +2118,7 @@ CREATE TABLE vulns_refs (
|
|
2047
2118
|
-- Name: vulns_refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2048
2119
|
--
|
2049
2120
|
|
2050
|
-
CREATE SEQUENCE vulns_refs_id_seq
|
2121
|
+
CREATE SEQUENCE public.vulns_refs_id_seq
|
2051
2122
|
START WITH 1
|
2052
2123
|
INCREMENT BY 1
|
2053
2124
|
NO MINVALUE
|
@@ -2059,14 +2130,14 @@ CREATE SEQUENCE vulns_refs_id_seq
|
|
2059
2130
|
-- Name: vulns_refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2060
2131
|
--
|
2061
2132
|
|
2062
|
-
ALTER SEQUENCE vulns_refs_id_seq OWNED BY vulns_refs.id;
|
2133
|
+
ALTER SEQUENCE public.vulns_refs_id_seq OWNED BY public.vulns_refs.id;
|
2063
2134
|
|
2064
2135
|
|
2065
2136
|
--
|
2066
|
-
-- Name: web_forms; Type: TABLE; Schema: public; Owner:
|
2137
|
+
-- Name: web_forms; Type: TABLE; Schema: public; Owner: -
|
2067
2138
|
--
|
2068
2139
|
|
2069
|
-
CREATE TABLE web_forms (
|
2140
|
+
CREATE TABLE public.web_forms (
|
2070
2141
|
id integer NOT NULL,
|
2071
2142
|
web_site_id integer NOT NULL,
|
2072
2143
|
created_at timestamp without time zone NOT NULL,
|
@@ -2082,7 +2153,7 @@ CREATE TABLE web_forms (
|
|
2082
2153
|
-- Name: web_forms_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2083
2154
|
--
|
2084
2155
|
|
2085
|
-
CREATE SEQUENCE web_forms_id_seq
|
2156
|
+
CREATE SEQUENCE public.web_forms_id_seq
|
2086
2157
|
START WITH 1
|
2087
2158
|
INCREMENT BY 1
|
2088
2159
|
NO MINVALUE
|
@@ -2094,14 +2165,14 @@ CREATE SEQUENCE web_forms_id_seq
|
|
2094
2165
|
-- Name: web_forms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2095
2166
|
--
|
2096
2167
|
|
2097
|
-
ALTER SEQUENCE web_forms_id_seq OWNED BY web_forms.id;
|
2168
|
+
ALTER SEQUENCE public.web_forms_id_seq OWNED BY public.web_forms.id;
|
2098
2169
|
|
2099
2170
|
|
2100
2171
|
--
|
2101
|
-
-- Name: web_pages; Type: TABLE; Schema: public; Owner:
|
2172
|
+
-- Name: web_pages; Type: TABLE; Schema: public; Owner: -
|
2102
2173
|
--
|
2103
2174
|
|
2104
|
-
CREATE TABLE web_pages (
|
2175
|
+
CREATE TABLE public.web_pages (
|
2105
2176
|
id integer NOT NULL,
|
2106
2177
|
web_site_id integer NOT NULL,
|
2107
2178
|
created_at timestamp without time zone NOT NULL,
|
@@ -2124,7 +2195,7 @@ CREATE TABLE web_pages (
|
|
2124
2195
|
-- Name: web_pages_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2125
2196
|
--
|
2126
2197
|
|
2127
|
-
CREATE SEQUENCE web_pages_id_seq
|
2198
|
+
CREATE SEQUENCE public.web_pages_id_seq
|
2128
2199
|
START WITH 1
|
2129
2200
|
INCREMENT BY 1
|
2130
2201
|
NO MINVALUE
|
@@ -2136,14 +2207,14 @@ CREATE SEQUENCE web_pages_id_seq
|
|
2136
2207
|
-- Name: web_pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2137
2208
|
--
|
2138
2209
|
|
2139
|
-
ALTER SEQUENCE web_pages_id_seq OWNED BY web_pages.id;
|
2210
|
+
ALTER SEQUENCE public.web_pages_id_seq OWNED BY public.web_pages.id;
|
2140
2211
|
|
2141
2212
|
|
2142
2213
|
--
|
2143
|
-
-- Name: web_sites; Type: TABLE; Schema: public; Owner:
|
2214
|
+
-- Name: web_sites; Type: TABLE; Schema: public; Owner: -
|
2144
2215
|
--
|
2145
2216
|
|
2146
|
-
CREATE TABLE web_sites (
|
2217
|
+
CREATE TABLE public.web_sites (
|
2147
2218
|
id integer NOT NULL,
|
2148
2219
|
service_id integer NOT NULL,
|
2149
2220
|
created_at timestamp without time zone NOT NULL,
|
@@ -2158,7 +2229,7 @@ CREATE TABLE web_sites (
|
|
2158
2229
|
-- Name: web_sites_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2159
2230
|
--
|
2160
2231
|
|
2161
|
-
CREATE SEQUENCE web_sites_id_seq
|
2232
|
+
CREATE SEQUENCE public.web_sites_id_seq
|
2162
2233
|
START WITH 1
|
2163
2234
|
INCREMENT BY 1
|
2164
2235
|
NO MINVALUE
|
@@ -2170,14 +2241,14 @@ CREATE SEQUENCE web_sites_id_seq
|
|
2170
2241
|
-- Name: web_sites_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2171
2242
|
--
|
2172
2243
|
|
2173
|
-
ALTER SEQUENCE web_sites_id_seq OWNED BY web_sites.id;
|
2244
|
+
ALTER SEQUENCE public.web_sites_id_seq OWNED BY public.web_sites.id;
|
2174
2245
|
|
2175
2246
|
|
2176
2247
|
--
|
2177
|
-
-- Name: web_vulns; Type: TABLE; Schema: public; Owner:
|
2248
|
+
-- Name: web_vulns; Type: TABLE; Schema: public; Owner: -
|
2178
2249
|
--
|
2179
2250
|
|
2180
|
-
CREATE TABLE web_vulns (
|
2251
|
+
CREATE TABLE public.web_vulns (
|
2181
2252
|
id integer NOT NULL,
|
2182
2253
|
web_site_id integer NOT NULL,
|
2183
2254
|
created_at timestamp without time zone NOT NULL,
|
@@ -2204,7 +2275,7 @@ CREATE TABLE web_vulns (
|
|
2204
2275
|
-- Name: web_vulns_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2205
2276
|
--
|
2206
2277
|
|
2207
|
-
CREATE SEQUENCE web_vulns_id_seq
|
2278
|
+
CREATE SEQUENCE public.web_vulns_id_seq
|
2208
2279
|
START WITH 1
|
2209
2280
|
INCREMENT BY 1
|
2210
2281
|
NO MINVALUE
|
@@ -2216,14 +2287,14 @@ CREATE SEQUENCE web_vulns_id_seq
|
|
2216
2287
|
-- Name: web_vulns_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2217
2288
|
--
|
2218
2289
|
|
2219
|
-
ALTER SEQUENCE web_vulns_id_seq OWNED BY web_vulns.id;
|
2290
|
+
ALTER SEQUENCE public.web_vulns_id_seq OWNED BY public.web_vulns.id;
|
2220
2291
|
|
2221
2292
|
|
2222
2293
|
--
|
2223
|
-
-- Name: wmap_requests; Type: TABLE; Schema: public; Owner:
|
2294
|
+
-- Name: wmap_requests; Type: TABLE; Schema: public; Owner: -
|
2224
2295
|
--
|
2225
2296
|
|
2226
|
-
CREATE TABLE wmap_requests (
|
2297
|
+
CREATE TABLE public.wmap_requests (
|
2227
2298
|
id integer NOT NULL,
|
2228
2299
|
host character varying,
|
2229
2300
|
address inet,
|
@@ -2246,7 +2317,7 @@ CREATE TABLE wmap_requests (
|
|
2246
2317
|
-- Name: wmap_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2247
2318
|
--
|
2248
2319
|
|
2249
|
-
CREATE SEQUENCE wmap_requests_id_seq
|
2320
|
+
CREATE SEQUENCE public.wmap_requests_id_seq
|
2250
2321
|
START WITH 1
|
2251
2322
|
INCREMENT BY 1
|
2252
2323
|
NO MINVALUE
|
@@ -2258,14 +2329,14 @@ CREATE SEQUENCE wmap_requests_id_seq
|
|
2258
2329
|
-- Name: wmap_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2259
2330
|
--
|
2260
2331
|
|
2261
|
-
ALTER SEQUENCE wmap_requests_id_seq OWNED BY wmap_requests.id;
|
2332
|
+
ALTER SEQUENCE public.wmap_requests_id_seq OWNED BY public.wmap_requests.id;
|
2262
2333
|
|
2263
2334
|
|
2264
2335
|
--
|
2265
|
-
-- Name: wmap_targets; Type: TABLE; Schema: public; Owner:
|
2336
|
+
-- Name: wmap_targets; Type: TABLE; Schema: public; Owner: -
|
2266
2337
|
--
|
2267
2338
|
|
2268
|
-
CREATE TABLE wmap_targets (
|
2339
|
+
CREATE TABLE public.wmap_targets (
|
2269
2340
|
id integer NOT NULL,
|
2270
2341
|
host character varying,
|
2271
2342
|
address inet,
|
@@ -2281,7 +2352,7 @@ CREATE TABLE wmap_targets (
|
|
2281
2352
|
-- Name: wmap_targets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2282
2353
|
--
|
2283
2354
|
|
2284
|
-
CREATE SEQUENCE wmap_targets_id_seq
|
2355
|
+
CREATE SEQUENCE public.wmap_targets_id_seq
|
2285
2356
|
START WITH 1
|
2286
2357
|
INCREMENT BY 1
|
2287
2358
|
NO MINVALUE
|
@@ -2293,24 +2364,24 @@ CREATE SEQUENCE wmap_targets_id_seq
|
|
2293
2364
|
-- Name: wmap_targets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2294
2365
|
--
|
2295
2366
|
|
2296
|
-
ALTER SEQUENCE wmap_targets_id_seq OWNED BY wmap_targets.id;
|
2367
|
+
ALTER SEQUENCE public.wmap_targets_id_seq OWNED BY public.wmap_targets.id;
|
2297
2368
|
|
2298
2369
|
|
2299
2370
|
--
|
2300
|
-
-- Name: workspace_members; Type: TABLE; Schema: public; Owner:
|
2371
|
+
-- Name: workspace_members; Type: TABLE; Schema: public; Owner: -
|
2301
2372
|
--
|
2302
2373
|
|
2303
|
-
CREATE TABLE workspace_members (
|
2374
|
+
CREATE TABLE public.workspace_members (
|
2304
2375
|
workspace_id integer NOT NULL,
|
2305
2376
|
user_id integer NOT NULL
|
2306
2377
|
);
|
2307
2378
|
|
2308
2379
|
|
2309
2380
|
--
|
2310
|
-
-- Name: workspaces; Type: TABLE; Schema: public; Owner:
|
2381
|
+
-- Name: workspaces; Type: TABLE; Schema: public; Owner: -
|
2311
2382
|
--
|
2312
2383
|
|
2313
|
-
CREATE TABLE workspaces (
|
2384
|
+
CREATE TABLE public.workspaces (
|
2314
2385
|
id integer NOT NULL,
|
2315
2386
|
name character varying,
|
2316
2387
|
created_at timestamp without time zone NOT NULL,
|
@@ -2327,7 +2398,7 @@ CREATE TABLE workspaces (
|
|
2327
2398
|
-- Name: workspaces_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2328
2399
|
--
|
2329
2400
|
|
2330
|
-
CREATE SEQUENCE workspaces_id_seq
|
2401
|
+
CREATE SEQUENCE public.workspaces_id_seq
|
2331
2402
|
START WITH 1
|
2332
2403
|
INCREMENT BY 1
|
2333
2404
|
NO MINVALUE
|
@@ -2339,1785 +2410,1679 @@ CREATE SEQUENCE workspaces_id_seq
|
|
2339
2410
|
-- Name: workspaces_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2340
2411
|
--
|
2341
2412
|
|
2342
|
-
ALTER SEQUENCE workspaces_id_seq OWNED BY workspaces.id;
|
2413
|
+
ALTER SEQUENCE public.workspaces_id_seq OWNED BY public.workspaces.id;
|
2343
2414
|
|
2344
2415
|
|
2345
2416
|
--
|
2346
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2417
|
+
-- Name: api_keys id; Type: DEFAULT; Schema: public; Owner: -
|
2347
2418
|
--
|
2348
2419
|
|
2349
|
-
ALTER TABLE ONLY api_keys ALTER COLUMN id SET DEFAULT nextval('api_keys_id_seq'::regclass);
|
2420
|
+
ALTER TABLE ONLY public.api_keys ALTER COLUMN id SET DEFAULT nextval('public.api_keys_id_seq'::regclass);
|
2350
2421
|
|
2351
2422
|
|
2352
2423
|
--
|
2353
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2424
|
+
-- Name: async_callbacks id; Type: DEFAULT; Schema: public; Owner: -
|
2354
2425
|
--
|
2355
2426
|
|
2356
|
-
ALTER TABLE ONLY
|
2427
|
+
ALTER TABLE ONLY public.async_callbacks ALTER COLUMN id SET DEFAULT nextval('public.async_callbacks_id_seq'::regclass);
|
2357
2428
|
|
2358
2429
|
|
2359
2430
|
--
|
2360
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2431
|
+
-- Name: automatic_exploitation_match_results id; Type: DEFAULT; Schema: public; Owner: -
|
2361
2432
|
--
|
2362
2433
|
|
2363
|
-
ALTER TABLE ONLY
|
2434
|
+
ALTER TABLE ONLY public.automatic_exploitation_match_results ALTER COLUMN id SET DEFAULT nextval('public.automatic_exploitation_match_results_id_seq'::regclass);
|
2364
2435
|
|
2365
2436
|
|
2366
2437
|
--
|
2367
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2438
|
+
-- Name: automatic_exploitation_match_sets id; Type: DEFAULT; Schema: public; Owner: -
|
2368
2439
|
--
|
2369
2440
|
|
2370
|
-
ALTER TABLE ONLY
|
2441
|
+
ALTER TABLE ONLY public.automatic_exploitation_match_sets ALTER COLUMN id SET DEFAULT nextval('public.automatic_exploitation_match_sets_id_seq'::regclass);
|
2371
2442
|
|
2372
2443
|
|
2373
2444
|
--
|
2374
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2445
|
+
-- Name: automatic_exploitation_matches id; Type: DEFAULT; Schema: public; Owner: -
|
2375
2446
|
--
|
2376
2447
|
|
2377
|
-
ALTER TABLE ONLY
|
2448
|
+
ALTER TABLE ONLY public.automatic_exploitation_matches ALTER COLUMN id SET DEFAULT nextval('public.automatic_exploitation_matches_id_seq'::regclass);
|
2378
2449
|
|
2379
2450
|
|
2380
2451
|
--
|
2381
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2452
|
+
-- Name: automatic_exploitation_runs id; Type: DEFAULT; Schema: public; Owner: -
|
2382
2453
|
--
|
2383
2454
|
|
2384
|
-
ALTER TABLE ONLY
|
2455
|
+
ALTER TABLE ONLY public.automatic_exploitation_runs ALTER COLUMN id SET DEFAULT nextval('public.automatic_exploitation_runs_id_seq'::regclass);
|
2385
2456
|
|
2386
2457
|
|
2387
2458
|
--
|
2388
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2459
|
+
-- Name: clients id; Type: DEFAULT; Schema: public; Owner: -
|
2389
2460
|
--
|
2390
2461
|
|
2391
|
-
ALTER TABLE ONLY
|
2462
|
+
ALTER TABLE ONLY public.clients ALTER COLUMN id SET DEFAULT nextval('public.clients_id_seq'::regclass);
|
2392
2463
|
|
2393
2464
|
|
2394
2465
|
--
|
2395
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2466
|
+
-- Name: creds id; Type: DEFAULT; Schema: public; Owner: -
|
2396
2467
|
--
|
2397
2468
|
|
2398
|
-
ALTER TABLE ONLY
|
2469
|
+
ALTER TABLE ONLY public.creds ALTER COLUMN id SET DEFAULT nextval('public.creds_id_seq'::regclass);
|
2399
2470
|
|
2400
2471
|
|
2401
2472
|
--
|
2402
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2473
|
+
-- Name: events id; Type: DEFAULT; Schema: public; Owner: -
|
2403
2474
|
--
|
2404
2475
|
|
2405
|
-
ALTER TABLE ONLY
|
2476
|
+
ALTER TABLE ONLY public.events ALTER COLUMN id SET DEFAULT nextval('public.events_id_seq'::regclass);
|
2406
2477
|
|
2407
2478
|
|
2408
2479
|
--
|
2409
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2480
|
+
-- Name: exploit_attempts id; Type: DEFAULT; Schema: public; Owner: -
|
2410
2481
|
--
|
2411
2482
|
|
2412
|
-
ALTER TABLE ONLY
|
2483
|
+
ALTER TABLE ONLY public.exploit_attempts ALTER COLUMN id SET DEFAULT nextval('public.exploit_attempts_id_seq'::regclass);
|
2413
2484
|
|
2414
2485
|
|
2415
2486
|
--
|
2416
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2487
|
+
-- Name: exploited_hosts id; Type: DEFAULT; Schema: public; Owner: -
|
2417
2488
|
--
|
2418
2489
|
|
2419
|
-
ALTER TABLE ONLY
|
2490
|
+
ALTER TABLE ONLY public.exploited_hosts ALTER COLUMN id SET DEFAULT nextval('public.exploited_hosts_id_seq'::regclass);
|
2420
2491
|
|
2421
2492
|
|
2422
2493
|
--
|
2423
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2494
|
+
-- Name: host_details id; Type: DEFAULT; Schema: public; Owner: -
|
2424
2495
|
--
|
2425
2496
|
|
2426
|
-
ALTER TABLE ONLY
|
2497
|
+
ALTER TABLE ONLY public.host_details ALTER COLUMN id SET DEFAULT nextval('public.host_details_id_seq'::regclass);
|
2427
2498
|
|
2428
2499
|
|
2429
2500
|
--
|
2430
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2501
|
+
-- Name: hosts id; Type: DEFAULT; Schema: public; Owner: -
|
2431
2502
|
--
|
2432
2503
|
|
2433
|
-
ALTER TABLE ONLY
|
2504
|
+
ALTER TABLE ONLY public.hosts ALTER COLUMN id SET DEFAULT nextval('public.hosts_id_seq'::regclass);
|
2434
2505
|
|
2435
2506
|
|
2436
2507
|
--
|
2437
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2508
|
+
-- Name: hosts_tags id; Type: DEFAULT; Schema: public; Owner: -
|
2438
2509
|
--
|
2439
2510
|
|
2440
|
-
ALTER TABLE ONLY
|
2511
|
+
ALTER TABLE ONLY public.hosts_tags ALTER COLUMN id SET DEFAULT nextval('public.hosts_tags_id_seq'::regclass);
|
2441
2512
|
|
2442
2513
|
|
2443
2514
|
--
|
2444
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2515
|
+
-- Name: listeners id; Type: DEFAULT; Schema: public; Owner: -
|
2445
2516
|
--
|
2446
2517
|
|
2447
|
-
ALTER TABLE ONLY
|
2518
|
+
ALTER TABLE ONLY public.listeners ALTER COLUMN id SET DEFAULT nextval('public.listeners_id_seq'::regclass);
|
2448
2519
|
|
2449
2520
|
|
2450
2521
|
--
|
2451
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2522
|
+
-- Name: loots id; Type: DEFAULT; Schema: public; Owner: -
|
2452
2523
|
--
|
2453
2524
|
|
2454
|
-
ALTER TABLE ONLY
|
2525
|
+
ALTER TABLE ONLY public.loots ALTER COLUMN id SET DEFAULT nextval('public.loots_id_seq'::regclass);
|
2455
2526
|
|
2456
2527
|
|
2457
2528
|
--
|
2458
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2529
|
+
-- Name: macros id; Type: DEFAULT; Schema: public; Owner: -
|
2459
2530
|
--
|
2460
2531
|
|
2461
|
-
ALTER TABLE ONLY
|
2532
|
+
ALTER TABLE ONLY public.macros ALTER COLUMN id SET DEFAULT nextval('public.macros_id_seq'::regclass);
|
2462
2533
|
|
2463
2534
|
|
2464
2535
|
--
|
2465
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2536
|
+
-- Name: metasploit_credential_cores id; Type: DEFAULT; Schema: public; Owner: -
|
2466
2537
|
--
|
2467
2538
|
|
2468
|
-
ALTER TABLE ONLY
|
2539
|
+
ALTER TABLE ONLY public.metasploit_credential_cores ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_cores_id_seq'::regclass);
|
2469
2540
|
|
2470
2541
|
|
2471
2542
|
--
|
2472
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2543
|
+
-- Name: metasploit_credential_logins id; Type: DEFAULT; Schema: public; Owner: -
|
2473
2544
|
--
|
2474
2545
|
|
2475
|
-
ALTER TABLE ONLY
|
2546
|
+
ALTER TABLE ONLY public.metasploit_credential_logins ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_logins_id_seq'::regclass);
|
2476
2547
|
|
2477
2548
|
|
2478
2549
|
--
|
2479
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2550
|
+
-- Name: metasploit_credential_origin_cracked_passwords id; Type: DEFAULT; Schema: public; Owner: -
|
2480
2551
|
--
|
2481
2552
|
|
2482
|
-
ALTER TABLE ONLY
|
2553
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_cracked_passwords ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_origin_cracked_passwords_id_seq'::regclass);
|
2483
2554
|
|
2484
2555
|
|
2485
2556
|
--
|
2486
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2557
|
+
-- Name: metasploit_credential_origin_imports id; Type: DEFAULT; Schema: public; Owner: -
|
2487
2558
|
--
|
2488
2559
|
|
2489
|
-
ALTER TABLE ONLY
|
2560
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_imports ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_origin_imports_id_seq'::regclass);
|
2490
2561
|
|
2491
2562
|
|
2492
2563
|
--
|
2493
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2564
|
+
-- Name: metasploit_credential_origin_manuals id; Type: DEFAULT; Schema: public; Owner: -
|
2494
2565
|
--
|
2495
2566
|
|
2496
|
-
ALTER TABLE ONLY
|
2567
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_manuals ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_origin_manuals_id_seq'::regclass);
|
2497
2568
|
|
2498
2569
|
|
2499
2570
|
--
|
2500
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2571
|
+
-- Name: metasploit_credential_origin_services id; Type: DEFAULT; Schema: public; Owner: -
|
2501
2572
|
--
|
2502
2573
|
|
2503
|
-
ALTER TABLE ONLY
|
2574
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_services ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_origin_services_id_seq'::regclass);
|
2504
2575
|
|
2505
2576
|
|
2506
2577
|
--
|
2507
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2578
|
+
-- Name: metasploit_credential_origin_sessions id; Type: DEFAULT; Schema: public; Owner: -
|
2508
2579
|
--
|
2509
2580
|
|
2510
|
-
ALTER TABLE ONLY
|
2581
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_sessions ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_origin_sessions_id_seq'::regclass);
|
2511
2582
|
|
2512
2583
|
|
2513
2584
|
--
|
2514
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2585
|
+
-- Name: metasploit_credential_privates id; Type: DEFAULT; Schema: public; Owner: -
|
2515
2586
|
--
|
2516
2587
|
|
2517
|
-
ALTER TABLE ONLY
|
2588
|
+
ALTER TABLE ONLY public.metasploit_credential_privates ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_privates_id_seq'::regclass);
|
2518
2589
|
|
2519
2590
|
|
2520
2591
|
--
|
2521
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2592
|
+
-- Name: metasploit_credential_publics id; Type: DEFAULT; Schema: public; Owner: -
|
2522
2593
|
--
|
2523
2594
|
|
2524
|
-
ALTER TABLE ONLY
|
2595
|
+
ALTER TABLE ONLY public.metasploit_credential_publics ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_publics_id_seq'::regclass);
|
2525
2596
|
|
2526
2597
|
|
2527
2598
|
--
|
2528
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2599
|
+
-- Name: metasploit_credential_realms id; Type: DEFAULT; Schema: public; Owner: -
|
2529
2600
|
--
|
2530
2601
|
|
2531
|
-
ALTER TABLE ONLY
|
2602
|
+
ALTER TABLE ONLY public.metasploit_credential_realms ALTER COLUMN id SET DEFAULT nextval('public.metasploit_credential_realms_id_seq'::regclass);
|
2532
2603
|
|
2533
2604
|
|
2534
2605
|
--
|
2535
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2606
|
+
-- Name: mod_refs id; Type: DEFAULT; Schema: public; Owner: -
|
2536
2607
|
--
|
2537
2608
|
|
2538
|
-
ALTER TABLE ONLY
|
2609
|
+
ALTER TABLE ONLY public.mod_refs ALTER COLUMN id SET DEFAULT nextval('public.mod_refs_id_seq'::regclass);
|
2539
2610
|
|
2540
2611
|
|
2541
2612
|
--
|
2542
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2613
|
+
-- Name: module_actions id; Type: DEFAULT; Schema: public; Owner: -
|
2543
2614
|
--
|
2544
2615
|
|
2545
|
-
ALTER TABLE ONLY
|
2616
|
+
ALTER TABLE ONLY public.module_actions ALTER COLUMN id SET DEFAULT nextval('public.module_actions_id_seq'::regclass);
|
2546
2617
|
|
2547
2618
|
|
2548
2619
|
--
|
2549
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2620
|
+
-- Name: module_archs id; Type: DEFAULT; Schema: public; Owner: -
|
2550
2621
|
--
|
2551
2622
|
|
2552
|
-
ALTER TABLE ONLY
|
2623
|
+
ALTER TABLE ONLY public.module_archs ALTER COLUMN id SET DEFAULT nextval('public.module_archs_id_seq'::regclass);
|
2553
2624
|
|
2554
2625
|
|
2555
2626
|
--
|
2556
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2627
|
+
-- Name: module_authors id; Type: DEFAULT; Schema: public; Owner: -
|
2557
2628
|
--
|
2558
2629
|
|
2559
|
-
ALTER TABLE ONLY
|
2630
|
+
ALTER TABLE ONLY public.module_authors ALTER COLUMN id SET DEFAULT nextval('public.module_authors_id_seq'::regclass);
|
2560
2631
|
|
2561
2632
|
|
2562
2633
|
--
|
2563
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2634
|
+
-- Name: module_details id; Type: DEFAULT; Schema: public; Owner: -
|
2564
2635
|
--
|
2565
2636
|
|
2566
|
-
ALTER TABLE ONLY
|
2637
|
+
ALTER TABLE ONLY public.module_details ALTER COLUMN id SET DEFAULT nextval('public.module_details_id_seq'::regclass);
|
2567
2638
|
|
2568
2639
|
|
2569
2640
|
--
|
2570
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2641
|
+
-- Name: module_mixins id; Type: DEFAULT; Schema: public; Owner: -
|
2571
2642
|
--
|
2572
2643
|
|
2573
|
-
ALTER TABLE ONLY
|
2644
|
+
ALTER TABLE ONLY public.module_mixins ALTER COLUMN id SET DEFAULT nextval('public.module_mixins_id_seq'::regclass);
|
2574
2645
|
|
2575
2646
|
|
2576
2647
|
--
|
2577
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2648
|
+
-- Name: module_platforms id; Type: DEFAULT; Schema: public; Owner: -
|
2578
2649
|
--
|
2579
2650
|
|
2580
|
-
ALTER TABLE ONLY
|
2651
|
+
ALTER TABLE ONLY public.module_platforms ALTER COLUMN id SET DEFAULT nextval('public.module_platforms_id_seq'::regclass);
|
2581
2652
|
|
2582
2653
|
|
2583
2654
|
--
|
2584
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2655
|
+
-- Name: module_refs id; Type: DEFAULT; Schema: public; Owner: -
|
2585
2656
|
--
|
2586
2657
|
|
2587
|
-
ALTER TABLE ONLY
|
2658
|
+
ALTER TABLE ONLY public.module_refs ALTER COLUMN id SET DEFAULT nextval('public.module_refs_id_seq'::regclass);
|
2588
2659
|
|
2589
2660
|
|
2590
2661
|
--
|
2591
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2662
|
+
-- Name: module_runs id; Type: DEFAULT; Schema: public; Owner: -
|
2592
2663
|
--
|
2593
2664
|
|
2594
|
-
ALTER TABLE ONLY
|
2665
|
+
ALTER TABLE ONLY public.module_runs ALTER COLUMN id SET DEFAULT nextval('public.module_runs_id_seq'::regclass);
|
2595
2666
|
|
2596
2667
|
|
2597
2668
|
--
|
2598
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2669
|
+
-- Name: module_targets id; Type: DEFAULT; Schema: public; Owner: -
|
2599
2670
|
--
|
2600
2671
|
|
2601
|
-
ALTER TABLE ONLY
|
2672
|
+
ALTER TABLE ONLY public.module_targets ALTER COLUMN id SET DEFAULT nextval('public.module_targets_id_seq'::regclass);
|
2602
2673
|
|
2603
2674
|
|
2604
2675
|
--
|
2605
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2676
|
+
-- Name: nexpose_consoles id; Type: DEFAULT; Schema: public; Owner: -
|
2606
2677
|
--
|
2607
2678
|
|
2608
|
-
ALTER TABLE ONLY
|
2679
|
+
ALTER TABLE ONLY public.nexpose_consoles ALTER COLUMN id SET DEFAULT nextval('public.nexpose_consoles_id_seq'::regclass);
|
2609
2680
|
|
2610
2681
|
|
2611
2682
|
--
|
2612
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2683
|
+
-- Name: notes id; Type: DEFAULT; Schema: public; Owner: -
|
2613
2684
|
--
|
2614
2685
|
|
2615
|
-
ALTER TABLE ONLY
|
2686
|
+
ALTER TABLE ONLY public.notes ALTER COLUMN id SET DEFAULT nextval('public.notes_id_seq'::regclass);
|
2616
2687
|
|
2617
2688
|
|
2618
2689
|
--
|
2619
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2690
|
+
-- Name: payloads id; Type: DEFAULT; Schema: public; Owner: -
|
2620
2691
|
--
|
2621
2692
|
|
2622
|
-
ALTER TABLE ONLY
|
2693
|
+
ALTER TABLE ONLY public.payloads ALTER COLUMN id SET DEFAULT nextval('public.payloads_id_seq'::regclass);
|
2623
2694
|
|
2624
2695
|
|
2625
2696
|
--
|
2626
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2697
|
+
-- Name: profiles id; Type: DEFAULT; Schema: public; Owner: -
|
2627
2698
|
--
|
2628
2699
|
|
2629
|
-
ALTER TABLE ONLY
|
2700
|
+
ALTER TABLE ONLY public.profiles ALTER COLUMN id SET DEFAULT nextval('public.profiles_id_seq'::regclass);
|
2630
2701
|
|
2631
2702
|
|
2632
2703
|
--
|
2633
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2704
|
+
-- Name: refs id; Type: DEFAULT; Schema: public; Owner: -
|
2634
2705
|
--
|
2635
2706
|
|
2636
|
-
ALTER TABLE ONLY
|
2707
|
+
ALTER TABLE ONLY public.refs ALTER COLUMN id SET DEFAULT nextval('public.refs_id_seq'::regclass);
|
2637
2708
|
|
2638
2709
|
|
2639
2710
|
--
|
2640
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2711
|
+
-- Name: report_templates id; Type: DEFAULT; Schema: public; Owner: -
|
2641
2712
|
--
|
2642
2713
|
|
2643
|
-
ALTER TABLE ONLY
|
2714
|
+
ALTER TABLE ONLY public.report_templates ALTER COLUMN id SET DEFAULT nextval('public.report_templates_id_seq'::regclass);
|
2644
2715
|
|
2645
2716
|
|
2646
2717
|
--
|
2647
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2718
|
+
-- Name: reports id; Type: DEFAULT; Schema: public; Owner: -
|
2648
2719
|
--
|
2649
2720
|
|
2650
|
-
ALTER TABLE ONLY
|
2721
|
+
ALTER TABLE ONLY public.reports ALTER COLUMN id SET DEFAULT nextval('public.reports_id_seq'::regclass);
|
2651
2722
|
|
2652
2723
|
|
2653
2724
|
--
|
2654
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2725
|
+
-- Name: routes id; Type: DEFAULT; Schema: public; Owner: -
|
2655
2726
|
--
|
2656
2727
|
|
2657
|
-
ALTER TABLE ONLY
|
2728
|
+
ALTER TABLE ONLY public.routes ALTER COLUMN id SET DEFAULT nextval('public.routes_id_seq'::regclass);
|
2658
2729
|
|
2659
2730
|
|
2660
2731
|
--
|
2661
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2732
|
+
-- Name: services id; Type: DEFAULT; Schema: public; Owner: -
|
2662
2733
|
--
|
2663
2734
|
|
2664
|
-
ALTER TABLE ONLY
|
2735
|
+
ALTER TABLE ONLY public.services ALTER COLUMN id SET DEFAULT nextval('public.services_id_seq'::regclass);
|
2665
2736
|
|
2666
2737
|
|
2667
2738
|
--
|
2668
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2739
|
+
-- Name: session_events id; Type: DEFAULT; Schema: public; Owner: -
|
2669
2740
|
--
|
2670
2741
|
|
2671
|
-
ALTER TABLE ONLY
|
2742
|
+
ALTER TABLE ONLY public.session_events ALTER COLUMN id SET DEFAULT nextval('public.session_events_id_seq'::regclass);
|
2672
2743
|
|
2673
2744
|
|
2674
2745
|
--
|
2675
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2746
|
+
-- Name: sessions id; Type: DEFAULT; Schema: public; Owner: -
|
2676
2747
|
--
|
2677
2748
|
|
2678
|
-
ALTER TABLE ONLY
|
2749
|
+
ALTER TABLE ONLY public.sessions ALTER COLUMN id SET DEFAULT nextval('public.sessions_id_seq'::regclass);
|
2679
2750
|
|
2680
2751
|
|
2681
2752
|
--
|
2682
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2753
|
+
-- Name: tags id; Type: DEFAULT; Schema: public; Owner: -
|
2683
2754
|
--
|
2684
2755
|
|
2685
|
-
ALTER TABLE ONLY
|
2756
|
+
ALTER TABLE ONLY public.tags ALTER COLUMN id SET DEFAULT nextval('public.tags_id_seq'::regclass);
|
2686
2757
|
|
2687
2758
|
|
2688
2759
|
--
|
2689
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2760
|
+
-- Name: task_creds id; Type: DEFAULT; Schema: public; Owner: -
|
2690
2761
|
--
|
2691
2762
|
|
2692
|
-
ALTER TABLE ONLY
|
2763
|
+
ALTER TABLE ONLY public.task_creds ALTER COLUMN id SET DEFAULT nextval('public.task_creds_id_seq'::regclass);
|
2693
2764
|
|
2694
2765
|
|
2695
2766
|
--
|
2696
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2767
|
+
-- Name: task_hosts id; Type: DEFAULT; Schema: public; Owner: -
|
2697
2768
|
--
|
2698
2769
|
|
2699
|
-
ALTER TABLE ONLY
|
2770
|
+
ALTER TABLE ONLY public.task_hosts ALTER COLUMN id SET DEFAULT nextval('public.task_hosts_id_seq'::regclass);
|
2700
2771
|
|
2701
2772
|
|
2702
2773
|
--
|
2703
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2774
|
+
-- Name: task_services id; Type: DEFAULT; Schema: public; Owner: -
|
2704
2775
|
--
|
2705
2776
|
|
2706
|
-
ALTER TABLE ONLY
|
2777
|
+
ALTER TABLE ONLY public.task_services ALTER COLUMN id SET DEFAULT nextval('public.task_services_id_seq'::regclass);
|
2707
2778
|
|
2708
2779
|
|
2709
2780
|
--
|
2710
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2781
|
+
-- Name: task_sessions id; Type: DEFAULT; Schema: public; Owner: -
|
2711
2782
|
--
|
2712
2783
|
|
2713
|
-
ALTER TABLE ONLY
|
2784
|
+
ALTER TABLE ONLY public.task_sessions ALTER COLUMN id SET DEFAULT nextval('public.task_sessions_id_seq'::regclass);
|
2714
2785
|
|
2715
2786
|
|
2716
2787
|
--
|
2717
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2788
|
+
-- Name: tasks id; Type: DEFAULT; Schema: public; Owner: -
|
2718
2789
|
--
|
2719
2790
|
|
2720
|
-
ALTER TABLE ONLY
|
2791
|
+
ALTER TABLE ONLY public.tasks ALTER COLUMN id SET DEFAULT nextval('public.tasks_id_seq'::regclass);
|
2721
2792
|
|
2722
2793
|
|
2723
2794
|
--
|
2724
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2795
|
+
-- Name: users id; Type: DEFAULT; Schema: public; Owner: -
|
2725
2796
|
--
|
2726
2797
|
|
2727
|
-
ALTER TABLE ONLY
|
2798
|
+
ALTER TABLE ONLY public.users ALTER COLUMN id SET DEFAULT nextval('public.users_id_seq'::regclass);
|
2728
2799
|
|
2729
2800
|
|
2730
2801
|
--
|
2731
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2802
|
+
-- Name: vuln_attempts id; Type: DEFAULT; Schema: public; Owner: -
|
2732
2803
|
--
|
2733
2804
|
|
2734
|
-
ALTER TABLE ONLY
|
2805
|
+
ALTER TABLE ONLY public.vuln_attempts ALTER COLUMN id SET DEFAULT nextval('public.vuln_attempts_id_seq'::regclass);
|
2735
2806
|
|
2736
2807
|
|
2737
2808
|
--
|
2738
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2809
|
+
-- Name: vuln_details id; Type: DEFAULT; Schema: public; Owner: -
|
2739
2810
|
--
|
2740
2811
|
|
2741
|
-
ALTER TABLE ONLY
|
2812
|
+
ALTER TABLE ONLY public.vuln_details ALTER COLUMN id SET DEFAULT nextval('public.vuln_details_id_seq'::regclass);
|
2742
2813
|
|
2743
2814
|
|
2744
2815
|
--
|
2745
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2816
|
+
-- Name: vulns id; Type: DEFAULT; Schema: public; Owner: -
|
2746
2817
|
--
|
2747
2818
|
|
2748
|
-
ALTER TABLE ONLY
|
2819
|
+
ALTER TABLE ONLY public.vulns ALTER COLUMN id SET DEFAULT nextval('public.vulns_id_seq'::regclass);
|
2749
2820
|
|
2750
2821
|
|
2751
2822
|
--
|
2752
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2823
|
+
-- Name: vulns_refs id; Type: DEFAULT; Schema: public; Owner: -
|
2753
2824
|
--
|
2754
2825
|
|
2755
|
-
ALTER TABLE ONLY
|
2826
|
+
ALTER TABLE ONLY public.vulns_refs ALTER COLUMN id SET DEFAULT nextval('public.vulns_refs_id_seq'::regclass);
|
2756
2827
|
|
2757
2828
|
|
2758
2829
|
--
|
2759
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2830
|
+
-- Name: web_forms id; Type: DEFAULT; Schema: public; Owner: -
|
2760
2831
|
--
|
2761
2832
|
|
2762
|
-
ALTER TABLE ONLY
|
2833
|
+
ALTER TABLE ONLY public.web_forms ALTER COLUMN id SET DEFAULT nextval('public.web_forms_id_seq'::regclass);
|
2763
2834
|
|
2764
2835
|
|
2765
2836
|
--
|
2766
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2837
|
+
-- Name: web_pages id; Type: DEFAULT; Schema: public; Owner: -
|
2767
2838
|
--
|
2768
2839
|
|
2769
|
-
ALTER TABLE ONLY
|
2840
|
+
ALTER TABLE ONLY public.web_pages ALTER COLUMN id SET DEFAULT nextval('public.web_pages_id_seq'::regclass);
|
2770
2841
|
|
2771
2842
|
|
2772
2843
|
--
|
2773
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2844
|
+
-- Name: web_sites id; Type: DEFAULT; Schema: public; Owner: -
|
2774
2845
|
--
|
2775
2846
|
|
2776
|
-
ALTER TABLE ONLY
|
2847
|
+
ALTER TABLE ONLY public.web_sites ALTER COLUMN id SET DEFAULT nextval('public.web_sites_id_seq'::regclass);
|
2777
2848
|
|
2778
2849
|
|
2779
2850
|
--
|
2780
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2851
|
+
-- Name: web_vulns id; Type: DEFAULT; Schema: public; Owner: -
|
2781
2852
|
--
|
2782
2853
|
|
2783
|
-
ALTER TABLE ONLY
|
2854
|
+
ALTER TABLE ONLY public.web_vulns ALTER COLUMN id SET DEFAULT nextval('public.web_vulns_id_seq'::regclass);
|
2784
2855
|
|
2785
2856
|
|
2786
2857
|
--
|
2787
|
-
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
2858
|
+
-- Name: wmap_requests id; Type: DEFAULT; Schema: public; Owner: -
|
2788
2859
|
--
|
2789
2860
|
|
2790
|
-
ALTER TABLE ONLY
|
2861
|
+
ALTER TABLE ONLY public.wmap_requests ALTER COLUMN id SET DEFAULT nextval('public.wmap_requests_id_seq'::regclass);
|
2791
2862
|
|
2792
2863
|
|
2793
2864
|
--
|
2794
|
-
-- Name:
|
2865
|
+
-- Name: wmap_targets id; Type: DEFAULT; Schema: public; Owner: -
|
2795
2866
|
--
|
2796
2867
|
|
2797
|
-
ALTER TABLE ONLY
|
2868
|
+
ALTER TABLE ONLY public.wmap_targets ALTER COLUMN id SET DEFAULT nextval('public.wmap_targets_id_seq'::regclass);
|
2869
|
+
|
2870
|
+
|
2871
|
+
--
|
2872
|
+
-- Name: workspaces id; Type: DEFAULT; Schema: public; Owner: -
|
2873
|
+
--
|
2874
|
+
|
2875
|
+
ALTER TABLE ONLY public.workspaces ALTER COLUMN id SET DEFAULT nextval('public.workspaces_id_seq'::regclass);
|
2876
|
+
|
2877
|
+
|
2878
|
+
--
|
2879
|
+
-- Name: api_keys api_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2880
|
+
--
|
2881
|
+
|
2882
|
+
ALTER TABLE ONLY public.api_keys
|
2798
2883
|
ADD CONSTRAINT api_keys_pkey PRIMARY KEY (id);
|
2799
2884
|
|
2800
2885
|
|
2801
2886
|
--
|
2802
|
-
-- Name:
|
2887
|
+
-- Name: ar_internal_metadata ar_internal_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2803
2888
|
--
|
2804
2889
|
|
2805
|
-
ALTER TABLE ONLY
|
2890
|
+
ALTER TABLE ONLY public.ar_internal_metadata
|
2891
|
+
ADD CONSTRAINT ar_internal_metadata_pkey PRIMARY KEY (key);
|
2892
|
+
|
2893
|
+
|
2894
|
+
--
|
2895
|
+
-- Name: async_callbacks async_callbacks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2896
|
+
--
|
2897
|
+
|
2898
|
+
ALTER TABLE ONLY public.async_callbacks
|
2899
|
+
ADD CONSTRAINT async_callbacks_pkey PRIMARY KEY (id);
|
2900
|
+
|
2901
|
+
|
2902
|
+
--
|
2903
|
+
-- Name: automatic_exploitation_match_results automatic_exploitation_match_results_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2904
|
+
--
|
2905
|
+
|
2906
|
+
ALTER TABLE ONLY public.automatic_exploitation_match_results
|
2806
2907
|
ADD CONSTRAINT automatic_exploitation_match_results_pkey PRIMARY KEY (id);
|
2807
2908
|
|
2808
2909
|
|
2809
2910
|
--
|
2810
|
-
-- Name: automatic_exploitation_match_sets_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2911
|
+
-- Name: automatic_exploitation_match_sets automatic_exploitation_match_sets_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2811
2912
|
--
|
2812
2913
|
|
2813
|
-
ALTER TABLE ONLY automatic_exploitation_match_sets
|
2914
|
+
ALTER TABLE ONLY public.automatic_exploitation_match_sets
|
2814
2915
|
ADD CONSTRAINT automatic_exploitation_match_sets_pkey PRIMARY KEY (id);
|
2815
2916
|
|
2816
2917
|
|
2817
2918
|
--
|
2818
|
-
-- Name: automatic_exploitation_matches_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2919
|
+
-- Name: automatic_exploitation_matches automatic_exploitation_matches_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2819
2920
|
--
|
2820
2921
|
|
2821
|
-
ALTER TABLE ONLY automatic_exploitation_matches
|
2922
|
+
ALTER TABLE ONLY public.automatic_exploitation_matches
|
2822
2923
|
ADD CONSTRAINT automatic_exploitation_matches_pkey PRIMARY KEY (id);
|
2823
2924
|
|
2824
2925
|
|
2825
2926
|
--
|
2826
|
-
-- Name: automatic_exploitation_runs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2927
|
+
-- Name: automatic_exploitation_runs automatic_exploitation_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2827
2928
|
--
|
2828
2929
|
|
2829
|
-
ALTER TABLE ONLY automatic_exploitation_runs
|
2930
|
+
ALTER TABLE ONLY public.automatic_exploitation_runs
|
2830
2931
|
ADD CONSTRAINT automatic_exploitation_runs_pkey PRIMARY KEY (id);
|
2831
2932
|
|
2832
2933
|
|
2833
2934
|
--
|
2834
|
-
-- Name: clients_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2935
|
+
-- Name: clients clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2835
2936
|
--
|
2836
2937
|
|
2837
|
-
ALTER TABLE ONLY clients
|
2938
|
+
ALTER TABLE ONLY public.clients
|
2838
2939
|
ADD CONSTRAINT clients_pkey PRIMARY KEY (id);
|
2839
2940
|
|
2840
2941
|
|
2841
2942
|
--
|
2842
|
-
-- Name: creds_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2943
|
+
-- Name: creds creds_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2843
2944
|
--
|
2844
2945
|
|
2845
|
-
ALTER TABLE ONLY creds
|
2946
|
+
ALTER TABLE ONLY public.creds
|
2846
2947
|
ADD CONSTRAINT creds_pkey PRIMARY KEY (id);
|
2847
2948
|
|
2848
2949
|
|
2849
2950
|
--
|
2850
|
-
-- Name: events_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2951
|
+
-- Name: events events_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2851
2952
|
--
|
2852
2953
|
|
2853
|
-
ALTER TABLE ONLY events
|
2954
|
+
ALTER TABLE ONLY public.events
|
2854
2955
|
ADD CONSTRAINT events_pkey PRIMARY KEY (id);
|
2855
2956
|
|
2856
2957
|
|
2857
2958
|
--
|
2858
|
-
-- Name: exploit_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2959
|
+
-- Name: exploit_attempts exploit_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2859
2960
|
--
|
2860
2961
|
|
2861
|
-
ALTER TABLE ONLY exploit_attempts
|
2962
|
+
ALTER TABLE ONLY public.exploit_attempts
|
2862
2963
|
ADD CONSTRAINT exploit_attempts_pkey PRIMARY KEY (id);
|
2863
2964
|
|
2864
2965
|
|
2865
2966
|
--
|
2866
|
-
-- Name: exploited_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2967
|
+
-- Name: exploited_hosts exploited_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2867
2968
|
--
|
2868
2969
|
|
2869
|
-
ALTER TABLE ONLY exploited_hosts
|
2970
|
+
ALTER TABLE ONLY public.exploited_hosts
|
2870
2971
|
ADD CONSTRAINT exploited_hosts_pkey PRIMARY KEY (id);
|
2871
2972
|
|
2872
2973
|
|
2873
2974
|
--
|
2874
|
-
-- Name: host_details_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2975
|
+
-- Name: host_details host_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2875
2976
|
--
|
2876
2977
|
|
2877
|
-
ALTER TABLE ONLY host_details
|
2978
|
+
ALTER TABLE ONLY public.host_details
|
2878
2979
|
ADD CONSTRAINT host_details_pkey PRIMARY KEY (id);
|
2879
2980
|
|
2880
2981
|
|
2881
2982
|
--
|
2882
|
-
-- Name: hosts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2983
|
+
-- Name: hosts hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2883
2984
|
--
|
2884
2985
|
|
2885
|
-
ALTER TABLE ONLY hosts
|
2986
|
+
ALTER TABLE ONLY public.hosts
|
2886
2987
|
ADD CONSTRAINT hosts_pkey PRIMARY KEY (id);
|
2887
2988
|
|
2888
2989
|
|
2889
2990
|
--
|
2890
|
-
-- Name: hosts_tags_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2991
|
+
-- Name: hosts_tags hosts_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2891
2992
|
--
|
2892
2993
|
|
2893
|
-
ALTER TABLE ONLY hosts_tags
|
2994
|
+
ALTER TABLE ONLY public.hosts_tags
|
2894
2995
|
ADD CONSTRAINT hosts_tags_pkey PRIMARY KEY (id);
|
2895
2996
|
|
2896
2997
|
|
2897
2998
|
--
|
2898
|
-
-- Name: listeners_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
2999
|
+
-- Name: listeners listeners_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2899
3000
|
--
|
2900
3001
|
|
2901
|
-
ALTER TABLE ONLY listeners
|
3002
|
+
ALTER TABLE ONLY public.listeners
|
2902
3003
|
ADD CONSTRAINT listeners_pkey PRIMARY KEY (id);
|
2903
3004
|
|
2904
3005
|
|
2905
3006
|
--
|
2906
|
-
-- Name: loots_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3007
|
+
-- Name: loots loots_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2907
3008
|
--
|
2908
3009
|
|
2909
|
-
ALTER TABLE ONLY loots
|
3010
|
+
ALTER TABLE ONLY public.loots
|
2910
3011
|
ADD CONSTRAINT loots_pkey PRIMARY KEY (id);
|
2911
3012
|
|
2912
3013
|
|
2913
3014
|
--
|
2914
|
-
-- Name: macros_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3015
|
+
-- Name: macros macros_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2915
3016
|
--
|
2916
3017
|
|
2917
|
-
ALTER TABLE ONLY macros
|
3018
|
+
ALTER TABLE ONLY public.macros
|
2918
3019
|
ADD CONSTRAINT macros_pkey PRIMARY KEY (id);
|
2919
3020
|
|
2920
3021
|
|
2921
3022
|
--
|
2922
|
-
-- Name: metasploit_credential_cores_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3023
|
+
-- Name: metasploit_credential_cores metasploit_credential_cores_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2923
3024
|
--
|
2924
3025
|
|
2925
|
-
ALTER TABLE ONLY metasploit_credential_cores
|
3026
|
+
ALTER TABLE ONLY public.metasploit_credential_cores
|
2926
3027
|
ADD CONSTRAINT metasploit_credential_cores_pkey PRIMARY KEY (id);
|
2927
3028
|
|
2928
3029
|
|
2929
3030
|
--
|
2930
|
-
-- Name: metasploit_credential_logins_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3031
|
+
-- Name: metasploit_credential_logins metasploit_credential_logins_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2931
3032
|
--
|
2932
3033
|
|
2933
|
-
ALTER TABLE ONLY metasploit_credential_logins
|
3034
|
+
ALTER TABLE ONLY public.metasploit_credential_logins
|
2934
3035
|
ADD CONSTRAINT metasploit_credential_logins_pkey PRIMARY KEY (id);
|
2935
3036
|
|
2936
3037
|
|
2937
3038
|
--
|
2938
|
-
-- Name: metasploit_credential_origin_cracked_passwords_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3039
|
+
-- Name: metasploit_credential_origin_cracked_passwords metasploit_credential_origin_cracked_passwords_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2939
3040
|
--
|
2940
3041
|
|
2941
|
-
ALTER TABLE ONLY metasploit_credential_origin_cracked_passwords
|
3042
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_cracked_passwords
|
2942
3043
|
ADD CONSTRAINT metasploit_credential_origin_cracked_passwords_pkey PRIMARY KEY (id);
|
2943
3044
|
|
2944
3045
|
|
2945
3046
|
--
|
2946
|
-
-- Name: metasploit_credential_origin_imports_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3047
|
+
-- Name: metasploit_credential_origin_imports metasploit_credential_origin_imports_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2947
3048
|
--
|
2948
3049
|
|
2949
|
-
ALTER TABLE ONLY metasploit_credential_origin_imports
|
3050
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_imports
|
2950
3051
|
ADD CONSTRAINT metasploit_credential_origin_imports_pkey PRIMARY KEY (id);
|
2951
3052
|
|
2952
3053
|
|
2953
3054
|
--
|
2954
|
-
-- Name: metasploit_credential_origin_manuals_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3055
|
+
-- Name: metasploit_credential_origin_manuals metasploit_credential_origin_manuals_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2955
3056
|
--
|
2956
3057
|
|
2957
|
-
ALTER TABLE ONLY metasploit_credential_origin_manuals
|
3058
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_manuals
|
2958
3059
|
ADD CONSTRAINT metasploit_credential_origin_manuals_pkey PRIMARY KEY (id);
|
2959
3060
|
|
2960
3061
|
|
2961
3062
|
--
|
2962
|
-
-- Name: metasploit_credential_origin_services_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3063
|
+
-- Name: metasploit_credential_origin_services metasploit_credential_origin_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2963
3064
|
--
|
2964
3065
|
|
2965
|
-
ALTER TABLE ONLY metasploit_credential_origin_services
|
3066
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_services
|
2966
3067
|
ADD CONSTRAINT metasploit_credential_origin_services_pkey PRIMARY KEY (id);
|
2967
3068
|
|
2968
3069
|
|
2969
3070
|
--
|
2970
|
-
-- Name: metasploit_credential_origin_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3071
|
+
-- Name: metasploit_credential_origin_sessions metasploit_credential_origin_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2971
3072
|
--
|
2972
3073
|
|
2973
|
-
ALTER TABLE ONLY metasploit_credential_origin_sessions
|
3074
|
+
ALTER TABLE ONLY public.metasploit_credential_origin_sessions
|
2974
3075
|
ADD CONSTRAINT metasploit_credential_origin_sessions_pkey PRIMARY KEY (id);
|
2975
3076
|
|
2976
3077
|
|
2977
3078
|
--
|
2978
|
-
-- Name: metasploit_credential_privates_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3079
|
+
-- Name: metasploit_credential_privates metasploit_credential_privates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2979
3080
|
--
|
2980
3081
|
|
2981
|
-
ALTER TABLE ONLY metasploit_credential_privates
|
3082
|
+
ALTER TABLE ONLY public.metasploit_credential_privates
|
2982
3083
|
ADD CONSTRAINT metasploit_credential_privates_pkey PRIMARY KEY (id);
|
2983
3084
|
|
2984
3085
|
|
2985
3086
|
--
|
2986
|
-
-- Name: metasploit_credential_publics_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3087
|
+
-- Name: metasploit_credential_publics metasploit_credential_publics_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2987
3088
|
--
|
2988
3089
|
|
2989
|
-
ALTER TABLE ONLY metasploit_credential_publics
|
3090
|
+
ALTER TABLE ONLY public.metasploit_credential_publics
|
2990
3091
|
ADD CONSTRAINT metasploit_credential_publics_pkey PRIMARY KEY (id);
|
2991
3092
|
|
2992
3093
|
|
2993
3094
|
--
|
2994
|
-
-- Name: metasploit_credential_realms_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3095
|
+
-- Name: metasploit_credential_realms metasploit_credential_realms_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
2995
3096
|
--
|
2996
3097
|
|
2997
|
-
ALTER TABLE ONLY metasploit_credential_realms
|
3098
|
+
ALTER TABLE ONLY public.metasploit_credential_realms
|
2998
3099
|
ADD CONSTRAINT metasploit_credential_realms_pkey PRIMARY KEY (id);
|
2999
3100
|
|
3000
3101
|
|
3001
3102
|
--
|
3002
|
-
-- Name: mod_refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3103
|
+
-- Name: mod_refs mod_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3003
3104
|
--
|
3004
3105
|
|
3005
|
-
ALTER TABLE ONLY mod_refs
|
3106
|
+
ALTER TABLE ONLY public.mod_refs
|
3006
3107
|
ADD CONSTRAINT mod_refs_pkey PRIMARY KEY (id);
|
3007
3108
|
|
3008
3109
|
|
3009
3110
|
--
|
3010
|
-
-- Name: module_actions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3111
|
+
-- Name: module_actions module_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3011
3112
|
--
|
3012
3113
|
|
3013
|
-
ALTER TABLE ONLY module_actions
|
3114
|
+
ALTER TABLE ONLY public.module_actions
|
3014
3115
|
ADD CONSTRAINT module_actions_pkey PRIMARY KEY (id);
|
3015
3116
|
|
3016
3117
|
|
3017
3118
|
--
|
3018
|
-
-- Name: module_archs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3119
|
+
-- Name: module_archs module_archs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3019
3120
|
--
|
3020
3121
|
|
3021
|
-
ALTER TABLE ONLY module_archs
|
3122
|
+
ALTER TABLE ONLY public.module_archs
|
3022
3123
|
ADD CONSTRAINT module_archs_pkey PRIMARY KEY (id);
|
3023
3124
|
|
3024
3125
|
|
3025
3126
|
--
|
3026
|
-
-- Name: module_authors_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3127
|
+
-- Name: module_authors module_authors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3027
3128
|
--
|
3028
3129
|
|
3029
|
-
ALTER TABLE ONLY module_authors
|
3130
|
+
ALTER TABLE ONLY public.module_authors
|
3030
3131
|
ADD CONSTRAINT module_authors_pkey PRIMARY KEY (id);
|
3031
3132
|
|
3032
3133
|
|
3033
3134
|
--
|
3034
|
-
-- Name: module_details_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3135
|
+
-- Name: module_details module_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3035
3136
|
--
|
3036
3137
|
|
3037
|
-
ALTER TABLE ONLY module_details
|
3138
|
+
ALTER TABLE ONLY public.module_details
|
3038
3139
|
ADD CONSTRAINT module_details_pkey PRIMARY KEY (id);
|
3039
3140
|
|
3040
3141
|
|
3041
3142
|
--
|
3042
|
-
-- Name: module_mixins_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3143
|
+
-- Name: module_mixins module_mixins_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3043
3144
|
--
|
3044
3145
|
|
3045
|
-
ALTER TABLE ONLY module_mixins
|
3146
|
+
ALTER TABLE ONLY public.module_mixins
|
3046
3147
|
ADD CONSTRAINT module_mixins_pkey PRIMARY KEY (id);
|
3047
3148
|
|
3048
3149
|
|
3049
3150
|
--
|
3050
|
-
-- Name: module_platforms_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3151
|
+
-- Name: module_platforms module_platforms_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3051
3152
|
--
|
3052
3153
|
|
3053
|
-
ALTER TABLE ONLY module_platforms
|
3154
|
+
ALTER TABLE ONLY public.module_platforms
|
3054
3155
|
ADD CONSTRAINT module_platforms_pkey PRIMARY KEY (id);
|
3055
3156
|
|
3056
3157
|
|
3057
3158
|
--
|
3058
|
-
-- Name: module_refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3159
|
+
-- Name: module_refs module_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3059
3160
|
--
|
3060
3161
|
|
3061
|
-
ALTER TABLE ONLY module_refs
|
3162
|
+
ALTER TABLE ONLY public.module_refs
|
3062
3163
|
ADD CONSTRAINT module_refs_pkey PRIMARY KEY (id);
|
3063
3164
|
|
3064
3165
|
|
3065
3166
|
--
|
3066
|
-
-- Name: module_runs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3167
|
+
-- Name: module_runs module_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3067
3168
|
--
|
3068
3169
|
|
3069
|
-
ALTER TABLE ONLY module_runs
|
3170
|
+
ALTER TABLE ONLY public.module_runs
|
3070
3171
|
ADD CONSTRAINT module_runs_pkey PRIMARY KEY (id);
|
3071
3172
|
|
3072
3173
|
|
3073
3174
|
--
|
3074
|
-
-- Name: module_targets_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3175
|
+
-- Name: module_targets module_targets_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3075
3176
|
--
|
3076
3177
|
|
3077
|
-
ALTER TABLE ONLY module_targets
|
3178
|
+
ALTER TABLE ONLY public.module_targets
|
3078
3179
|
ADD CONSTRAINT module_targets_pkey PRIMARY KEY (id);
|
3079
3180
|
|
3080
3181
|
|
3081
3182
|
--
|
3082
|
-
-- Name: nexpose_consoles_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3183
|
+
-- Name: nexpose_consoles nexpose_consoles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3083
3184
|
--
|
3084
3185
|
|
3085
|
-
ALTER TABLE ONLY nexpose_consoles
|
3186
|
+
ALTER TABLE ONLY public.nexpose_consoles
|
3086
3187
|
ADD CONSTRAINT nexpose_consoles_pkey PRIMARY KEY (id);
|
3087
3188
|
|
3088
3189
|
|
3089
3190
|
--
|
3090
|
-
-- Name: notes_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3191
|
+
-- Name: notes notes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3091
3192
|
--
|
3092
3193
|
|
3093
|
-
ALTER TABLE ONLY notes
|
3194
|
+
ALTER TABLE ONLY public.notes
|
3094
3195
|
ADD CONSTRAINT notes_pkey PRIMARY KEY (id);
|
3095
3196
|
|
3096
3197
|
|
3097
3198
|
--
|
3098
|
-
-- Name:
|
3199
|
+
-- Name: payloads payloads_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3200
|
+
--
|
3201
|
+
|
3202
|
+
ALTER TABLE ONLY public.payloads
|
3203
|
+
ADD CONSTRAINT payloads_pkey PRIMARY KEY (id);
|
3204
|
+
|
3205
|
+
|
3206
|
+
--
|
3207
|
+
-- Name: profiles profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3099
3208
|
--
|
3100
3209
|
|
3101
|
-
ALTER TABLE ONLY profiles
|
3210
|
+
ALTER TABLE ONLY public.profiles
|
3102
3211
|
ADD CONSTRAINT profiles_pkey PRIMARY KEY (id);
|
3103
3212
|
|
3104
3213
|
|
3105
3214
|
--
|
3106
|
-
-- Name: refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3215
|
+
-- Name: refs refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3107
3216
|
--
|
3108
3217
|
|
3109
|
-
ALTER TABLE ONLY refs
|
3218
|
+
ALTER TABLE ONLY public.refs
|
3110
3219
|
ADD CONSTRAINT refs_pkey PRIMARY KEY (id);
|
3111
3220
|
|
3112
3221
|
|
3113
3222
|
--
|
3114
|
-
-- Name: report_templates_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3223
|
+
-- Name: report_templates report_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3115
3224
|
--
|
3116
3225
|
|
3117
|
-
ALTER TABLE ONLY report_templates
|
3226
|
+
ALTER TABLE ONLY public.report_templates
|
3118
3227
|
ADD CONSTRAINT report_templates_pkey PRIMARY KEY (id);
|
3119
3228
|
|
3120
3229
|
|
3121
3230
|
--
|
3122
|
-
-- Name: reports_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3231
|
+
-- Name: reports reports_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3123
3232
|
--
|
3124
3233
|
|
3125
|
-
ALTER TABLE ONLY reports
|
3234
|
+
ALTER TABLE ONLY public.reports
|
3126
3235
|
ADD CONSTRAINT reports_pkey PRIMARY KEY (id);
|
3127
3236
|
|
3128
3237
|
|
3129
3238
|
--
|
3130
|
-
-- Name: routes_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3239
|
+
-- Name: routes routes_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3131
3240
|
--
|
3132
3241
|
|
3133
|
-
ALTER TABLE ONLY routes
|
3242
|
+
ALTER TABLE ONLY public.routes
|
3134
3243
|
ADD CONSTRAINT routes_pkey PRIMARY KEY (id);
|
3135
3244
|
|
3136
3245
|
|
3137
3246
|
--
|
3138
|
-
-- Name:
|
3247
|
+
-- Name: schema_migrations schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3139
3248
|
--
|
3140
3249
|
|
3141
|
-
ALTER TABLE ONLY
|
3250
|
+
ALTER TABLE ONLY public.schema_migrations
|
3251
|
+
ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (version);
|
3252
|
+
|
3253
|
+
|
3254
|
+
--
|
3255
|
+
-- Name: services services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3256
|
+
--
|
3257
|
+
|
3258
|
+
ALTER TABLE ONLY public.services
|
3142
3259
|
ADD CONSTRAINT services_pkey PRIMARY KEY (id);
|
3143
3260
|
|
3144
3261
|
|
3145
3262
|
--
|
3146
|
-
-- Name: session_events_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3263
|
+
-- Name: session_events session_events_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3147
3264
|
--
|
3148
3265
|
|
3149
|
-
ALTER TABLE ONLY session_events
|
3266
|
+
ALTER TABLE ONLY public.session_events
|
3150
3267
|
ADD CONSTRAINT session_events_pkey PRIMARY KEY (id);
|
3151
3268
|
|
3152
3269
|
|
3153
3270
|
--
|
3154
|
-
-- Name: sessions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3271
|
+
-- Name: sessions sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3155
3272
|
--
|
3156
3273
|
|
3157
|
-
ALTER TABLE ONLY sessions
|
3274
|
+
ALTER TABLE ONLY public.sessions
|
3158
3275
|
ADD CONSTRAINT sessions_pkey PRIMARY KEY (id);
|
3159
3276
|
|
3160
3277
|
|
3161
3278
|
--
|
3162
|
-
-- Name: tags_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3279
|
+
-- Name: tags tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3163
3280
|
--
|
3164
3281
|
|
3165
|
-
ALTER TABLE ONLY tags
|
3282
|
+
ALTER TABLE ONLY public.tags
|
3166
3283
|
ADD CONSTRAINT tags_pkey PRIMARY KEY (id);
|
3167
3284
|
|
3168
3285
|
|
3169
3286
|
--
|
3170
|
-
-- Name: task_creds_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3287
|
+
-- Name: task_creds task_creds_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3171
3288
|
--
|
3172
3289
|
|
3173
|
-
ALTER TABLE ONLY task_creds
|
3290
|
+
ALTER TABLE ONLY public.task_creds
|
3174
3291
|
ADD CONSTRAINT task_creds_pkey PRIMARY KEY (id);
|
3175
3292
|
|
3176
3293
|
|
3177
3294
|
--
|
3178
|
-
-- Name: task_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3295
|
+
-- Name: task_hosts task_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3179
3296
|
--
|
3180
3297
|
|
3181
|
-
ALTER TABLE ONLY task_hosts
|
3298
|
+
ALTER TABLE ONLY public.task_hosts
|
3182
3299
|
ADD CONSTRAINT task_hosts_pkey PRIMARY KEY (id);
|
3183
3300
|
|
3184
3301
|
|
3185
3302
|
--
|
3186
|
-
-- Name: task_services_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3303
|
+
-- Name: task_services task_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3187
3304
|
--
|
3188
3305
|
|
3189
|
-
ALTER TABLE ONLY task_services
|
3306
|
+
ALTER TABLE ONLY public.task_services
|
3190
3307
|
ADD CONSTRAINT task_services_pkey PRIMARY KEY (id);
|
3191
3308
|
|
3192
3309
|
|
3193
3310
|
--
|
3194
|
-
-- Name: task_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3311
|
+
-- Name: task_sessions task_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3195
3312
|
--
|
3196
3313
|
|
3197
|
-
ALTER TABLE ONLY task_sessions
|
3314
|
+
ALTER TABLE ONLY public.task_sessions
|
3198
3315
|
ADD CONSTRAINT task_sessions_pkey PRIMARY KEY (id);
|
3199
3316
|
|
3200
3317
|
|
3201
3318
|
--
|
3202
|
-
-- Name: tasks_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3319
|
+
-- Name: tasks tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3203
3320
|
--
|
3204
3321
|
|
3205
|
-
ALTER TABLE ONLY tasks
|
3322
|
+
ALTER TABLE ONLY public.tasks
|
3206
3323
|
ADD CONSTRAINT tasks_pkey PRIMARY KEY (id);
|
3207
3324
|
|
3208
3325
|
|
3209
3326
|
--
|
3210
|
-
-- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3327
|
+
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3211
3328
|
--
|
3212
3329
|
|
3213
|
-
ALTER TABLE ONLY users
|
3330
|
+
ALTER TABLE ONLY public.users
|
3214
3331
|
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
|
3215
3332
|
|
3216
3333
|
|
3217
3334
|
--
|
3218
|
-
-- Name: vuln_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3335
|
+
-- Name: vuln_attempts vuln_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3219
3336
|
--
|
3220
3337
|
|
3221
|
-
ALTER TABLE ONLY vuln_attempts
|
3338
|
+
ALTER TABLE ONLY public.vuln_attempts
|
3222
3339
|
ADD CONSTRAINT vuln_attempts_pkey PRIMARY KEY (id);
|
3223
3340
|
|
3224
3341
|
|
3225
3342
|
--
|
3226
|
-
-- Name: vuln_details_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3343
|
+
-- Name: vuln_details vuln_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3227
3344
|
--
|
3228
3345
|
|
3229
|
-
ALTER TABLE ONLY vuln_details
|
3346
|
+
ALTER TABLE ONLY public.vuln_details
|
3230
3347
|
ADD CONSTRAINT vuln_details_pkey PRIMARY KEY (id);
|
3231
3348
|
|
3232
3349
|
|
3233
3350
|
--
|
3234
|
-
-- Name: vulns_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3351
|
+
-- Name: vulns vulns_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3235
3352
|
--
|
3236
3353
|
|
3237
|
-
ALTER TABLE ONLY vulns
|
3354
|
+
ALTER TABLE ONLY public.vulns
|
3238
3355
|
ADD CONSTRAINT vulns_pkey PRIMARY KEY (id);
|
3239
3356
|
|
3240
3357
|
|
3241
3358
|
--
|
3242
|
-
-- Name: vulns_refs_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3359
|
+
-- Name: vulns_refs vulns_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3243
3360
|
--
|
3244
3361
|
|
3245
|
-
ALTER TABLE ONLY vulns_refs
|
3362
|
+
ALTER TABLE ONLY public.vulns_refs
|
3246
3363
|
ADD CONSTRAINT vulns_refs_pkey PRIMARY KEY (id);
|
3247
3364
|
|
3248
3365
|
|
3249
3366
|
--
|
3250
|
-
-- Name: web_forms_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3367
|
+
-- Name: web_forms web_forms_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3251
3368
|
--
|
3252
3369
|
|
3253
|
-
ALTER TABLE ONLY web_forms
|
3370
|
+
ALTER TABLE ONLY public.web_forms
|
3254
3371
|
ADD CONSTRAINT web_forms_pkey PRIMARY KEY (id);
|
3255
3372
|
|
3256
3373
|
|
3257
3374
|
--
|
3258
|
-
-- Name: web_pages_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3375
|
+
-- Name: web_pages web_pages_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3259
3376
|
--
|
3260
3377
|
|
3261
|
-
ALTER TABLE ONLY web_pages
|
3378
|
+
ALTER TABLE ONLY public.web_pages
|
3262
3379
|
ADD CONSTRAINT web_pages_pkey PRIMARY KEY (id);
|
3263
3380
|
|
3264
3381
|
|
3265
3382
|
--
|
3266
|
-
-- Name: web_sites_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3383
|
+
-- Name: web_sites web_sites_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3267
3384
|
--
|
3268
3385
|
|
3269
|
-
ALTER TABLE ONLY web_sites
|
3386
|
+
ALTER TABLE ONLY public.web_sites
|
3270
3387
|
ADD CONSTRAINT web_sites_pkey PRIMARY KEY (id);
|
3271
3388
|
|
3272
3389
|
|
3273
3390
|
--
|
3274
|
-
-- Name: web_vulns_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3391
|
+
-- Name: web_vulns web_vulns_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3275
3392
|
--
|
3276
3393
|
|
3277
|
-
ALTER TABLE ONLY web_vulns
|
3394
|
+
ALTER TABLE ONLY public.web_vulns
|
3278
3395
|
ADD CONSTRAINT web_vulns_pkey PRIMARY KEY (id);
|
3279
3396
|
|
3280
3397
|
|
3281
3398
|
--
|
3282
|
-
-- Name: wmap_requests_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3399
|
+
-- Name: wmap_requests wmap_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3283
3400
|
--
|
3284
3401
|
|
3285
|
-
ALTER TABLE ONLY wmap_requests
|
3402
|
+
ALTER TABLE ONLY public.wmap_requests
|
3286
3403
|
ADD CONSTRAINT wmap_requests_pkey PRIMARY KEY (id);
|
3287
3404
|
|
3288
3405
|
|
3289
3406
|
--
|
3290
|
-
-- Name: wmap_targets_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3407
|
+
-- Name: wmap_targets wmap_targets_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3291
3408
|
--
|
3292
3409
|
|
3293
|
-
ALTER TABLE ONLY wmap_targets
|
3410
|
+
ALTER TABLE ONLY public.wmap_targets
|
3294
3411
|
ADD CONSTRAINT wmap_targets_pkey PRIMARY KEY (id);
|
3295
3412
|
|
3296
3413
|
|
3297
3414
|
--
|
3298
|
-
-- Name: workspaces_pkey; Type: CONSTRAINT; Schema: public; Owner:
|
3415
|
+
-- Name: workspaces workspaces_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
3299
3416
|
--
|
3300
3417
|
|
3301
|
-
ALTER TABLE ONLY workspaces
|
3418
|
+
ALTER TABLE ONLY public.workspaces
|
3302
3419
|
ADD CONSTRAINT workspaces_pkey PRIMARY KEY (id);
|
3303
3420
|
|
3304
3421
|
|
3305
3422
|
--
|
3306
|
-
-- Name: index_automatic_exploitation_match_results_on_match_id; Type: INDEX; Schema: public; Owner:
|
3423
|
+
-- Name: index_automatic_exploitation_match_results_on_match_id; Type: INDEX; Schema: public; Owner: -
|
3307
3424
|
--
|
3308
3425
|
|
3309
|
-
CREATE INDEX index_automatic_exploitation_match_results_on_match_id ON automatic_exploitation_match_results USING btree (match_id);
|
3426
|
+
CREATE INDEX index_automatic_exploitation_match_results_on_match_id ON public.automatic_exploitation_match_results USING btree (match_id);
|
3310
3427
|
|
3311
3428
|
|
3312
3429
|
--
|
3313
|
-
-- Name: index_automatic_exploitation_match_results_on_run_id; Type: INDEX; Schema: public; Owner:
|
3430
|
+
-- Name: index_automatic_exploitation_match_results_on_run_id; Type: INDEX; Schema: public; Owner: -
|
3314
3431
|
--
|
3315
3432
|
|
3316
|
-
CREATE INDEX index_automatic_exploitation_match_results_on_run_id ON automatic_exploitation_match_results USING btree (run_id);
|
3433
|
+
CREATE INDEX index_automatic_exploitation_match_results_on_run_id ON public.automatic_exploitation_match_results USING btree (run_id);
|
3317
3434
|
|
3318
3435
|
|
3319
3436
|
--
|
3320
|
-
-- Name: index_automatic_exploitation_match_sets_on_user_id; Type: INDEX; Schema: public; Owner:
|
3437
|
+
-- Name: index_automatic_exploitation_match_sets_on_user_id; Type: INDEX; Schema: public; Owner: -
|
3321
3438
|
--
|
3322
3439
|
|
3323
|
-
CREATE INDEX index_automatic_exploitation_match_sets_on_user_id ON automatic_exploitation_match_sets USING btree (user_id);
|
3440
|
+
CREATE INDEX index_automatic_exploitation_match_sets_on_user_id ON public.automatic_exploitation_match_sets USING btree (user_id);
|
3324
3441
|
|
3325
3442
|
|
3326
3443
|
--
|
3327
|
-
-- Name: index_automatic_exploitation_match_sets_on_workspace_id; Type: INDEX; Schema: public; Owner:
|
3444
|
+
-- Name: index_automatic_exploitation_match_sets_on_workspace_id; Type: INDEX; Schema: public; Owner: -
|
3328
3445
|
--
|
3329
3446
|
|
3330
|
-
CREATE INDEX index_automatic_exploitation_match_sets_on_workspace_id ON automatic_exploitation_match_sets USING btree (workspace_id);
|
3447
|
+
CREATE INDEX index_automatic_exploitation_match_sets_on_workspace_id ON public.automatic_exploitation_match_sets USING btree (workspace_id);
|
3331
3448
|
|
3332
3449
|
|
3333
3450
|
--
|
3334
|
-
-- Name: index_automatic_exploitation_matches_on_module_detail_id; Type: INDEX; Schema: public; Owner:
|
3451
|
+
-- Name: index_automatic_exploitation_matches_on_module_detail_id; Type: INDEX; Schema: public; Owner: -
|
3335
3452
|
--
|
3336
3453
|
|
3337
|
-
CREATE INDEX index_automatic_exploitation_matches_on_module_detail_id ON automatic_exploitation_matches USING btree (module_detail_id);
|
3454
|
+
CREATE INDEX index_automatic_exploitation_matches_on_module_detail_id ON public.automatic_exploitation_matches USING btree (module_detail_id);
|
3338
3455
|
|
3339
3456
|
|
3340
3457
|
--
|
3341
|
-
-- Name: index_automatic_exploitation_matches_on_module_fullname; Type: INDEX; Schema: public; Owner:
|
3458
|
+
-- Name: index_automatic_exploitation_matches_on_module_fullname; Type: INDEX; Schema: public; Owner: -
|
3342
3459
|
--
|
3343
3460
|
|
3344
|
-
CREATE INDEX index_automatic_exploitation_matches_on_module_fullname ON automatic_exploitation_matches USING btree (module_fullname);
|
3461
|
+
CREATE INDEX index_automatic_exploitation_matches_on_module_fullname ON public.automatic_exploitation_matches USING btree (module_fullname);
|
3345
3462
|
|
3346
3463
|
|
3347
3464
|
--
|
3348
|
-
-- Name: index_automatic_exploitation_runs_on_match_set_id; Type: INDEX; Schema: public; Owner:
|
3465
|
+
-- Name: index_automatic_exploitation_runs_on_match_set_id; Type: INDEX; Schema: public; Owner: -
|
3349
3466
|
--
|
3350
3467
|
|
3351
|
-
CREATE INDEX index_automatic_exploitation_runs_on_match_set_id ON automatic_exploitation_runs USING btree (match_set_id);
|
3468
|
+
CREATE INDEX index_automatic_exploitation_runs_on_match_set_id ON public.automatic_exploitation_runs USING btree (match_set_id);
|
3352
3469
|
|
3353
3470
|
|
3354
3471
|
--
|
3355
|
-
-- Name: index_automatic_exploitation_runs_on_user_id; Type: INDEX; Schema: public; Owner:
|
3472
|
+
-- Name: index_automatic_exploitation_runs_on_user_id; Type: INDEX; Schema: public; Owner: -
|
3356
3473
|
--
|
3357
3474
|
|
3358
|
-
CREATE INDEX index_automatic_exploitation_runs_on_user_id ON automatic_exploitation_runs USING btree (user_id);
|
3475
|
+
CREATE INDEX index_automatic_exploitation_runs_on_user_id ON public.automatic_exploitation_runs USING btree (user_id);
|
3359
3476
|
|
3360
3477
|
|
3361
3478
|
--
|
3362
|
-
-- Name: index_automatic_exploitation_runs_on_workspace_id; Type: INDEX; Schema: public; Owner:
|
3479
|
+
-- Name: index_automatic_exploitation_runs_on_workspace_id; Type: INDEX; Schema: public; Owner: -
|
3363
3480
|
--
|
3364
3481
|
|
3365
|
-
CREATE INDEX index_automatic_exploitation_runs_on_workspace_id ON automatic_exploitation_runs USING btree (workspace_id);
|
3482
|
+
CREATE INDEX index_automatic_exploitation_runs_on_workspace_id ON public.automatic_exploitation_runs USING btree (workspace_id);
|
3366
3483
|
|
3367
3484
|
|
3368
3485
|
--
|
3369
|
-
-- Name: index_hosts_on_name; Type: INDEX; Schema: public; Owner:
|
3486
|
+
-- Name: index_hosts_on_name; Type: INDEX; Schema: public; Owner: -
|
3370
3487
|
--
|
3371
3488
|
|
3372
|
-
CREATE INDEX index_hosts_on_name ON hosts USING btree (name);
|
3489
|
+
CREATE INDEX index_hosts_on_name ON public.hosts USING btree (name);
|
3373
3490
|
|
3374
3491
|
|
3375
3492
|
--
|
3376
|
-
-- Name: index_hosts_on_os_flavor; Type: INDEX; Schema: public; Owner:
|
3493
|
+
-- Name: index_hosts_on_os_flavor; Type: INDEX; Schema: public; Owner: -
|
3377
3494
|
--
|
3378
3495
|
|
3379
|
-
CREATE INDEX index_hosts_on_os_flavor ON hosts USING btree (os_flavor);
|
3496
|
+
CREATE INDEX index_hosts_on_os_flavor ON public.hosts USING btree (os_flavor);
|
3380
3497
|
|
3381
3498
|
|
3382
3499
|
--
|
3383
|
-
-- Name: index_hosts_on_os_name; Type: INDEX; Schema: public; Owner:
|
3500
|
+
-- Name: index_hosts_on_os_name; Type: INDEX; Schema: public; Owner: -
|
3384
3501
|
--
|
3385
3502
|
|
3386
|
-
CREATE INDEX index_hosts_on_os_name ON hosts USING btree (os_name);
|
3503
|
+
CREATE INDEX index_hosts_on_os_name ON public.hosts USING btree (os_name);
|
3387
3504
|
|
3388
3505
|
|
3389
3506
|
--
|
3390
|
-
-- Name: index_hosts_on_purpose; Type: INDEX; Schema: public; Owner:
|
3507
|
+
-- Name: index_hosts_on_purpose; Type: INDEX; Schema: public; Owner: -
|
3391
3508
|
--
|
3392
3509
|
|
3393
|
-
CREATE INDEX index_hosts_on_purpose ON hosts USING btree (purpose);
|
3510
|
+
CREATE INDEX index_hosts_on_purpose ON public.hosts USING btree (purpose);
|
3394
3511
|
|
3395
3512
|
|
3396
3513
|
--
|
3397
|
-
-- Name: index_hosts_on_state; Type: INDEX; Schema: public; Owner:
|
3514
|
+
-- Name: index_hosts_on_state; Type: INDEX; Schema: public; Owner: -
|
3398
3515
|
--
|
3399
3516
|
|
3400
|
-
CREATE INDEX index_hosts_on_state ON hosts USING btree (state);
|
3517
|
+
CREATE INDEX index_hosts_on_state ON public.hosts USING btree (state);
|
3401
3518
|
|
3402
3519
|
|
3403
3520
|
--
|
3404
|
-
-- Name: index_hosts_on_workspace_id_and_address; Type: INDEX; Schema: public; Owner:
|
3521
|
+
-- Name: index_hosts_on_workspace_id_and_address; Type: INDEX; Schema: public; Owner: -
|
3405
3522
|
--
|
3406
3523
|
|
3407
|
-
CREATE UNIQUE INDEX index_hosts_on_workspace_id_and_address ON hosts USING btree (workspace_id, address);
|
3524
|
+
CREATE UNIQUE INDEX index_hosts_on_workspace_id_and_address ON public.hosts USING btree (workspace_id, address);
|
3408
3525
|
|
3409
3526
|
|
3410
3527
|
--
|
3411
|
-
-- Name: index_loots_on_module_run_id; Type: INDEX; Schema: public; Owner:
|
3528
|
+
-- Name: index_loots_on_module_run_id; Type: INDEX; Schema: public; Owner: -
|
3412
3529
|
--
|
3413
3530
|
|
3414
|
-
CREATE INDEX index_loots_on_module_run_id ON loots USING btree (module_run_id);
|
3531
|
+
CREATE INDEX index_loots_on_module_run_id ON public.loots USING btree (module_run_id);
|
3415
3532
|
|
3416
3533
|
|
3417
3534
|
--
|
3418
|
-
-- Name: index_metasploit_credential_cores_on_origin_type_and_origin_id; Type: INDEX; Schema: public; Owner:
|
3535
|
+
-- Name: index_metasploit_credential_cores_on_origin_type_and_origin_id; Type: INDEX; Schema: public; Owner: -
|
3419
3536
|
--
|
3420
3537
|
|
3421
|
-
CREATE INDEX index_metasploit_credential_cores_on_origin_type_and_origin_id ON metasploit_credential_cores USING btree (origin_type, origin_id);
|
3538
|
+
CREATE INDEX index_metasploit_credential_cores_on_origin_type_and_origin_id ON public.metasploit_credential_cores USING btree (origin_type, origin_id);
|
3422
3539
|
|
3423
3540
|
|
3424
3541
|
--
|
3425
|
-
-- Name: index_metasploit_credential_cores_on_private_id; Type: INDEX; Schema: public; Owner:
|
3542
|
+
-- Name: index_metasploit_credential_cores_on_private_id; Type: INDEX; Schema: public; Owner: -
|
3426
3543
|
--
|
3427
3544
|
|
3428
|
-
CREATE INDEX index_metasploit_credential_cores_on_private_id ON metasploit_credential_cores USING btree (private_id);
|
3545
|
+
CREATE INDEX index_metasploit_credential_cores_on_private_id ON public.metasploit_credential_cores USING btree (private_id);
|
3429
3546
|
|
3430
3547
|
|
3431
3548
|
--
|
3432
|
-
-- Name: index_metasploit_credential_cores_on_public_id; Type: INDEX; Schema: public; Owner:
|
3549
|
+
-- Name: index_metasploit_credential_cores_on_public_id; Type: INDEX; Schema: public; Owner: -
|
3433
3550
|
--
|
3434
3551
|
|
3435
|
-
CREATE INDEX index_metasploit_credential_cores_on_public_id ON metasploit_credential_cores USING btree (public_id);
|
3552
|
+
CREATE INDEX index_metasploit_credential_cores_on_public_id ON public.metasploit_credential_cores USING btree (public_id);
|
3436
3553
|
|
3437
3554
|
|
3438
3555
|
--
|
3439
|
-
-- Name: index_metasploit_credential_cores_on_realm_id; Type: INDEX; Schema: public; Owner:
|
3556
|
+
-- Name: index_metasploit_credential_cores_on_realm_id; Type: INDEX; Schema: public; Owner: -
|
3440
3557
|
--
|
3441
3558
|
|
3442
|
-
CREATE INDEX index_metasploit_credential_cores_on_realm_id ON metasploit_credential_cores USING btree (realm_id);
|
3559
|
+
CREATE INDEX index_metasploit_credential_cores_on_realm_id ON public.metasploit_credential_cores USING btree (realm_id);
|
3443
3560
|
|
3444
3561
|
|
3445
3562
|
--
|
3446
|
-
-- Name: index_metasploit_credential_cores_on_workspace_id; Type: INDEX; Schema: public; Owner:
|
3563
|
+
-- Name: index_metasploit_credential_cores_on_workspace_id; Type: INDEX; Schema: public; Owner: -
|
3447
3564
|
--
|
3448
3565
|
|
3449
|
-
CREATE INDEX index_metasploit_credential_cores_on_workspace_id ON metasploit_credential_cores USING btree (workspace_id);
|
3566
|
+
CREATE INDEX index_metasploit_credential_cores_on_workspace_id ON public.metasploit_credential_cores USING btree (workspace_id);
|
3450
3567
|
|
3451
3568
|
|
3452
3569
|
--
|
3453
|
-
-- Name: index_metasploit_credential_logins_on_core_id_and_service_id; Type: INDEX; Schema: public; Owner:
|
3570
|
+
-- Name: index_metasploit_credential_logins_on_core_id_and_service_id; Type: INDEX; Schema: public; Owner: -
|
3454
3571
|
--
|
3455
3572
|
|
3456
|
-
CREATE UNIQUE INDEX index_metasploit_credential_logins_on_core_id_and_service_id ON metasploit_credential_logins USING btree (core_id, service_id);
|
3573
|
+
CREATE UNIQUE INDEX index_metasploit_credential_logins_on_core_id_and_service_id ON public.metasploit_credential_logins USING btree (core_id, service_id);
|
3457
3574
|
|
3458
3575
|
|
3459
3576
|
--
|
3460
|
-
-- Name: index_metasploit_credential_logins_on_service_id_and_core_id; Type: INDEX; Schema: public; Owner:
|
3577
|
+
-- Name: index_metasploit_credential_logins_on_service_id_and_core_id; Type: INDEX; Schema: public; Owner: -
|
3461
3578
|
--
|
3462
3579
|
|
3463
|
-
CREATE UNIQUE INDEX index_metasploit_credential_logins_on_service_id_and_core_id ON metasploit_credential_logins USING btree (service_id, core_id);
|
3580
|
+
CREATE UNIQUE INDEX index_metasploit_credential_logins_on_service_id_and_core_id ON public.metasploit_credential_logins USING btree (service_id, core_id);
|
3464
3581
|
|
3465
3582
|
|
3466
3583
|
--
|
3467
|
-
-- Name: index_metasploit_credential_origin_imports_on_task_id; Type: INDEX; Schema: public; Owner:
|
3584
|
+
-- Name: index_metasploit_credential_origin_imports_on_task_id; Type: INDEX; Schema: public; Owner: -
|
3468
3585
|
--
|
3469
3586
|
|
3470
|
-
CREATE INDEX index_metasploit_credential_origin_imports_on_task_id ON metasploit_credential_origin_imports USING btree (task_id);
|
3587
|
+
CREATE INDEX index_metasploit_credential_origin_imports_on_task_id ON public.metasploit_credential_origin_imports USING btree (task_id);
|
3471
3588
|
|
3472
3589
|
|
3473
3590
|
--
|
3474
|
-
-- Name: index_metasploit_credential_origin_manuals_on_user_id; Type: INDEX; Schema: public; Owner:
|
3591
|
+
-- Name: index_metasploit_credential_origin_manuals_on_user_id; Type: INDEX; Schema: public; Owner: -
|
3475
3592
|
--
|
3476
3593
|
|
3477
|
-
CREATE INDEX index_metasploit_credential_origin_manuals_on_user_id ON metasploit_credential_origin_manuals USING btree (user_id);
|
3594
|
+
CREATE INDEX index_metasploit_credential_origin_manuals_on_user_id ON public.metasploit_credential_origin_manuals USING btree (user_id);
|
3478
3595
|
|
3479
3596
|
|
3480
3597
|
--
|
3481
|
-
-- Name: index_metasploit_credential_privates_on_type_and_data; Type: INDEX; Schema: public; Owner:
|
3598
|
+
-- Name: index_metasploit_credential_privates_on_type_and_data; Type: INDEX; Schema: public; Owner: -
|
3482
3599
|
--
|
3483
3600
|
|
3484
|
-
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));
|
3601
|
+
CREATE UNIQUE INDEX index_metasploit_credential_privates_on_type_and_data ON public.metasploit_credential_privates USING btree (type, data) WHERE (NOT ((type)::text = 'Metasploit::Credential::SSHKey'::text));
|
3485
3602
|
|
3486
3603
|
|
3487
3604
|
--
|
3488
|
-
-- Name: index_metasploit_credential_privates_on_type_and_data_sshkey; Type: INDEX; Schema: public; Owner:
|
3605
|
+
-- Name: index_metasploit_credential_privates_on_type_and_data_sshkey; Type: INDEX; Schema: public; Owner: -
|
3489
3606
|
--
|
3490
3607
|
|
3491
|
-
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);
|
3608
|
+
CREATE UNIQUE INDEX index_metasploit_credential_privates_on_type_and_data_sshkey ON public.metasploit_credential_privates USING btree (type, decode(md5(data), 'hex'::text)) WHERE ((type)::text = 'Metasploit::Credential::SSHKey'::text);
|
3492
3609
|
|
3493
3610
|
|
3494
3611
|
--
|
3495
|
-
-- Name: index_metasploit_credential_publics_on_username; Type: INDEX; Schema: public; Owner:
|
3612
|
+
-- Name: index_metasploit_credential_publics_on_username; Type: INDEX; Schema: public; Owner: -
|
3496
3613
|
--
|
3497
3614
|
|
3498
|
-
CREATE UNIQUE INDEX index_metasploit_credential_publics_on_username ON metasploit_credential_publics USING btree (username);
|
3615
|
+
CREATE UNIQUE INDEX index_metasploit_credential_publics_on_username ON public.metasploit_credential_publics USING btree (username);
|
3499
3616
|
|
3500
3617
|
|
3501
3618
|
--
|
3502
|
-
-- Name: index_metasploit_credential_realms_on_key_and_value; Type: INDEX; Schema: public; Owner:
|
3619
|
+
-- Name: index_metasploit_credential_realms_on_key_and_value; Type: INDEX; Schema: public; Owner: -
|
3503
3620
|
--
|
3504
3621
|
|
3505
|
-
CREATE UNIQUE INDEX index_metasploit_credential_realms_on_key_and_value ON metasploit_credential_realms USING btree (key, value);
|
3622
|
+
CREATE UNIQUE INDEX index_metasploit_credential_realms_on_key_and_value ON public.metasploit_credential_realms USING btree (key, value);
|
3506
3623
|
|
3507
3624
|
|
3508
3625
|
--
|
3509
|
-
-- Name: index_module_actions_on_detail_id; Type: INDEX; Schema: public; Owner:
|
3626
|
+
-- Name: index_module_actions_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
3510
3627
|
--
|
3511
3628
|
|
3512
|
-
CREATE INDEX index_module_actions_on_detail_id ON module_actions USING btree (detail_id);
|
3629
|
+
CREATE INDEX index_module_actions_on_detail_id ON public.module_actions USING btree (detail_id);
|
3513
3630
|
|
3514
3631
|
|
3515
3632
|
--
|
3516
|
-
-- Name: index_module_archs_on_detail_id; Type: INDEX; Schema: public; Owner:
|
3633
|
+
-- Name: index_module_archs_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
3517
3634
|
--
|
3518
3635
|
|
3519
|
-
CREATE INDEX index_module_archs_on_detail_id ON module_archs USING btree (detail_id);
|
3636
|
+
CREATE INDEX index_module_archs_on_detail_id ON public.module_archs USING btree (detail_id);
|
3520
3637
|
|
3521
3638
|
|
3522
3639
|
--
|
3523
|
-
-- Name: index_module_authors_on_detail_id; Type: INDEX; Schema: public; Owner:
|
3640
|
+
-- Name: index_module_authors_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
3524
3641
|
--
|
3525
3642
|
|
3526
|
-
CREATE INDEX index_module_authors_on_detail_id ON module_authors USING btree (detail_id);
|
3643
|
+
CREATE INDEX index_module_authors_on_detail_id ON public.module_authors USING btree (detail_id);
|
3527
3644
|
|
3528
3645
|
|
3529
3646
|
--
|
3530
|
-
-- Name: index_module_details_on_description; Type: INDEX; Schema: public; Owner:
|
3647
|
+
-- Name: index_module_details_on_description; Type: INDEX; Schema: public; Owner: -
|
3531
3648
|
--
|
3532
3649
|
|
3533
|
-
CREATE INDEX index_module_details_on_description ON module_details USING btree (description);
|
3650
|
+
CREATE INDEX index_module_details_on_description ON public.module_details USING btree (description);
|
3534
3651
|
|
3535
3652
|
|
3536
3653
|
--
|
3537
|
-
-- Name: index_module_details_on_mtype; Type: INDEX; Schema: public; Owner:
|
3654
|
+
-- Name: index_module_details_on_mtype; Type: INDEX; Schema: public; Owner: -
|
3538
3655
|
--
|
3539
3656
|
|
3540
|
-
CREATE INDEX index_module_details_on_mtype ON module_details USING btree (mtype);
|
3657
|
+
CREATE INDEX index_module_details_on_mtype ON public.module_details USING btree (mtype);
|
3541
3658
|
|
3542
3659
|
|
3543
3660
|
--
|
3544
|
-
-- Name: index_module_details_on_name; Type: INDEX; Schema: public; Owner:
|
3661
|
+
-- Name: index_module_details_on_name; Type: INDEX; Schema: public; Owner: -
|
3545
3662
|
--
|
3546
3663
|
|
3547
|
-
CREATE INDEX index_module_details_on_name ON module_details USING btree (name);
|
3664
|
+
CREATE INDEX index_module_details_on_name ON public.module_details USING btree (name);
|
3548
3665
|
|
3549
3666
|
|
3550
3667
|
--
|
3551
|
-
-- Name: index_module_details_on_refname; Type: INDEX; Schema: public; Owner:
|
3668
|
+
-- Name: index_module_details_on_refname; Type: INDEX; Schema: public; Owner: -
|
3552
3669
|
--
|
3553
3670
|
|
3554
|
-
CREATE INDEX index_module_details_on_refname ON module_details USING btree (refname);
|
3671
|
+
CREATE INDEX index_module_details_on_refname ON public.module_details USING btree (refname);
|
3555
3672
|
|
3556
3673
|
|
3557
3674
|
--
|
3558
|
-
-- Name: index_module_mixins_on_detail_id; Type: INDEX; Schema: public; Owner:
|
3675
|
+
-- Name: index_module_mixins_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
3559
3676
|
--
|
3560
3677
|
|
3561
|
-
CREATE INDEX index_module_mixins_on_detail_id ON module_mixins USING btree (detail_id);
|
3678
|
+
CREATE INDEX index_module_mixins_on_detail_id ON public.module_mixins USING btree (detail_id);
|
3562
3679
|
|
3563
3680
|
|
3564
3681
|
--
|
3565
|
-
-- Name: index_module_platforms_on_detail_id; Type: INDEX; Schema: public; Owner:
|
3682
|
+
-- Name: index_module_platforms_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
3566
3683
|
--
|
3567
3684
|
|
3568
|
-
CREATE INDEX index_module_platforms_on_detail_id ON module_platforms USING btree (detail_id);
|
3685
|
+
CREATE INDEX index_module_platforms_on_detail_id ON public.module_platforms USING btree (detail_id);
|
3569
3686
|
|
3570
3687
|
|
3571
3688
|
--
|
3572
|
-
-- Name: index_module_refs_on_detail_id; Type: INDEX; Schema: public; Owner:
|
3689
|
+
-- Name: index_module_refs_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
3573
3690
|
--
|
3574
3691
|
|
3575
|
-
CREATE INDEX index_module_refs_on_detail_id ON module_refs USING btree (detail_id);
|
3692
|
+
CREATE INDEX index_module_refs_on_detail_id ON public.module_refs USING btree (detail_id);
|
3576
3693
|
|
3577
3694
|
|
3578
3695
|
--
|
3579
|
-
-- Name: index_module_refs_on_name; Type: INDEX; Schema: public; Owner:
|
3696
|
+
-- Name: index_module_refs_on_name; Type: INDEX; Schema: public; Owner: -
|
3580
3697
|
--
|
3581
3698
|
|
3582
|
-
CREATE INDEX index_module_refs_on_name ON module_refs USING btree (name);
|
3699
|
+
CREATE INDEX index_module_refs_on_name ON public.module_refs USING btree (name);
|
3583
3700
|
|
3584
3701
|
|
3585
3702
|
--
|
3586
|
-
-- Name: index_module_runs_on_session_id; Type: INDEX; Schema: public; Owner:
|
3703
|
+
-- Name: index_module_runs_on_session_id; Type: INDEX; Schema: public; Owner: -
|
3587
3704
|
--
|
3588
3705
|
|
3589
|
-
CREATE INDEX index_module_runs_on_session_id ON module_runs USING btree (session_id);
|
3706
|
+
CREATE INDEX index_module_runs_on_session_id ON public.module_runs USING btree (session_id);
|
3590
3707
|
|
3591
3708
|
|
3592
3709
|
--
|
3593
|
-
-- Name: index_module_runs_on_user_id; Type: INDEX; Schema: public; Owner:
|
3710
|
+
-- Name: index_module_runs_on_user_id; Type: INDEX; Schema: public; Owner: -
|
3594
3711
|
--
|
3595
3712
|
|
3596
|
-
CREATE INDEX index_module_runs_on_user_id ON module_runs USING btree (user_id);
|
3713
|
+
CREATE INDEX index_module_runs_on_user_id ON public.module_runs USING btree (user_id);
|
3597
3714
|
|
3598
3715
|
|
3599
3716
|
--
|
3600
|
-
-- Name: index_module_targets_on_detail_id; Type: INDEX; Schema: public; Owner:
|
3717
|
+
-- Name: index_module_targets_on_detail_id; Type: INDEX; Schema: public; Owner: -
|
3601
3718
|
--
|
3602
3719
|
|
3603
|
-
CREATE INDEX index_module_targets_on_detail_id ON module_targets USING btree (detail_id);
|
3720
|
+
CREATE INDEX index_module_targets_on_detail_id ON public.module_targets USING btree (detail_id);
|
3604
3721
|
|
3605
3722
|
|
3606
3723
|
--
|
3607
|
-
-- Name: index_notes_on_ntype; Type: INDEX; Schema: public; Owner:
|
3724
|
+
-- Name: index_notes_on_ntype; Type: INDEX; Schema: public; Owner: -
|
3608
3725
|
--
|
3609
3726
|
|
3610
|
-
CREATE INDEX index_notes_on_ntype ON notes USING btree (ntype);
|
3727
|
+
CREATE INDEX index_notes_on_ntype ON public.notes USING btree (ntype);
|
3611
3728
|
|
3612
3729
|
|
3613
3730
|
--
|
3614
|
-
-- Name: index_notes_on_vuln_id; Type: INDEX; Schema: public; Owner:
|
3731
|
+
-- Name: index_notes_on_vuln_id; Type: INDEX; Schema: public; Owner: -
|
3615
3732
|
--
|
3616
3733
|
|
3617
|
-
CREATE INDEX index_notes_on_vuln_id ON notes USING btree (vuln_id);
|
3734
|
+
CREATE INDEX index_notes_on_vuln_id ON public.notes USING btree (vuln_id);
|
3618
3735
|
|
3619
3736
|
|
3620
3737
|
--
|
3621
|
-
-- Name: index_refs_on_name; Type: INDEX; Schema: public; Owner:
|
3738
|
+
-- Name: index_refs_on_name; Type: INDEX; Schema: public; Owner: -
|
3622
3739
|
--
|
3623
3740
|
|
3624
|
-
CREATE INDEX index_refs_on_name ON refs USING btree (name);
|
3741
|
+
CREATE INDEX index_refs_on_name ON public.refs USING btree (name);
|
3625
3742
|
|
3626
3743
|
|
3627
3744
|
--
|
3628
|
-
-- Name: index_services_on_host_id_and_port_and_proto; Type: INDEX; Schema: public; Owner:
|
3745
|
+
-- Name: index_services_on_host_id_and_port_and_proto; Type: INDEX; Schema: public; Owner: -
|
3629
3746
|
--
|
3630
3747
|
|
3631
|
-
CREATE UNIQUE INDEX index_services_on_host_id_and_port_and_proto ON services USING btree (host_id, port, proto);
|
3748
|
+
CREATE UNIQUE INDEX index_services_on_host_id_and_port_and_proto ON public.services USING btree (host_id, port, proto);
|
3632
3749
|
|
3633
3750
|
|
3634
3751
|
--
|
3635
|
-
-- Name: index_services_on_name; Type: INDEX; Schema: public; Owner:
|
3752
|
+
-- Name: index_services_on_name; Type: INDEX; Schema: public; Owner: -
|
3636
3753
|
--
|
3637
3754
|
|
3638
|
-
CREATE INDEX index_services_on_name ON services USING btree (name);
|
3755
|
+
CREATE INDEX index_services_on_name ON public.services USING btree (name);
|
3639
3756
|
|
3640
3757
|
|
3641
3758
|
--
|
3642
|
-
-- Name: index_services_on_port; Type: INDEX; Schema: public; Owner:
|
3759
|
+
-- Name: index_services_on_port; Type: INDEX; Schema: public; Owner: -
|
3643
3760
|
--
|
3644
3761
|
|
3645
|
-
CREATE INDEX index_services_on_port ON services USING btree (port);
|
3762
|
+
CREATE INDEX index_services_on_port ON public.services USING btree (port);
|
3646
3763
|
|
3647
3764
|
|
3648
3765
|
--
|
3649
|
-
-- Name: index_services_on_proto; Type: INDEX; Schema: public; Owner:
|
3766
|
+
-- Name: index_services_on_proto; Type: INDEX; Schema: public; Owner: -
|
3650
3767
|
--
|
3651
3768
|
|
3652
|
-
CREATE INDEX index_services_on_proto ON services USING btree (proto);
|
3769
|
+
CREATE INDEX index_services_on_proto ON public.services USING btree (proto);
|
3653
3770
|
|
3654
3771
|
|
3655
3772
|
--
|
3656
|
-
-- Name: index_services_on_state; Type: INDEX; Schema: public; Owner:
|
3773
|
+
-- Name: index_services_on_state; Type: INDEX; Schema: public; Owner: -
|
3657
3774
|
--
|
3658
3775
|
|
3659
|
-
CREATE INDEX index_services_on_state ON services USING btree (state);
|
3776
|
+
CREATE INDEX index_services_on_state ON public.services USING btree (state);
|
3660
3777
|
|
3661
3778
|
|
3662
3779
|
--
|
3663
|
-
-- Name: index_sessions_on_module_run_id; Type: INDEX; Schema: public; Owner:
|
3780
|
+
-- Name: index_sessions_on_module_run_id; Type: INDEX; Schema: public; Owner: -
|
3664
3781
|
--
|
3665
3782
|
|
3666
|
-
CREATE INDEX index_sessions_on_module_run_id ON sessions USING btree (module_run_id);
|
3783
|
+
CREATE INDEX index_sessions_on_module_run_id ON public.sessions USING btree (module_run_id);
|
3667
3784
|
|
3668
3785
|
|
3669
3786
|
--
|
3670
|
-
-- Name: index_vulns_on_name; Type: INDEX; Schema: public; Owner:
|
3787
|
+
-- Name: index_vulns_on_name; Type: INDEX; Schema: public; Owner: -
|
3671
3788
|
--
|
3672
3789
|
|
3673
|
-
CREATE INDEX index_vulns_on_name ON vulns USING btree (name);
|
3790
|
+
CREATE INDEX index_vulns_on_name ON public.vulns USING btree (name);
|
3674
3791
|
|
3675
3792
|
|
3676
3793
|
--
|
3677
|
-
-- Name: index_vulns_on_origin_id; Type: INDEX; Schema: public; Owner:
|
3794
|
+
-- Name: index_vulns_on_origin_id; Type: INDEX; Schema: public; Owner: -
|
3678
3795
|
--
|
3679
3796
|
|
3680
|
-
CREATE INDEX index_vulns_on_origin_id ON vulns USING btree (origin_id);
|
3797
|
+
CREATE INDEX index_vulns_on_origin_id ON public.vulns USING btree (origin_id);
|
3681
3798
|
|
3682
3799
|
|
3683
3800
|
--
|
3684
|
-
-- Name: index_web_forms_on_path; Type: INDEX; Schema: public; Owner:
|
3801
|
+
-- Name: index_web_forms_on_path; Type: INDEX; Schema: public; Owner: -
|
3685
3802
|
--
|
3686
3803
|
|
3687
|
-
CREATE INDEX index_web_forms_on_path ON web_forms USING btree (path);
|
3804
|
+
CREATE INDEX index_web_forms_on_path ON public.web_forms USING btree (path);
|
3688
3805
|
|
3689
3806
|
|
3690
3807
|
--
|
3691
|
-
-- Name: index_web_pages_on_path; Type: INDEX; Schema: public; Owner:
|
3808
|
+
-- Name: index_web_pages_on_path; Type: INDEX; Schema: public; Owner: -
|
3692
3809
|
--
|
3693
3810
|
|
3694
|
-
CREATE INDEX index_web_pages_on_path ON web_pages USING btree (path);
|
3811
|
+
CREATE INDEX index_web_pages_on_path ON public.web_pages USING btree (path);
|
3695
3812
|
|
3696
3813
|
|
3697
3814
|
--
|
3698
|
-
-- Name: index_web_pages_on_query; Type: INDEX; Schema: public; Owner:
|
3815
|
+
-- Name: index_web_pages_on_query; Type: INDEX; Schema: public; Owner: -
|
3699
3816
|
--
|
3700
3817
|
|
3701
|
-
CREATE INDEX index_web_pages_on_query ON web_pages USING btree (query);
|
3818
|
+
CREATE INDEX index_web_pages_on_query ON public.web_pages USING btree (query);
|
3702
3819
|
|
3703
3820
|
|
3704
3821
|
--
|
3705
|
-
-- Name: index_web_sites_on_comments; Type: INDEX; Schema: public; Owner:
|
3822
|
+
-- Name: index_web_sites_on_comments; Type: INDEX; Schema: public; Owner: -
|
3706
3823
|
--
|
3707
3824
|
|
3708
|
-
CREATE INDEX index_web_sites_on_comments ON web_sites USING btree (comments);
|
3825
|
+
CREATE INDEX index_web_sites_on_comments ON public.web_sites USING btree (comments);
|
3709
3826
|
|
3710
3827
|
|
3711
3828
|
--
|
3712
|
-
-- Name: index_web_sites_on_options; Type: INDEX; Schema: public; Owner:
|
3829
|
+
-- Name: index_web_sites_on_options; Type: INDEX; Schema: public; Owner: -
|
3713
3830
|
--
|
3714
3831
|
|
3715
|
-
CREATE INDEX index_web_sites_on_options ON web_sites USING btree (options);
|
3832
|
+
CREATE INDEX index_web_sites_on_options ON public.web_sites USING btree (options);
|
3716
3833
|
|
3717
3834
|
|
3718
3835
|
--
|
3719
|
-
-- Name: index_web_sites_on_vhost; Type: INDEX; Schema: public; Owner:
|
3836
|
+
-- Name: index_web_sites_on_vhost; Type: INDEX; Schema: public; Owner: -
|
3720
3837
|
--
|
3721
3838
|
|
3722
|
-
CREATE INDEX index_web_sites_on_vhost ON web_sites USING btree (vhost);
|
3839
|
+
CREATE INDEX index_web_sites_on_vhost ON public.web_sites USING btree (vhost);
|
3723
3840
|
|
3724
3841
|
|
3725
3842
|
--
|
3726
|
-
-- Name: index_web_vulns_on_method; Type: INDEX; Schema: public; Owner:
|
3843
|
+
-- Name: index_web_vulns_on_method; Type: INDEX; Schema: public; Owner: -
|
3727
3844
|
--
|
3728
3845
|
|
3729
|
-
CREATE INDEX index_web_vulns_on_method ON web_vulns USING btree (method);
|
3846
|
+
CREATE INDEX index_web_vulns_on_method ON public.web_vulns USING btree (method);
|
3730
3847
|
|
3731
3848
|
|
3732
3849
|
--
|
3733
|
-
-- Name: index_web_vulns_on_name; Type: INDEX; Schema: public; Owner:
|
3850
|
+
-- Name: index_web_vulns_on_name; Type: INDEX; Schema: public; Owner: -
|
3734
3851
|
--
|
3735
3852
|
|
3736
|
-
CREATE INDEX index_web_vulns_on_name ON web_vulns USING btree (name);
|
3853
|
+
CREATE INDEX index_web_vulns_on_name ON public.web_vulns USING btree (name);
|
3737
3854
|
|
3738
3855
|
|
3739
3856
|
--
|
3740
|
-
-- Name: index_web_vulns_on_path; Type: INDEX; Schema: public; Owner:
|
3857
|
+
-- Name: index_web_vulns_on_path; Type: INDEX; Schema: public; Owner: -
|
3741
3858
|
--
|
3742
3859
|
|
3743
|
-
CREATE INDEX index_web_vulns_on_path ON web_vulns USING btree (path);
|
3860
|
+
CREATE INDEX index_web_vulns_on_path ON public.web_vulns USING btree (path);
|
3744
3861
|
|
3745
3862
|
|
3746
3863
|
--
|
3747
|
-
-- Name: originating_credential_cores; Type: INDEX; Schema: public; Owner:
|
3864
|
+
-- Name: originating_credential_cores; Type: INDEX; Schema: public; Owner: -
|
3748
3865
|
--
|
3749
3866
|
|
3750
|
-
CREATE INDEX originating_credential_cores ON metasploit_credential_origin_cracked_passwords USING btree (metasploit_credential_core_id);
|
3867
|
+
CREATE INDEX originating_credential_cores ON public.metasploit_credential_origin_cracked_passwords USING btree (metasploit_credential_core_id);
|
3751
3868
|
|
3752
3869
|
|
3753
3870
|
--
|
3754
|
-
-- Name: unique_complete_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
3871
|
+
-- Name: unique_complete_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
3755
3872
|
--
|
3756
3873
|
|
3757
|
-
CREATE UNIQUE INDEX unique_complete_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id, private_id) WHERE ((
|
3874
|
+
CREATE UNIQUE INDEX unique_complete_metasploit_credential_cores ON public.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));
|
3758
3875
|
|
3759
3876
|
|
3760
3877
|
--
|
3761
|
-
-- Name: unique_metasploit_credential_origin_services; Type: INDEX; Schema: public; Owner:
|
3878
|
+
-- Name: unique_metasploit_credential_origin_services; Type: INDEX; Schema: public; Owner: -
|
3762
3879
|
--
|
3763
3880
|
|
3764
|
-
CREATE UNIQUE INDEX unique_metasploit_credential_origin_services ON metasploit_credential_origin_services USING btree (service_id, module_full_name);
|
3881
|
+
CREATE UNIQUE INDEX unique_metasploit_credential_origin_services ON public.metasploit_credential_origin_services USING btree (service_id, module_full_name);
|
3765
3882
|
|
3766
3883
|
|
3767
3884
|
--
|
3768
|
-
-- Name: unique_metasploit_credential_origin_sessions; Type: INDEX; Schema: public; Owner:
|
3885
|
+
-- Name: unique_metasploit_credential_origin_sessions; Type: INDEX; Schema: public; Owner: -
|
3769
3886
|
--
|
3770
3887
|
|
3771
|
-
CREATE UNIQUE INDEX unique_metasploit_credential_origin_sessions ON metasploit_credential_origin_sessions USING btree (session_id, post_reference_name);
|
3888
|
+
CREATE UNIQUE INDEX unique_metasploit_credential_origin_sessions ON public.metasploit_credential_origin_sessions USING btree (session_id, post_reference_name);
|
3772
3889
|
|
3773
3890
|
|
3774
3891
|
--
|
3775
|
-
-- Name: unique_private_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
3892
|
+
-- Name: unique_private_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
3776
3893
|
--
|
3777
3894
|
|
3778
|
-
CREATE UNIQUE INDEX unique_private_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, private_id) WHERE ((
|
3895
|
+
CREATE UNIQUE INDEX unique_private_metasploit_credential_cores ON public.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));
|
3779
3896
|
|
3780
3897
|
|
3781
3898
|
--
|
3782
|
-
-- Name: unique_privateless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
3899
|
+
-- Name: unique_privateless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
3783
3900
|
--
|
3784
3901
|
|
3785
|
-
CREATE UNIQUE INDEX unique_privateless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id) WHERE ((
|
3902
|
+
CREATE UNIQUE INDEX unique_privateless_metasploit_credential_cores ON public.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));
|
3786
3903
|
|
3787
3904
|
|
3788
3905
|
--
|
3789
|
-
-- Name: unique_public_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
3906
|
+
-- Name: unique_public_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
3790
3907
|
--
|
3791
3908
|
|
3792
|
-
CREATE UNIQUE INDEX unique_public_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id) WHERE ((
|
3909
|
+
CREATE UNIQUE INDEX unique_public_metasploit_credential_cores ON public.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));
|
3793
3910
|
|
3794
3911
|
|
3795
3912
|
--
|
3796
|
-
-- Name: unique_publicless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
3913
|
+
-- Name: unique_publicless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
3797
3914
|
--
|
3798
3915
|
|
3799
|
-
CREATE UNIQUE INDEX unique_publicless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, private_id) WHERE ((
|
3916
|
+
CREATE UNIQUE INDEX unique_publicless_metasploit_credential_cores ON public.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));
|
3800
3917
|
|
3801
3918
|
|
3802
3919
|
--
|
3803
|
-
-- Name: unique_realmless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner:
|
3920
|
+
-- Name: unique_realmless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -
|
3804
3921
|
--
|
3805
3922
|
|
3806
|
-
CREATE UNIQUE INDEX unique_realmless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id, private_id) WHERE ((
|
3807
|
-
|
3808
|
-
|
3809
|
-
--
|
3810
|
-
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
3811
|
-
--
|
3812
|
-
|
3813
|
-
CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
|
3923
|
+
CREATE UNIQUE INDEX unique_realmless_metasploit_credential_cores ON public.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));
|
3814
3924
|
|
3815
3925
|
|
3816
3926
|
--
|
3817
3927
|
-- PostgreSQL database dump complete
|
3818
3928
|
--
|
3819
3929
|
|
3820
|
-
SET search_path TO "$user",public;
|
3821
|
-
|
3822
|
-
INSERT INTO schema_migrations (version) VALUES
|
3823
|
-
|
3824
|
-
|
3825
|
-
|
3826
|
-
|
3827
|
-
|
3828
|
-
|
3829
|
-
|
3830
|
-
|
3831
|
-
|
3832
|
-
|
3833
|
-
|
3834
|
-
|
3835
|
-
|
3836
|
-
|
3837
|
-
|
3838
|
-
|
3839
|
-
|
3840
|
-
|
3841
|
-
|
3842
|
-
|
3843
|
-
|
3844
|
-
|
3845
|
-
|
3846
|
-
|
3847
|
-
|
3848
|
-
|
3849
|
-
|
3850
|
-
|
3851
|
-
|
3852
|
-
|
3853
|
-
|
3854
|
-
|
3855
|
-
|
3856
|
-
|
3857
|
-
|
3858
|
-
|
3859
|
-
|
3860
|
-
|
3861
|
-
|
3862
|
-
|
3863
|
-
|
3864
|
-
|
3865
|
-
|
3866
|
-
|
3867
|
-
|
3868
|
-
|
3869
|
-
|
3870
|
-
|
3871
|
-
|
3872
|
-
|
3873
|
-
|
3874
|
-
|
3875
|
-
|
3876
|
-
|
3877
|
-
|
3878
|
-
|
3879
|
-
|
3880
|
-
|
3881
|
-
|
3882
|
-
|
3883
|
-
|
3884
|
-
|
3885
|
-
|
3886
|
-
|
3887
|
-
|
3888
|
-
|
3889
|
-
|
3890
|
-
|
3891
|
-
|
3892
|
-
|
3893
|
-
|
3894
|
-
|
3895
|
-
|
3896
|
-
|
3897
|
-
|
3898
|
-
|
3899
|
-
|
3900
|
-
|
3901
|
-
|
3902
|
-
|
3903
|
-
|
3904
|
-
|
3905
|
-
|
3906
|
-
|
3907
|
-
|
3908
|
-
|
3909
|
-
|
3910
|
-
|
3911
|
-
|
3912
|
-
|
3913
|
-
|
3914
|
-
|
3915
|
-
|
3916
|
-
|
3917
|
-
|
3918
|
-
|
3919
|
-
|
3920
|
-
|
3921
|
-
|
3922
|
-
|
3923
|
-
|
3924
|
-
|
3925
|
-
|
3926
|
-
|
3927
|
-
|
3928
|
-
|
3929
|
-
|
3930
|
-
|
3931
|
-
|
3932
|
-
|
3933
|
-
|
3934
|
-
|
3935
|
-
|
3936
|
-
|
3937
|
-
|
3938
|
-
|
3939
|
-
|
3940
|
-
|
3941
|
-
|
3942
|
-
|
3943
|
-
|
3944
|
-
|
3945
|
-
|
3946
|
-
|
3947
|
-
|
3948
|
-
|
3949
|
-
|
3950
|
-
|
3951
|
-
|
3952
|
-
|
3953
|
-
|
3954
|
-
|
3955
|
-
|
3956
|
-
|
3957
|
-
|
3958
|
-
|
3959
|
-
|
3960
|
-
|
3961
|
-
|
3962
|
-
|
3963
|
-
|
3964
|
-
|
3965
|
-
|
3966
|
-
|
3967
|
-
|
3968
|
-
|
3969
|
-
|
3970
|
-
|
3971
|
-
|
3972
|
-
|
3973
|
-
|
3974
|
-
|
3975
|
-
|
3976
|
-
|
3977
|
-
|
3978
|
-
INSERT INTO schema_migrations (version) VALUES ('20130412175040');
|
3979
|
-
|
3980
|
-
INSERT INTO schema_migrations (version) VALUES ('20130423211152');
|
3981
|
-
|
3982
|
-
INSERT INTO schema_migrations (version) VALUES ('20130430151353');
|
3983
|
-
|
3984
|
-
INSERT INTO schema_migrations (version) VALUES ('20130430162145');
|
3985
|
-
|
3986
|
-
INSERT INTO schema_migrations (version) VALUES ('20130510021637');
|
3987
|
-
|
3988
|
-
INSERT INTO schema_migrations (version) VALUES ('20130515164311');
|
3989
|
-
|
3990
|
-
INSERT INTO schema_migrations (version) VALUES ('20130515172727');
|
3991
|
-
|
3992
|
-
INSERT INTO schema_migrations (version) VALUES ('20130516204810');
|
3993
|
-
|
3994
|
-
INSERT INTO schema_migrations (version) VALUES ('20130522001343');
|
3995
|
-
|
3996
|
-
INSERT INTO schema_migrations (version) VALUES ('20130522032517');
|
3997
|
-
|
3998
|
-
INSERT INTO schema_migrations (version) VALUES ('20130522041110');
|
3999
|
-
|
4000
|
-
INSERT INTO schema_migrations (version) VALUES ('20130525015035');
|
4001
|
-
|
4002
|
-
INSERT INTO schema_migrations (version) VALUES ('20130525212420');
|
4003
|
-
|
4004
|
-
INSERT INTO schema_migrations (version) VALUES ('20130531144949');
|
4005
|
-
|
4006
|
-
INSERT INTO schema_migrations (version) VALUES ('20130604145732');
|
4007
|
-
|
4008
|
-
INSERT INTO schema_migrations (version) VALUES ('20130717150737');
|
4009
|
-
|
4010
|
-
INSERT INTO schema_migrations (version) VALUES ('20131002004641');
|
4011
|
-
|
4012
|
-
INSERT INTO schema_migrations (version) VALUES ('20131002164449');
|
4013
|
-
|
4014
|
-
INSERT INTO schema_migrations (version) VALUES ('20131008213344');
|
4015
|
-
|
4016
|
-
INSERT INTO schema_migrations (version) VALUES ('20131011184338');
|
4017
|
-
|
4018
|
-
INSERT INTO schema_migrations (version) VALUES ('20131017150735');
|
4019
|
-
|
4020
|
-
INSERT INTO schema_migrations (version) VALUES ('20131021185657');
|
4021
|
-
|
4022
|
-
INSERT INTO schema_migrations (version) VALUES ('20140331173835');
|
4023
|
-
|
4024
|
-
INSERT INTO schema_migrations (version) VALUES ('20140407212345');
|
4025
|
-
|
4026
|
-
INSERT INTO schema_migrations (version) VALUES ('20140410132401');
|
4027
|
-
|
4028
|
-
INSERT INTO schema_migrations (version) VALUES ('20140410161611');
|
4029
|
-
|
4030
|
-
INSERT INTO schema_migrations (version) VALUES ('20140410191213');
|
4031
|
-
|
4032
|
-
INSERT INTO schema_migrations (version) VALUES ('20140410205410');
|
4033
|
-
|
4034
|
-
INSERT INTO schema_migrations (version) VALUES ('20140411142102');
|
4035
|
-
|
4036
|
-
INSERT INTO schema_migrations (version) VALUES ('20140411205325');
|
4037
|
-
|
4038
|
-
INSERT INTO schema_migrations (version) VALUES ('20140414192550');
|
4039
|
-
|
4040
|
-
INSERT INTO schema_migrations (version) VALUES ('20140417140933');
|
4041
|
-
|
4042
|
-
INSERT INTO schema_migrations (version) VALUES ('20140520140817');
|
4043
|
-
|
4044
|
-
INSERT INTO schema_migrations (version) VALUES ('20140603163708');
|
4045
|
-
|
4046
|
-
INSERT INTO schema_migrations (version) VALUES ('20140605173747');
|
4047
|
-
|
4048
|
-
INSERT INTO schema_migrations (version) VALUES ('20140702184622');
|
4049
|
-
|
4050
|
-
INSERT INTO schema_migrations (version) VALUES ('20140703144541');
|
4051
|
-
|
4052
|
-
INSERT INTO schema_migrations (version) VALUES ('20140722174919');
|
4053
|
-
|
4054
|
-
INSERT INTO schema_migrations (version) VALUES ('20140728191933');
|
4055
|
-
|
4056
|
-
INSERT INTO schema_migrations (version) VALUES ('20140801150537');
|
4057
|
-
|
4058
|
-
INSERT INTO schema_migrations (version) VALUES ('20140905031549');
|
4059
|
-
|
4060
|
-
INSERT INTO schema_migrations (version) VALUES ('20140922170030');
|
4061
|
-
|
4062
|
-
INSERT INTO schema_migrations (version) VALUES ('20150106201450');
|
4063
|
-
|
4064
|
-
INSERT INTO schema_migrations (version) VALUES ('20150112203945');
|
4065
|
-
|
4066
|
-
INSERT INTO schema_migrations (version) VALUES ('20150205192745');
|
4067
|
-
|
4068
|
-
INSERT INTO schema_migrations (version) VALUES ('20150209195939');
|
4069
|
-
|
4070
|
-
INSERT INTO schema_migrations (version) VALUES ('20150212214222');
|
4071
|
-
|
4072
|
-
INSERT INTO schema_migrations (version) VALUES ('20150219173821');
|
4073
|
-
|
4074
|
-
INSERT INTO schema_migrations (version) VALUES ('20150219215039');
|
4075
|
-
|
4076
|
-
INSERT INTO schema_migrations (version) VALUES ('20150226151459');
|
4077
|
-
|
4078
|
-
INSERT INTO schema_migrations (version) VALUES ('20150312155312');
|
4079
|
-
|
4080
|
-
INSERT INTO schema_migrations (version) VALUES ('20150317145455');
|
4081
|
-
|
4082
|
-
INSERT INTO schema_migrations (version) VALUES ('20150326183742');
|
4083
|
-
|
4084
|
-
INSERT INTO schema_migrations (version) VALUES ('20150421211719');
|
4085
|
-
|
4086
|
-
INSERT INTO schema_migrations (version) VALUES ('20150514182921');
|
4087
|
-
|
4088
|
-
INSERT INTO schema_migrations (version) VALUES ('20160415153312');
|
4089
|
-
|
4090
|
-
INSERT INTO schema_migrations (version) VALUES ('20161004165612');
|
4091
|
-
|
4092
|
-
INSERT INTO schema_migrations (version) VALUES ('20161107153145');
|
4093
|
-
|
4094
|
-
INSERT INTO schema_migrations (version) VALUES ('20161107203710');
|
4095
|
-
|
4096
|
-
INSERT INTO schema_migrations (version) VALUES ('20161227212223');
|
4097
|
-
|
4098
|
-
INSERT INTO schema_migrations (version) VALUES ('21');
|
4099
|
-
|
4100
|
-
INSERT INTO schema_migrations (version) VALUES ('22');
|
4101
|
-
|
4102
|
-
INSERT INTO schema_migrations (version) VALUES ('23');
|
4103
|
-
|
4104
|
-
INSERT INTO schema_migrations (version) VALUES ('24');
|
4105
|
-
|
4106
|
-
INSERT INTO schema_migrations (version) VALUES ('25');
|
4107
|
-
|
4108
|
-
INSERT INTO schema_migrations (version) VALUES ('26');
|
4109
|
-
|
4110
|
-
INSERT INTO schema_migrations (version) VALUES ('3');
|
4111
|
-
|
4112
|
-
INSERT INTO schema_migrations (version) VALUES ('4');
|
4113
|
-
|
4114
|
-
INSERT INTO schema_migrations (version) VALUES ('5');
|
4115
|
-
|
4116
|
-
INSERT INTO schema_migrations (version) VALUES ('6');
|
4117
|
-
|
4118
|
-
INSERT INTO schema_migrations (version) VALUES ('7');
|
4119
|
-
|
4120
|
-
INSERT INTO schema_migrations (version) VALUES ('8');
|
3930
|
+
SET search_path TO "$user", public;
|
3931
|
+
|
3932
|
+
INSERT INTO "schema_migrations" (version) VALUES
|
3933
|
+
('0'),
|
3934
|
+
('1'),
|
3935
|
+
('10'),
|
3936
|
+
('11'),
|
3937
|
+
('12'),
|
3938
|
+
('13'),
|
3939
|
+
('14'),
|
3940
|
+
('15'),
|
3941
|
+
('16'),
|
3942
|
+
('17'),
|
3943
|
+
('18'),
|
3944
|
+
('19'),
|
3945
|
+
('2'),
|
3946
|
+
('20'),
|
3947
|
+
('20100819123300'),
|
3948
|
+
('20100824151500'),
|
3949
|
+
('20100908001428'),
|
3950
|
+
('20100911122000'),
|
3951
|
+
('20100916151530'),
|
3952
|
+
('20100916175000'),
|
3953
|
+
('20100920012100'),
|
3954
|
+
('20100926214000'),
|
3955
|
+
('20101001000000'),
|
3956
|
+
('20101002000000'),
|
3957
|
+
('20101007000000'),
|
3958
|
+
('20101008111800'),
|
3959
|
+
('20101009023300'),
|
3960
|
+
('20101104135100'),
|
3961
|
+
('20101203000000'),
|
3962
|
+
('20101203000001'),
|
3963
|
+
('20101206212033'),
|
3964
|
+
('20110112154300'),
|
3965
|
+
('20110204112800'),
|
3966
|
+
('20110317144932'),
|
3967
|
+
('20110414180600'),
|
3968
|
+
('20110415175705'),
|
3969
|
+
('20110422000000'),
|
3970
|
+
('20110425095900'),
|
3971
|
+
('20110513143900'),
|
3972
|
+
('20110517160800'),
|
3973
|
+
('20110527000000'),
|
3974
|
+
('20110527000001'),
|
3975
|
+
('20110606000001'),
|
3976
|
+
('20110622000000'),
|
3977
|
+
('20110624000001'),
|
3978
|
+
('20110625000001'),
|
3979
|
+
('20110630000001'),
|
3980
|
+
('20110630000002'),
|
3981
|
+
('20110717000001'),
|
3982
|
+
('20110727163801'),
|
3983
|
+
('20110730000001'),
|
3984
|
+
('20110812000001'),
|
3985
|
+
('20110922000000'),
|
3986
|
+
('20110928101300'),
|
3987
|
+
('20111011110000'),
|
3988
|
+
('20111203000000'),
|
3989
|
+
('20111204000000'),
|
3990
|
+
('20111210000000'),
|
3991
|
+
('20120126110000'),
|
3992
|
+
('20120411173220'),
|
3993
|
+
('20120601152442'),
|
3994
|
+
('20120625000000'),
|
3995
|
+
('20120625000001'),
|
3996
|
+
('20120625000002'),
|
3997
|
+
('20120625000003'),
|
3998
|
+
('20120625000004'),
|
3999
|
+
('20120625000005'),
|
4000
|
+
('20120625000006'),
|
4001
|
+
('20120625000007'),
|
4002
|
+
('20120625000008'),
|
4003
|
+
('20120718202805'),
|
4004
|
+
('20130228214900'),
|
4005
|
+
('20130412154159'),
|
4006
|
+
('20130412171844'),
|
4007
|
+
('20130412173121'),
|
4008
|
+
('20130412173640'),
|
4009
|
+
('20130412174254'),
|
4010
|
+
('20130412174719'),
|
4011
|
+
('20130412175040'),
|
4012
|
+
('20130423211152'),
|
4013
|
+
('20130430151353'),
|
4014
|
+
('20130430162145'),
|
4015
|
+
('20130510021637'),
|
4016
|
+
('20130515164311'),
|
4017
|
+
('20130515172727'),
|
4018
|
+
('20130516204810'),
|
4019
|
+
('20130522001343'),
|
4020
|
+
('20130522032517'),
|
4021
|
+
('20130522041110'),
|
4022
|
+
('20130525015035'),
|
4023
|
+
('20130525212420'),
|
4024
|
+
('20130531144949'),
|
4025
|
+
('20130604145732'),
|
4026
|
+
('20130717150737'),
|
4027
|
+
('20131002004641'),
|
4028
|
+
('20131002164449'),
|
4029
|
+
('20131008213344'),
|
4030
|
+
('20131011184338'),
|
4031
|
+
('20131017150735'),
|
4032
|
+
('20131021185657'),
|
4033
|
+
('20140331173835'),
|
4034
|
+
('20140407212345'),
|
4035
|
+
('20140410132401'),
|
4036
|
+
('20140410161611'),
|
4037
|
+
('20140410191213'),
|
4038
|
+
('20140410205410'),
|
4039
|
+
('20140411142102'),
|
4040
|
+
('20140411205325'),
|
4041
|
+
('20140414192550'),
|
4042
|
+
('20140417140933'),
|
4043
|
+
('20140520140817'),
|
4044
|
+
('20140603163708'),
|
4045
|
+
('20140605173747'),
|
4046
|
+
('20140702184622'),
|
4047
|
+
('20140703144541'),
|
4048
|
+
('20140722174919'),
|
4049
|
+
('20140728191933'),
|
4050
|
+
('20140801150537'),
|
4051
|
+
('20140905031549'),
|
4052
|
+
('20140922170030'),
|
4053
|
+
('20150106201450'),
|
4054
|
+
('20150112203945'),
|
4055
|
+
('20150205192745'),
|
4056
|
+
('20150209195939'),
|
4057
|
+
('20150212214222'),
|
4058
|
+
('20150219173821'),
|
4059
|
+
('20150219215039'),
|
4060
|
+
('20150226151459'),
|
4061
|
+
('20150312155312'),
|
4062
|
+
('20150317145455'),
|
4063
|
+
('20150326183742'),
|
4064
|
+
('20150421211719'),
|
4065
|
+
('20150514182921'),
|
4066
|
+
('20160415153312'),
|
4067
|
+
('20161004165612'),
|
4068
|
+
('20161107153145'),
|
4069
|
+
('20161107203710'),
|
4070
|
+
('20161227212223'),
|
4071
|
+
('20180904120211'),
|
4072
|
+
('20190308134512'),
|
4073
|
+
('20190507120211'),
|
4074
|
+
('21'),
|
4075
|
+
('22'),
|
4076
|
+
('23'),
|
4077
|
+
('24'),
|
4078
|
+
('25'),
|
4079
|
+
('26'),
|
4080
|
+
('3'),
|
4081
|
+
('4'),
|
4082
|
+
('5'),
|
4083
|
+
('6'),
|
4084
|
+
('7'),
|
4085
|
+
('8'),
|
4086
|
+
('9');
|
4121
4087
|
|
4122
|
-
INSERT INTO schema_migrations (version) VALUES ('9');
|
4123
4088
|
|