metasploit_data_models 0.24.3 → 0.24.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b0e76e56575cde44eaaf8cccbb83510c1cd7bb1
4
- data.tar.gz: 2ebe2f14cd9c7d467ac6e62e7424eae5bc141010
3
+ metadata.gz: 61442f9aba4eb0add5a0c6f73069b50a8f45f252
4
+ data.tar.gz: e1fc9dfd4147569783fb3d2ff3a267a6d4a1efca
5
5
  SHA512:
6
- metadata.gz: 7023e69695c3caaa489b057323d2c2d3011812d1d4db05a0c65287ad7f225fa00e74be18bd492131c3870b48f50af822b6cee43333732dcd78f32c9c49464199
7
- data.tar.gz: 3d62cffcc384ec9a8ab347dc7ccc94cceb95a9cc9e1260dfb797d1ce391f9a5bb6b5e6b23efcbf494ccd0ea14a75ef4070d63a6bc836a8de3577a2d787f747cb
6
+ metadata.gz: 43783566f818d244740e6b766646a3cc0a984f5e0436b5a09083b7d39533222dde50acfd9a39ed0d1777b72e16d7825ce8d9e61b5d5e28c88190c4d12c19080c
7
+ data.tar.gz: ffff912b548476d593a6e3fc34a9d0ae25fb00d3233d184df48ff7634ae42d0eea0cd38d837d8f37051adc6739437f54440daf97e7d6fc9fc73a8a9569d684e2
@@ -64,5 +64,16 @@ class MetasploitDataModels::AutomaticExploitation::MatchResult < ActiveRecord::B
64
64
  # Runs of {#match} that succeeded
65
65
  scope :succeeded, lambda { where(state:"succeeded") }
66
66
 
67
+ # Runs of {#match} by workspace ID
68
+ scope :by_workspace, lambda { |workspace_id|
69
+ joins(
70
+ MetasploitDataModels::AutomaticExploitation::MatchResult.join_association(:match),
71
+ MetasploitDataModels::AutomaticExploitation::Match.join_association(:match_set)
72
+ ).where(
73
+ MetasploitDataModels::AutomaticExploitation::MatchSet[:workspace_id].eq(workspace_id),
74
+ )
75
+ }
76
+
67
77
  Metasploit::Concern.run(self)
68
78
  end
79
+
@@ -10,7 +10,7 @@ module MetasploitDataModels
10
10
  # The minor version number, scoped to the {MAJOR} version number.
11
11
  MINOR = 24
12
12
  # The patch version number, scoped to the {MAJOR} and {MINOR} version numbers.
13
- PATCH = 3
13
+ PATCH = 4
14
14
 
15
15
  #
16
16
  # Module Methods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit_data_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.3
4
+ version: 0.24.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Huckins
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-05-11 00:00:00.000000000 Z
14
+ date: 2015-05-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: metasploit-version
@@ -599,7 +599,6 @@ files:
599
599
  - spec/dummy/config/initializers/session_store.rb
600
600
  - spec/dummy/config/initializers/wrap_parameters.rb
601
601
  - spec/dummy/config/routes.rb
602
- - spec/dummy/db/structure.sql
603
602
  - spec/dummy/lib/assets/.gitkeep
604
603
  - spec/dummy/log/.gitkeep
605
604
  - spec/dummy/public/404.html
@@ -700,7 +699,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
700
699
  version: '0'
701
700
  requirements: []
702
701
  rubyforge_project:
703
- rubygems_version: 2.4.3
702
+ rubygems_version: 2.4.6
704
703
  signing_key:
705
704
  specification_version: 4
706
705
  summary: Database code for MSF and Metasploit Pro
@@ -805,7 +804,6 @@ test_files:
805
804
  - spec/dummy/config/initializers/session_store.rb
806
805
  - spec/dummy/config/initializers/wrap_parameters.rb
807
806
  - spec/dummy/config/routes.rb
808
- - spec/dummy/db/structure.sql
809
807
  - spec/dummy/lib/assets/.gitkeep
810
808
  - spec/dummy/log/.gitkeep
811
809
  - spec/dummy/public/404.html
@@ -1,3404 +0,0 @@
1
- --
2
- -- PostgreSQL database dump
3
- --
4
-
5
- SET statement_timeout = 0;
6
- SET lock_timeout = 0;
7
- SET client_encoding = 'UTF8';
8
- SET standard_conforming_strings = on;
9
- SET check_function_bodies = false;
10
- SET client_min_messages = warning;
11
-
12
- --
13
- -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
14
- --
15
-
16
- CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
17
-
18
-
19
- --
20
- -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
21
- --
22
-
23
- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
24
-
25
-
26
- SET search_path = public, pg_catalog;
27
-
28
- SET default_tablespace = '';
29
-
30
- SET default_with_oids = false;
31
-
32
- --
33
- -- Name: api_keys; Type: TABLE; Schema: public; Owner: -; Tablespace:
34
- --
35
-
36
- CREATE TABLE api_keys (
37
- id integer NOT NULL,
38
- token text,
39
- created_at timestamp without time zone NOT NULL,
40
- updated_at timestamp without time zone NOT NULL
41
- );
42
-
43
-
44
- --
45
- -- Name: api_keys_id_seq; Type: SEQUENCE; Schema: public; Owner: -
46
- --
47
-
48
- CREATE SEQUENCE api_keys_id_seq
49
- START WITH 1
50
- INCREMENT BY 1
51
- NO MINVALUE
52
- NO MAXVALUE
53
- CACHE 1;
54
-
55
-
56
- --
57
- -- Name: api_keys_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
58
- --
59
-
60
- ALTER SEQUENCE api_keys_id_seq OWNED BY api_keys.id;
61
-
62
-
63
- --
64
- -- Name: automatic_exploitation_match_results; Type: TABLE; Schema: public; Owner: -; Tablespace:
65
- --
66
-
67
- CREATE TABLE automatic_exploitation_match_results (
68
- id integer NOT NULL,
69
- match_id integer,
70
- run_id integer,
71
- state character varying(255) NOT NULL,
72
- created_at timestamp without time zone NOT NULL,
73
- updated_at timestamp without time zone NOT NULL
74
- );
75
-
76
-
77
- --
78
- -- Name: automatic_exploitation_match_results_id_seq; Type: SEQUENCE; Schema: public; Owner: -
79
- --
80
-
81
- CREATE SEQUENCE automatic_exploitation_match_results_id_seq
82
- START WITH 1
83
- INCREMENT BY 1
84
- NO MINVALUE
85
- NO MAXVALUE
86
- CACHE 1;
87
-
88
-
89
- --
90
- -- Name: automatic_exploitation_match_results_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
91
- --
92
-
93
- ALTER SEQUENCE automatic_exploitation_match_results_id_seq OWNED BY automatic_exploitation_match_results.id;
94
-
95
-
96
- --
97
- -- Name: automatic_exploitation_match_sets; Type: TABLE; Schema: public; Owner: -; Tablespace:
98
- --
99
-
100
- CREATE TABLE automatic_exploitation_match_sets (
101
- id integer NOT NULL,
102
- workspace_id integer,
103
- user_id integer,
104
- created_at timestamp without time zone NOT NULL,
105
- updated_at timestamp without time zone NOT NULL
106
- );
107
-
108
-
109
- --
110
- -- Name: automatic_exploitation_match_sets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
111
- --
112
-
113
- CREATE SEQUENCE automatic_exploitation_match_sets_id_seq
114
- START WITH 1
115
- INCREMENT BY 1
116
- NO MINVALUE
117
- NO MAXVALUE
118
- CACHE 1;
119
-
120
-
121
- --
122
- -- Name: automatic_exploitation_match_sets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
123
- --
124
-
125
- ALTER SEQUENCE automatic_exploitation_match_sets_id_seq OWNED BY automatic_exploitation_match_sets.id;
126
-
127
-
128
- --
129
- -- Name: automatic_exploitation_matches; Type: TABLE; Schema: public; Owner: -; Tablespace:
130
- --
131
-
132
- CREATE TABLE automatic_exploitation_matches (
133
- id integer NOT NULL,
134
- module_detail_id integer,
135
- state character varying(255),
136
- nexpose_data_vulnerability_definition_id integer,
137
- created_at timestamp without time zone NOT NULL,
138
- updated_at timestamp without time zone NOT NULL,
139
- match_set_id integer,
140
- matchable_type character varying(255),
141
- matchable_id integer,
142
- module_fullname text
143
- );
144
-
145
-
146
- --
147
- -- Name: automatic_exploitation_matches_id_seq; Type: SEQUENCE; Schema: public; Owner: -
148
- --
149
-
150
- CREATE SEQUENCE automatic_exploitation_matches_id_seq
151
- START WITH 1
152
- INCREMENT BY 1
153
- NO MINVALUE
154
- NO MAXVALUE
155
- CACHE 1;
156
-
157
-
158
- --
159
- -- Name: automatic_exploitation_matches_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
160
- --
161
-
162
- ALTER SEQUENCE automatic_exploitation_matches_id_seq OWNED BY automatic_exploitation_matches.id;
163
-
164
-
165
- --
166
- -- Name: automatic_exploitation_runs; Type: TABLE; Schema: public; Owner: -; Tablespace:
167
- --
168
-
169
- CREATE TABLE automatic_exploitation_runs (
170
- id integer NOT NULL,
171
- workspace_id integer,
172
- user_id integer,
173
- match_set_id integer,
174
- created_at timestamp without time zone NOT NULL,
175
- updated_at timestamp without time zone NOT NULL
176
- );
177
-
178
-
179
- --
180
- -- Name: automatic_exploitation_runs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
181
- --
182
-
183
- CREATE SEQUENCE automatic_exploitation_runs_id_seq
184
- START WITH 1
185
- INCREMENT BY 1
186
- NO MINVALUE
187
- NO MAXVALUE
188
- CACHE 1;
189
-
190
-
191
- --
192
- -- Name: automatic_exploitation_runs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
193
- --
194
-
195
- ALTER SEQUENCE automatic_exploitation_runs_id_seq OWNED BY automatic_exploitation_runs.id;
196
-
197
-
198
- --
199
- -- Name: clients; Type: TABLE; Schema: public; Owner: -; Tablespace:
200
- --
201
-
202
- CREATE TABLE clients (
203
- id integer NOT NULL,
204
- host_id integer,
205
- created_at timestamp without time zone,
206
- ua_string character varying(1024) NOT NULL,
207
- ua_name character varying(64),
208
- ua_ver character varying(32),
209
- updated_at timestamp without time zone
210
- );
211
-
212
-
213
- --
214
- -- Name: clients_id_seq; Type: SEQUENCE; Schema: public; Owner: -
215
- --
216
-
217
- CREATE SEQUENCE clients_id_seq
218
- START WITH 1
219
- INCREMENT BY 1
220
- NO MINVALUE
221
- NO MAXVALUE
222
- CACHE 1;
223
-
224
-
225
- --
226
- -- Name: clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
227
- --
228
-
229
- ALTER SEQUENCE clients_id_seq OWNED BY clients.id;
230
-
231
-
232
- --
233
- -- Name: creds; Type: TABLE; Schema: public; Owner: -; Tablespace:
234
- --
235
-
236
- CREATE TABLE creds (
237
- id integer NOT NULL,
238
- service_id integer NOT NULL,
239
- created_at timestamp without time zone NOT NULL,
240
- updated_at timestamp without time zone NOT NULL,
241
- "user" character varying(2048),
242
- pass character varying(4096),
243
- active boolean DEFAULT true,
244
- proof character varying(4096),
245
- ptype character varying(256),
246
- source_id integer,
247
- source_type character varying(255)
248
- );
249
-
250
-
251
- --
252
- -- Name: creds_id_seq; Type: SEQUENCE; Schema: public; Owner: -
253
- --
254
-
255
- CREATE SEQUENCE creds_id_seq
256
- START WITH 1
257
- INCREMENT BY 1
258
- NO MINVALUE
259
- NO MAXVALUE
260
- CACHE 1;
261
-
262
-
263
- --
264
- -- Name: creds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
265
- --
266
-
267
- ALTER SEQUENCE creds_id_seq OWNED BY creds.id;
268
-
269
-
270
- --
271
- -- Name: events; Type: TABLE; Schema: public; Owner: -; Tablespace:
272
- --
273
-
274
- CREATE TABLE events (
275
- id integer NOT NULL,
276
- workspace_id integer,
277
- host_id integer,
278
- created_at timestamp without time zone,
279
- name character varying(255),
280
- updated_at timestamp without time zone,
281
- critical boolean,
282
- seen boolean,
283
- username character varying(255),
284
- info text
285
- );
286
-
287
-
288
- --
289
- -- Name: events_id_seq; Type: SEQUENCE; Schema: public; Owner: -
290
- --
291
-
292
- CREATE SEQUENCE events_id_seq
293
- START WITH 1
294
- INCREMENT BY 1
295
- NO MINVALUE
296
- NO MAXVALUE
297
- CACHE 1;
298
-
299
-
300
- --
301
- -- Name: events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
302
- --
303
-
304
- ALTER SEQUENCE events_id_seq OWNED BY events.id;
305
-
306
-
307
- --
308
- -- Name: exploit_attempts; Type: TABLE; Schema: public; Owner: -; Tablespace:
309
- --
310
-
311
- CREATE TABLE exploit_attempts (
312
- id integer NOT NULL,
313
- host_id integer,
314
- service_id integer,
315
- vuln_id integer,
316
- attempted_at timestamp without time zone,
317
- exploited boolean,
318
- fail_reason character varying(255),
319
- username character varying(255),
320
- module text,
321
- session_id integer,
322
- loot_id integer,
323
- port integer,
324
- proto character varying(255),
325
- fail_detail text
326
- );
327
-
328
-
329
- --
330
- -- Name: exploit_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
331
- --
332
-
333
- CREATE SEQUENCE exploit_attempts_id_seq
334
- START WITH 1
335
- INCREMENT BY 1
336
- NO MINVALUE
337
- NO MAXVALUE
338
- CACHE 1;
339
-
340
-
341
- --
342
- -- Name: exploit_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
343
- --
344
-
345
- ALTER SEQUENCE exploit_attempts_id_seq OWNED BY exploit_attempts.id;
346
-
347
-
348
- --
349
- -- Name: exploited_hosts; Type: TABLE; Schema: public; Owner: -; Tablespace:
350
- --
351
-
352
- CREATE TABLE exploited_hosts (
353
- id integer NOT NULL,
354
- host_id integer NOT NULL,
355
- service_id integer,
356
- session_uuid character varying(8),
357
- name character varying(2048),
358
- payload character varying(2048),
359
- created_at timestamp without time zone NOT NULL,
360
- updated_at timestamp without time zone NOT NULL
361
- );
362
-
363
-
364
- --
365
- -- Name: exploited_hosts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
366
- --
367
-
368
- CREATE SEQUENCE exploited_hosts_id_seq
369
- START WITH 1
370
- INCREMENT BY 1
371
- NO MINVALUE
372
- NO MAXVALUE
373
- CACHE 1;
374
-
375
-
376
- --
377
- -- Name: exploited_hosts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
378
- --
379
-
380
- ALTER SEQUENCE exploited_hosts_id_seq OWNED BY exploited_hosts.id;
381
-
382
-
383
- --
384
- -- Name: host_details; Type: TABLE; Schema: public; Owner: -; Tablespace:
385
- --
386
-
387
- CREATE TABLE host_details (
388
- id integer NOT NULL,
389
- host_id integer,
390
- nx_console_id integer,
391
- nx_device_id integer,
392
- src character varying(255),
393
- nx_site_name character varying(255),
394
- nx_site_importance character varying(255),
395
- nx_scan_template character varying(255),
396
- nx_risk_score double precision
397
- );
398
-
399
-
400
- --
401
- -- Name: host_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
402
- --
403
-
404
- CREATE SEQUENCE host_details_id_seq
405
- START WITH 1
406
- INCREMENT BY 1
407
- NO MINVALUE
408
- NO MAXVALUE
409
- CACHE 1;
410
-
411
-
412
- --
413
- -- Name: host_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
414
- --
415
-
416
- ALTER SEQUENCE host_details_id_seq OWNED BY host_details.id;
417
-
418
-
419
- --
420
- -- Name: hosts; Type: TABLE; Schema: public; Owner: -; Tablespace:
421
- --
422
-
423
- CREATE TABLE hosts (
424
- id integer NOT NULL,
425
- created_at timestamp without time zone,
426
- address inet NOT NULL,
427
- mac character varying(255),
428
- comm character varying(255),
429
- name character varying(255),
430
- state character varying(255),
431
- os_name character varying(255),
432
- os_flavor character varying(255),
433
- os_sp character varying(255),
434
- os_lang character varying(255),
435
- arch character varying(255),
436
- workspace_id integer NOT NULL,
437
- updated_at timestamp without time zone,
438
- purpose text,
439
- info character varying(65536),
440
- comments text,
441
- scope text,
442
- virtual_host text,
443
- note_count integer DEFAULT 0,
444
- vuln_count integer DEFAULT 0,
445
- service_count integer DEFAULT 0,
446
- host_detail_count integer DEFAULT 0,
447
- exploit_attempt_count integer DEFAULT 0,
448
- cred_count integer DEFAULT 0,
449
- detected_arch character varying(255)
450
- );
451
-
452
-
453
- --
454
- -- Name: hosts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
455
- --
456
-
457
- CREATE SEQUENCE hosts_id_seq
458
- START WITH 1
459
- INCREMENT BY 1
460
- NO MINVALUE
461
- NO MAXVALUE
462
- CACHE 1;
463
-
464
-
465
- --
466
- -- Name: hosts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
467
- --
468
-
469
- ALTER SEQUENCE hosts_id_seq OWNED BY hosts.id;
470
-
471
-
472
- --
473
- -- Name: hosts_tags; Type: TABLE; Schema: public; Owner: -; Tablespace:
474
- --
475
-
476
- CREATE TABLE hosts_tags (
477
- host_id integer,
478
- tag_id integer,
479
- id integer NOT NULL
480
- );
481
-
482
-
483
- --
484
- -- Name: hosts_tags_id_seq; Type: SEQUENCE; Schema: public; Owner: -
485
- --
486
-
487
- CREATE SEQUENCE hosts_tags_id_seq
488
- START WITH 1
489
- INCREMENT BY 1
490
- NO MINVALUE
491
- NO MAXVALUE
492
- CACHE 1;
493
-
494
-
495
- --
496
- -- Name: hosts_tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
497
- --
498
-
499
- ALTER SEQUENCE hosts_tags_id_seq OWNED BY hosts_tags.id;
500
-
501
-
502
- --
503
- -- Name: listeners; Type: TABLE; Schema: public; Owner: -; Tablespace:
504
- --
505
-
506
- CREATE TABLE listeners (
507
- id integer NOT NULL,
508
- created_at timestamp without time zone NOT NULL,
509
- updated_at timestamp without time zone NOT NULL,
510
- workspace_id integer DEFAULT 1 NOT NULL,
511
- task_id integer,
512
- enabled boolean DEFAULT true,
513
- owner text,
514
- payload text,
515
- address text,
516
- port integer,
517
- options bytea,
518
- macro text
519
- );
520
-
521
-
522
- --
523
- -- Name: listeners_id_seq; Type: SEQUENCE; Schema: public; Owner: -
524
- --
525
-
526
- CREATE SEQUENCE listeners_id_seq
527
- START WITH 1
528
- INCREMENT BY 1
529
- NO MINVALUE
530
- NO MAXVALUE
531
- CACHE 1;
532
-
533
-
534
- --
535
- -- Name: listeners_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
536
- --
537
-
538
- ALTER SEQUENCE listeners_id_seq OWNED BY listeners.id;
539
-
540
-
541
- --
542
- -- Name: loots; Type: TABLE; Schema: public; Owner: -; Tablespace:
543
- --
544
-
545
- CREATE TABLE loots (
546
- id integer NOT NULL,
547
- workspace_id integer DEFAULT 1 NOT NULL,
548
- host_id integer,
549
- service_id integer,
550
- ltype character varying(512),
551
- path character varying(1024),
552
- data text,
553
- created_at timestamp without time zone NOT NULL,
554
- updated_at timestamp without time zone NOT NULL,
555
- content_type character varying(255),
556
- name text,
557
- info text,
558
- module_run_id integer
559
- );
560
-
561
-
562
- --
563
- -- Name: loots_id_seq; Type: SEQUENCE; Schema: public; Owner: -
564
- --
565
-
566
- CREATE SEQUENCE loots_id_seq
567
- START WITH 1
568
- INCREMENT BY 1
569
- NO MINVALUE
570
- NO MAXVALUE
571
- CACHE 1;
572
-
573
-
574
- --
575
- -- Name: loots_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
576
- --
577
-
578
- ALTER SEQUENCE loots_id_seq OWNED BY loots.id;
579
-
580
-
581
- --
582
- -- Name: macros; Type: TABLE; Schema: public; Owner: -; Tablespace:
583
- --
584
-
585
- CREATE TABLE macros (
586
- id integer NOT NULL,
587
- created_at timestamp without time zone NOT NULL,
588
- updated_at timestamp without time zone NOT NULL,
589
- owner text,
590
- name text,
591
- description text,
592
- actions bytea,
593
- prefs bytea
594
- );
595
-
596
-
597
- --
598
- -- Name: macros_id_seq; Type: SEQUENCE; Schema: public; Owner: -
599
- --
600
-
601
- CREATE SEQUENCE macros_id_seq
602
- START WITH 1
603
- INCREMENT BY 1
604
- NO MINVALUE
605
- NO MAXVALUE
606
- CACHE 1;
607
-
608
-
609
- --
610
- -- Name: macros_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
611
- --
612
-
613
- ALTER SEQUENCE macros_id_seq OWNED BY macros.id;
614
-
615
-
616
- --
617
- -- Name: mod_refs; Type: TABLE; Schema: public; Owner: -; Tablespace:
618
- --
619
-
620
- CREATE TABLE mod_refs (
621
- id integer NOT NULL,
622
- module character varying(1024),
623
- mtype character varying(128),
624
- ref text
625
- );
626
-
627
-
628
- --
629
- -- Name: mod_refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
630
- --
631
-
632
- CREATE SEQUENCE mod_refs_id_seq
633
- START WITH 1
634
- INCREMENT BY 1
635
- NO MINVALUE
636
- NO MAXVALUE
637
- CACHE 1;
638
-
639
-
640
- --
641
- -- Name: mod_refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
642
- --
643
-
644
- ALTER SEQUENCE mod_refs_id_seq OWNED BY mod_refs.id;
645
-
646
-
647
- --
648
- -- Name: module_actions; Type: TABLE; Schema: public; Owner: -; Tablespace:
649
- --
650
-
651
- CREATE TABLE module_actions (
652
- id integer NOT NULL,
653
- detail_id integer,
654
- name text
655
- );
656
-
657
-
658
- --
659
- -- Name: module_actions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
660
- --
661
-
662
- CREATE SEQUENCE module_actions_id_seq
663
- START WITH 1
664
- INCREMENT BY 1
665
- NO MINVALUE
666
- NO MAXVALUE
667
- CACHE 1;
668
-
669
-
670
- --
671
- -- Name: module_actions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
672
- --
673
-
674
- ALTER SEQUENCE module_actions_id_seq OWNED BY module_actions.id;
675
-
676
-
677
- --
678
- -- Name: module_archs; Type: TABLE; Schema: public; Owner: -; Tablespace:
679
- --
680
-
681
- CREATE TABLE module_archs (
682
- id integer NOT NULL,
683
- detail_id integer,
684
- name text
685
- );
686
-
687
-
688
- --
689
- -- Name: module_archs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
690
- --
691
-
692
- CREATE SEQUENCE module_archs_id_seq
693
- START WITH 1
694
- INCREMENT BY 1
695
- NO MINVALUE
696
- NO MAXVALUE
697
- CACHE 1;
698
-
699
-
700
- --
701
- -- Name: module_archs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
702
- --
703
-
704
- ALTER SEQUENCE module_archs_id_seq OWNED BY module_archs.id;
705
-
706
-
707
- --
708
- -- Name: module_authors; Type: TABLE; Schema: public; Owner: -; Tablespace:
709
- --
710
-
711
- CREATE TABLE module_authors (
712
- id integer NOT NULL,
713
- detail_id integer,
714
- name text,
715
- email text
716
- );
717
-
718
-
719
- --
720
- -- Name: module_authors_id_seq; Type: SEQUENCE; Schema: public; Owner: -
721
- --
722
-
723
- CREATE SEQUENCE module_authors_id_seq
724
- START WITH 1
725
- INCREMENT BY 1
726
- NO MINVALUE
727
- NO MAXVALUE
728
- CACHE 1;
729
-
730
-
731
- --
732
- -- Name: module_authors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
733
- --
734
-
735
- ALTER SEQUENCE module_authors_id_seq OWNED BY module_authors.id;
736
-
737
-
738
- --
739
- -- Name: module_details; Type: TABLE; Schema: public; Owner: -; Tablespace:
740
- --
741
-
742
- CREATE TABLE module_details (
743
- id integer NOT NULL,
744
- mtime timestamp without time zone,
745
- file text,
746
- mtype character varying(255),
747
- refname text,
748
- fullname text,
749
- name text,
750
- rank integer,
751
- description text,
752
- license character varying(255),
753
- privileged boolean,
754
- disclosure_date timestamp without time zone,
755
- default_target integer,
756
- default_action text,
757
- stance character varying(255),
758
- ready boolean
759
- );
760
-
761
-
762
- --
763
- -- Name: module_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
764
- --
765
-
766
- CREATE SEQUENCE module_details_id_seq
767
- START WITH 1
768
- INCREMENT BY 1
769
- NO MINVALUE
770
- NO MAXVALUE
771
- CACHE 1;
772
-
773
-
774
- --
775
- -- Name: module_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
776
- --
777
-
778
- ALTER SEQUENCE module_details_id_seq OWNED BY module_details.id;
779
-
780
-
781
- --
782
- -- Name: module_mixins; Type: TABLE; Schema: public; Owner: -; Tablespace:
783
- --
784
-
785
- CREATE TABLE module_mixins (
786
- id integer NOT NULL,
787
- detail_id integer,
788
- name text
789
- );
790
-
791
-
792
- --
793
- -- Name: module_mixins_id_seq; Type: SEQUENCE; Schema: public; Owner: -
794
- --
795
-
796
- CREATE SEQUENCE module_mixins_id_seq
797
- START WITH 1
798
- INCREMENT BY 1
799
- NO MINVALUE
800
- NO MAXVALUE
801
- CACHE 1;
802
-
803
-
804
- --
805
- -- Name: module_mixins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
806
- --
807
-
808
- ALTER SEQUENCE module_mixins_id_seq OWNED BY module_mixins.id;
809
-
810
-
811
- --
812
- -- Name: module_platforms; Type: TABLE; Schema: public; Owner: -; Tablespace:
813
- --
814
-
815
- CREATE TABLE module_platforms (
816
- id integer NOT NULL,
817
- detail_id integer,
818
- name text
819
- );
820
-
821
-
822
- --
823
- -- Name: module_platforms_id_seq; Type: SEQUENCE; Schema: public; Owner: -
824
- --
825
-
826
- CREATE SEQUENCE module_platforms_id_seq
827
- START WITH 1
828
- INCREMENT BY 1
829
- NO MINVALUE
830
- NO MAXVALUE
831
- CACHE 1;
832
-
833
-
834
- --
835
- -- Name: module_platforms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
836
- --
837
-
838
- ALTER SEQUENCE module_platforms_id_seq OWNED BY module_platforms.id;
839
-
840
-
841
- --
842
- -- Name: module_refs; Type: TABLE; Schema: public; Owner: -; Tablespace:
843
- --
844
-
845
- CREATE TABLE module_refs (
846
- id integer NOT NULL,
847
- detail_id integer,
848
- name text
849
- );
850
-
851
-
852
- --
853
- -- Name: module_refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
854
- --
855
-
856
- CREATE SEQUENCE module_refs_id_seq
857
- START WITH 1
858
- INCREMENT BY 1
859
- NO MINVALUE
860
- NO MAXVALUE
861
- CACHE 1;
862
-
863
-
864
- --
865
- -- Name: module_refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
866
- --
867
-
868
- ALTER SEQUENCE module_refs_id_seq OWNED BY module_refs.id;
869
-
870
-
871
- --
872
- -- Name: module_runs; Type: TABLE; Schema: public; Owner: -; Tablespace:
873
- --
874
-
875
- CREATE TABLE module_runs (
876
- id integer NOT NULL,
877
- attempted_at timestamp without time zone,
878
- fail_detail text,
879
- fail_reason character varying(255),
880
- module_fullname text,
881
- port integer,
882
- proto character varying(255),
883
- session_id integer,
884
- status character varying(255),
885
- trackable_id integer,
886
- trackable_type character varying(255),
887
- user_id integer,
888
- username character varying(255),
889
- created_at timestamp without time zone NOT NULL,
890
- updated_at timestamp without time zone NOT NULL
891
- );
892
-
893
-
894
- --
895
- -- Name: module_runs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
896
- --
897
-
898
- CREATE SEQUENCE module_runs_id_seq
899
- START WITH 1
900
- INCREMENT BY 1
901
- NO MINVALUE
902
- NO MAXVALUE
903
- CACHE 1;
904
-
905
-
906
- --
907
- -- Name: module_runs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
908
- --
909
-
910
- ALTER SEQUENCE module_runs_id_seq OWNED BY module_runs.id;
911
-
912
-
913
- --
914
- -- Name: module_targets; Type: TABLE; Schema: public; Owner: -; Tablespace:
915
- --
916
-
917
- CREATE TABLE module_targets (
918
- id integer NOT NULL,
919
- detail_id integer,
920
- index integer,
921
- name text
922
- );
923
-
924
-
925
- --
926
- -- Name: module_targets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
927
- --
928
-
929
- CREATE SEQUENCE module_targets_id_seq
930
- START WITH 1
931
- INCREMENT BY 1
932
- NO MINVALUE
933
- NO MAXVALUE
934
- CACHE 1;
935
-
936
-
937
- --
938
- -- Name: module_targets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
939
- --
940
-
941
- ALTER SEQUENCE module_targets_id_seq OWNED BY module_targets.id;
942
-
943
-
944
- --
945
- -- Name: nexpose_consoles; Type: TABLE; Schema: public; Owner: -; Tablespace:
946
- --
947
-
948
- CREATE TABLE nexpose_consoles (
949
- id integer NOT NULL,
950
- created_at timestamp without time zone NOT NULL,
951
- updated_at timestamp without time zone NOT NULL,
952
- enabled boolean DEFAULT true,
953
- owner text,
954
- address text,
955
- port integer DEFAULT 3780,
956
- username text,
957
- password text,
958
- status text,
959
- version text,
960
- cert text,
961
- cached_sites bytea,
962
- name text
963
- );
964
-
965
-
966
- --
967
- -- Name: nexpose_consoles_id_seq; Type: SEQUENCE; Schema: public; Owner: -
968
- --
969
-
970
- CREATE SEQUENCE nexpose_consoles_id_seq
971
- START WITH 1
972
- INCREMENT BY 1
973
- NO MINVALUE
974
- NO MAXVALUE
975
- CACHE 1;
976
-
977
-
978
- --
979
- -- Name: nexpose_consoles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
980
- --
981
-
982
- ALTER SEQUENCE nexpose_consoles_id_seq OWNED BY nexpose_consoles.id;
983
-
984
-
985
- --
986
- -- Name: notes; Type: TABLE; Schema: public; Owner: -; Tablespace:
987
- --
988
-
989
- CREATE TABLE notes (
990
- id integer NOT NULL,
991
- created_at timestamp without time zone,
992
- ntype character varying(512),
993
- workspace_id integer DEFAULT 1 NOT NULL,
994
- service_id integer,
995
- host_id integer,
996
- updated_at timestamp without time zone,
997
- critical boolean,
998
- seen boolean,
999
- data text,
1000
- vuln_id integer
1001
- );
1002
-
1003
-
1004
- --
1005
- -- Name: notes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1006
- --
1007
-
1008
- CREATE SEQUENCE notes_id_seq
1009
- START WITH 1
1010
- INCREMENT BY 1
1011
- NO MINVALUE
1012
- NO MAXVALUE
1013
- CACHE 1;
1014
-
1015
-
1016
- --
1017
- -- Name: notes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1018
- --
1019
-
1020
- ALTER SEQUENCE notes_id_seq OWNED BY notes.id;
1021
-
1022
-
1023
- --
1024
- -- Name: profiles; Type: TABLE; Schema: public; Owner: -; Tablespace:
1025
- --
1026
-
1027
- CREATE TABLE profiles (
1028
- id integer NOT NULL,
1029
- created_at timestamp without time zone NOT NULL,
1030
- updated_at timestamp without time zone NOT NULL,
1031
- active boolean DEFAULT true,
1032
- name text,
1033
- owner text,
1034
- settings bytea
1035
- );
1036
-
1037
-
1038
- --
1039
- -- Name: profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1040
- --
1041
-
1042
- CREATE SEQUENCE profiles_id_seq
1043
- START WITH 1
1044
- INCREMENT BY 1
1045
- NO MINVALUE
1046
- NO MAXVALUE
1047
- CACHE 1;
1048
-
1049
-
1050
- --
1051
- -- Name: profiles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1052
- --
1053
-
1054
- ALTER SEQUENCE profiles_id_seq OWNED BY profiles.id;
1055
-
1056
-
1057
- --
1058
- -- Name: refs; Type: TABLE; Schema: public; Owner: -; Tablespace:
1059
- --
1060
-
1061
- CREATE TABLE refs (
1062
- id integer NOT NULL,
1063
- ref_id integer,
1064
- created_at timestamp without time zone,
1065
- name character varying(512),
1066
- updated_at timestamp without time zone
1067
- );
1068
-
1069
-
1070
- --
1071
- -- Name: refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1072
- --
1073
-
1074
- CREATE SEQUENCE refs_id_seq
1075
- START WITH 1
1076
- INCREMENT BY 1
1077
- NO MINVALUE
1078
- NO MAXVALUE
1079
- CACHE 1;
1080
-
1081
-
1082
- --
1083
- -- Name: refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1084
- --
1085
-
1086
- ALTER SEQUENCE refs_id_seq OWNED BY refs.id;
1087
-
1088
-
1089
- --
1090
- -- Name: report_templates; Type: TABLE; Schema: public; Owner: -; Tablespace:
1091
- --
1092
-
1093
- CREATE TABLE report_templates (
1094
- id integer NOT NULL,
1095
- workspace_id integer DEFAULT 1 NOT NULL,
1096
- created_by character varying(255),
1097
- path character varying(1024),
1098
- name text,
1099
- created_at timestamp without time zone NOT NULL,
1100
- updated_at timestamp without time zone NOT NULL
1101
- );
1102
-
1103
-
1104
- --
1105
- -- Name: report_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1106
- --
1107
-
1108
- CREATE SEQUENCE report_templates_id_seq
1109
- START WITH 1
1110
- INCREMENT BY 1
1111
- NO MINVALUE
1112
- NO MAXVALUE
1113
- CACHE 1;
1114
-
1115
-
1116
- --
1117
- -- Name: report_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1118
- --
1119
-
1120
- ALTER SEQUENCE report_templates_id_seq OWNED BY report_templates.id;
1121
-
1122
-
1123
- --
1124
- -- Name: reports; Type: TABLE; Schema: public; Owner: -; Tablespace:
1125
- --
1126
-
1127
- CREATE TABLE reports (
1128
- id integer NOT NULL,
1129
- workspace_id integer DEFAULT 1 NOT NULL,
1130
- created_by character varying(255),
1131
- rtype character varying(255),
1132
- path character varying(1024),
1133
- options text,
1134
- created_at timestamp without time zone NOT NULL,
1135
- updated_at timestamp without time zone NOT NULL,
1136
- downloaded_at timestamp without time zone,
1137
- task_id integer,
1138
- name character varying(63)
1139
- );
1140
-
1141
-
1142
- --
1143
- -- Name: reports_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1144
- --
1145
-
1146
- CREATE SEQUENCE reports_id_seq
1147
- START WITH 1
1148
- INCREMENT BY 1
1149
- NO MINVALUE
1150
- NO MAXVALUE
1151
- CACHE 1;
1152
-
1153
-
1154
- --
1155
- -- Name: reports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1156
- --
1157
-
1158
- ALTER SEQUENCE reports_id_seq OWNED BY reports.id;
1159
-
1160
-
1161
- --
1162
- -- Name: routes; Type: TABLE; Schema: public; Owner: -; Tablespace:
1163
- --
1164
-
1165
- CREATE TABLE routes (
1166
- id integer NOT NULL,
1167
- session_id integer,
1168
- subnet character varying(255),
1169
- netmask character varying(255)
1170
- );
1171
-
1172
-
1173
- --
1174
- -- Name: routes_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1175
- --
1176
-
1177
- CREATE SEQUENCE routes_id_seq
1178
- START WITH 1
1179
- INCREMENT BY 1
1180
- NO MINVALUE
1181
- NO MAXVALUE
1182
- CACHE 1;
1183
-
1184
-
1185
- --
1186
- -- Name: routes_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1187
- --
1188
-
1189
- ALTER SEQUENCE routes_id_seq OWNED BY routes.id;
1190
-
1191
-
1192
- --
1193
- -- Name: schema_migrations; Type: TABLE; Schema: public; Owner: -; Tablespace:
1194
- --
1195
-
1196
- CREATE TABLE schema_migrations (
1197
- version character varying(255) NOT NULL
1198
- );
1199
-
1200
-
1201
- --
1202
- -- Name: services; Type: TABLE; Schema: public; Owner: -; Tablespace:
1203
- --
1204
-
1205
- CREATE TABLE services (
1206
- id integer NOT NULL,
1207
- host_id integer,
1208
- created_at timestamp without time zone,
1209
- port integer NOT NULL,
1210
- proto character varying(16) NOT NULL,
1211
- state character varying(255),
1212
- name character varying(255),
1213
- updated_at timestamp without time zone,
1214
- info text
1215
- );
1216
-
1217
-
1218
- --
1219
- -- Name: services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1220
- --
1221
-
1222
- CREATE SEQUENCE services_id_seq
1223
- START WITH 1
1224
- INCREMENT BY 1
1225
- NO MINVALUE
1226
- NO MAXVALUE
1227
- CACHE 1;
1228
-
1229
-
1230
- --
1231
- -- Name: services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1232
- --
1233
-
1234
- ALTER SEQUENCE services_id_seq OWNED BY services.id;
1235
-
1236
-
1237
- --
1238
- -- Name: session_events; Type: TABLE; Schema: public; Owner: -; Tablespace:
1239
- --
1240
-
1241
- CREATE TABLE session_events (
1242
- id integer NOT NULL,
1243
- session_id integer,
1244
- etype character varying(255),
1245
- command bytea,
1246
- output bytea,
1247
- remote_path character varying(255),
1248
- local_path character varying(255),
1249
- created_at timestamp without time zone
1250
- );
1251
-
1252
-
1253
- --
1254
- -- Name: session_events_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1255
- --
1256
-
1257
- CREATE SEQUENCE session_events_id_seq
1258
- START WITH 1
1259
- INCREMENT BY 1
1260
- NO MINVALUE
1261
- NO MAXVALUE
1262
- CACHE 1;
1263
-
1264
-
1265
- --
1266
- -- Name: session_events_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1267
- --
1268
-
1269
- ALTER SEQUENCE session_events_id_seq OWNED BY session_events.id;
1270
-
1271
-
1272
- --
1273
- -- Name: sessions; Type: TABLE; Schema: public; Owner: -; Tablespace:
1274
- --
1275
-
1276
- CREATE TABLE sessions (
1277
- id integer NOT NULL,
1278
- host_id integer,
1279
- stype character varying(255),
1280
- via_exploit character varying(255),
1281
- via_payload character varying(255),
1282
- "desc" character varying(255),
1283
- port integer,
1284
- platform character varying(255),
1285
- datastore text,
1286
- opened_at timestamp without time zone NOT NULL,
1287
- closed_at timestamp without time zone,
1288
- close_reason character varying(255),
1289
- local_id integer,
1290
- last_seen timestamp without time zone,
1291
- module_run_id integer
1292
- );
1293
-
1294
-
1295
- --
1296
- -- Name: sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1297
- --
1298
-
1299
- CREATE SEQUENCE sessions_id_seq
1300
- START WITH 1
1301
- INCREMENT BY 1
1302
- NO MINVALUE
1303
- NO MAXVALUE
1304
- CACHE 1;
1305
-
1306
-
1307
- --
1308
- -- Name: sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1309
- --
1310
-
1311
- ALTER SEQUENCE sessions_id_seq OWNED BY sessions.id;
1312
-
1313
-
1314
- --
1315
- -- Name: tags; Type: TABLE; Schema: public; Owner: -; Tablespace:
1316
- --
1317
-
1318
- CREATE TABLE tags (
1319
- id integer NOT NULL,
1320
- user_id integer,
1321
- name character varying(1024),
1322
- "desc" text,
1323
- report_summary boolean DEFAULT false NOT NULL,
1324
- report_detail boolean DEFAULT false NOT NULL,
1325
- critical boolean DEFAULT false NOT NULL,
1326
- created_at timestamp without time zone NOT NULL,
1327
- updated_at timestamp without time zone NOT NULL
1328
- );
1329
-
1330
-
1331
- --
1332
- -- Name: tags_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1333
- --
1334
-
1335
- CREATE SEQUENCE tags_id_seq
1336
- START WITH 1
1337
- INCREMENT BY 1
1338
- NO MINVALUE
1339
- NO MAXVALUE
1340
- CACHE 1;
1341
-
1342
-
1343
- --
1344
- -- Name: tags_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1345
- --
1346
-
1347
- ALTER SEQUENCE tags_id_seq OWNED BY tags.id;
1348
-
1349
-
1350
- --
1351
- -- Name: task_creds; Type: TABLE; Schema: public; Owner: -; Tablespace:
1352
- --
1353
-
1354
- CREATE TABLE task_creds (
1355
- id integer NOT NULL,
1356
- task_id integer NOT NULL,
1357
- cred_id integer NOT NULL,
1358
- created_at timestamp without time zone NOT NULL,
1359
- updated_at timestamp without time zone NOT NULL
1360
- );
1361
-
1362
-
1363
- --
1364
- -- Name: task_creds_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1365
- --
1366
-
1367
- CREATE SEQUENCE task_creds_id_seq
1368
- START WITH 1
1369
- INCREMENT BY 1
1370
- NO MINVALUE
1371
- NO MAXVALUE
1372
- CACHE 1;
1373
-
1374
-
1375
- --
1376
- -- Name: task_creds_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1377
- --
1378
-
1379
- ALTER SEQUENCE task_creds_id_seq OWNED BY task_creds.id;
1380
-
1381
-
1382
- --
1383
- -- Name: task_hosts; Type: TABLE; Schema: public; Owner: -; Tablespace:
1384
- --
1385
-
1386
- CREATE TABLE task_hosts (
1387
- id integer NOT NULL,
1388
- task_id integer NOT NULL,
1389
- host_id integer NOT NULL,
1390
- created_at timestamp without time zone NOT NULL,
1391
- updated_at timestamp without time zone NOT NULL
1392
- );
1393
-
1394
-
1395
- --
1396
- -- Name: task_hosts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1397
- --
1398
-
1399
- CREATE SEQUENCE task_hosts_id_seq
1400
- START WITH 1
1401
- INCREMENT BY 1
1402
- NO MINVALUE
1403
- NO MAXVALUE
1404
- CACHE 1;
1405
-
1406
-
1407
- --
1408
- -- Name: task_hosts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1409
- --
1410
-
1411
- ALTER SEQUENCE task_hosts_id_seq OWNED BY task_hosts.id;
1412
-
1413
-
1414
- --
1415
- -- Name: task_services; Type: TABLE; Schema: public; Owner: -; Tablespace:
1416
- --
1417
-
1418
- CREATE TABLE task_services (
1419
- id integer NOT NULL,
1420
- task_id integer NOT NULL,
1421
- service_id integer NOT NULL,
1422
- created_at timestamp without time zone NOT NULL,
1423
- updated_at timestamp without time zone NOT NULL
1424
- );
1425
-
1426
-
1427
- --
1428
- -- Name: task_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1429
- --
1430
-
1431
- CREATE SEQUENCE task_services_id_seq
1432
- START WITH 1
1433
- INCREMENT BY 1
1434
- NO MINVALUE
1435
- NO MAXVALUE
1436
- CACHE 1;
1437
-
1438
-
1439
- --
1440
- -- Name: task_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1441
- --
1442
-
1443
- ALTER SEQUENCE task_services_id_seq OWNED BY task_services.id;
1444
-
1445
-
1446
- --
1447
- -- Name: task_sessions; Type: TABLE; Schema: public; Owner: -; Tablespace:
1448
- --
1449
-
1450
- CREATE TABLE task_sessions (
1451
- id integer NOT NULL,
1452
- task_id integer NOT NULL,
1453
- session_id integer NOT NULL,
1454
- created_at timestamp without time zone NOT NULL,
1455
- updated_at timestamp without time zone NOT NULL
1456
- );
1457
-
1458
-
1459
- --
1460
- -- Name: task_sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1461
- --
1462
-
1463
- CREATE SEQUENCE task_sessions_id_seq
1464
- START WITH 1
1465
- INCREMENT BY 1
1466
- NO MINVALUE
1467
- NO MAXVALUE
1468
- CACHE 1;
1469
-
1470
-
1471
- --
1472
- -- Name: task_sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1473
- --
1474
-
1475
- ALTER SEQUENCE task_sessions_id_seq OWNED BY task_sessions.id;
1476
-
1477
-
1478
- --
1479
- -- Name: tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
1480
- --
1481
-
1482
- CREATE TABLE tasks (
1483
- id integer NOT NULL,
1484
- workspace_id integer DEFAULT 1 NOT NULL,
1485
- created_by character varying(255),
1486
- module character varying(255),
1487
- completed_at timestamp without time zone,
1488
- path character varying(1024),
1489
- info character varying(255),
1490
- description character varying(255),
1491
- progress integer,
1492
- options text,
1493
- error text,
1494
- created_at timestamp without time zone NOT NULL,
1495
- updated_at timestamp without time zone NOT NULL,
1496
- result text,
1497
- module_uuid character varying(8),
1498
- settings bytea
1499
- );
1500
-
1501
-
1502
- --
1503
- -- Name: tasks_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1504
- --
1505
-
1506
- CREATE SEQUENCE tasks_id_seq
1507
- START WITH 1
1508
- INCREMENT BY 1
1509
- NO MINVALUE
1510
- NO MAXVALUE
1511
- CACHE 1;
1512
-
1513
-
1514
- --
1515
- -- Name: tasks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1516
- --
1517
-
1518
- ALTER SEQUENCE tasks_id_seq OWNED BY tasks.id;
1519
-
1520
-
1521
- --
1522
- -- Name: users; Type: TABLE; Schema: public; Owner: -; Tablespace:
1523
- --
1524
-
1525
- CREATE TABLE users (
1526
- id integer NOT NULL,
1527
- username character varying(255),
1528
- crypted_password character varying(255),
1529
- password_salt character varying(255),
1530
- persistence_token character varying(255),
1531
- created_at timestamp without time zone NOT NULL,
1532
- updated_at timestamp without time zone NOT NULL,
1533
- fullname character varying(255),
1534
- email character varying(255),
1535
- phone character varying(255),
1536
- company character varying(255),
1537
- prefs character varying(524288),
1538
- admin boolean DEFAULT true NOT NULL
1539
- );
1540
-
1541
-
1542
- --
1543
- -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1544
- --
1545
-
1546
- CREATE SEQUENCE users_id_seq
1547
- START WITH 1
1548
- INCREMENT BY 1
1549
- NO MINVALUE
1550
- NO MAXVALUE
1551
- CACHE 1;
1552
-
1553
-
1554
- --
1555
- -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1556
- --
1557
-
1558
- ALTER SEQUENCE users_id_seq OWNED BY users.id;
1559
-
1560
-
1561
- --
1562
- -- Name: vuln_attempts; Type: TABLE; Schema: public; Owner: -; Tablespace:
1563
- --
1564
-
1565
- CREATE TABLE vuln_attempts (
1566
- id integer NOT NULL,
1567
- vuln_id integer,
1568
- attempted_at timestamp without time zone,
1569
- exploited boolean,
1570
- fail_reason character varying(255),
1571
- username character varying(255),
1572
- module text,
1573
- session_id integer,
1574
- loot_id integer,
1575
- fail_detail text
1576
- );
1577
-
1578
-
1579
- --
1580
- -- Name: vuln_attempts_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1581
- --
1582
-
1583
- CREATE SEQUENCE vuln_attempts_id_seq
1584
- START WITH 1
1585
- INCREMENT BY 1
1586
- NO MINVALUE
1587
- NO MAXVALUE
1588
- CACHE 1;
1589
-
1590
-
1591
- --
1592
- -- Name: vuln_attempts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1593
- --
1594
-
1595
- ALTER SEQUENCE vuln_attempts_id_seq OWNED BY vuln_attempts.id;
1596
-
1597
-
1598
- --
1599
- -- Name: vuln_details; Type: TABLE; Schema: public; Owner: -; Tablespace:
1600
- --
1601
-
1602
- CREATE TABLE vuln_details (
1603
- id integer NOT NULL,
1604
- vuln_id integer,
1605
- cvss_score double precision,
1606
- cvss_vector character varying(255),
1607
- title character varying(255),
1608
- description text,
1609
- solution text,
1610
- proof bytea,
1611
- nx_console_id integer,
1612
- nx_device_id integer,
1613
- nx_vuln_id character varying(255),
1614
- nx_severity double precision,
1615
- nx_pci_severity double precision,
1616
- nx_published timestamp without time zone,
1617
- nx_added timestamp without time zone,
1618
- nx_modified timestamp without time zone,
1619
- nx_tags text,
1620
- nx_vuln_status text,
1621
- nx_proof_key text,
1622
- src character varying(255),
1623
- nx_scan_id integer,
1624
- nx_vulnerable_since timestamp without time zone,
1625
- nx_pci_compliance_status character varying(255)
1626
- );
1627
-
1628
-
1629
- --
1630
- -- Name: vuln_details_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1631
- --
1632
-
1633
- CREATE SEQUENCE vuln_details_id_seq
1634
- START WITH 1
1635
- INCREMENT BY 1
1636
- NO MINVALUE
1637
- NO MAXVALUE
1638
- CACHE 1;
1639
-
1640
-
1641
- --
1642
- -- Name: vuln_details_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1643
- --
1644
-
1645
- ALTER SEQUENCE vuln_details_id_seq OWNED BY vuln_details.id;
1646
-
1647
-
1648
- --
1649
- -- Name: vulns; Type: TABLE; Schema: public; Owner: -; Tablespace:
1650
- --
1651
-
1652
- CREATE TABLE vulns (
1653
- id integer NOT NULL,
1654
- host_id integer,
1655
- service_id integer,
1656
- created_at timestamp without time zone,
1657
- name character varying(255),
1658
- updated_at timestamp without time zone,
1659
- info character varying(65536),
1660
- exploited_at timestamp without time zone,
1661
- vuln_detail_count integer DEFAULT 0,
1662
- vuln_attempt_count integer DEFAULT 0
1663
- );
1664
-
1665
-
1666
- --
1667
- -- Name: vulns_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1668
- --
1669
-
1670
- CREATE SEQUENCE vulns_id_seq
1671
- START WITH 1
1672
- INCREMENT BY 1
1673
- NO MINVALUE
1674
- NO MAXVALUE
1675
- CACHE 1;
1676
-
1677
-
1678
- --
1679
- -- Name: vulns_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1680
- --
1681
-
1682
- ALTER SEQUENCE vulns_id_seq OWNED BY vulns.id;
1683
-
1684
-
1685
- --
1686
- -- Name: vulns_refs; Type: TABLE; Schema: public; Owner: -; Tablespace:
1687
- --
1688
-
1689
- CREATE TABLE vulns_refs (
1690
- ref_id integer,
1691
- vuln_id integer,
1692
- id integer NOT NULL
1693
- );
1694
-
1695
-
1696
- --
1697
- -- Name: vulns_refs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1698
- --
1699
-
1700
- CREATE SEQUENCE vulns_refs_id_seq
1701
- START WITH 1
1702
- INCREMENT BY 1
1703
- NO MINVALUE
1704
- NO MAXVALUE
1705
- CACHE 1;
1706
-
1707
-
1708
- --
1709
- -- Name: vulns_refs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1710
- --
1711
-
1712
- ALTER SEQUENCE vulns_refs_id_seq OWNED BY vulns_refs.id;
1713
-
1714
-
1715
- --
1716
- -- Name: web_forms; Type: TABLE; Schema: public; Owner: -; Tablespace:
1717
- --
1718
-
1719
- CREATE TABLE web_forms (
1720
- id integer NOT NULL,
1721
- web_site_id integer NOT NULL,
1722
- created_at timestamp without time zone NOT NULL,
1723
- updated_at timestamp without time zone NOT NULL,
1724
- path text,
1725
- method character varying(1024),
1726
- params text,
1727
- query text
1728
- );
1729
-
1730
-
1731
- --
1732
- -- Name: web_forms_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1733
- --
1734
-
1735
- CREATE SEQUENCE web_forms_id_seq
1736
- START WITH 1
1737
- INCREMENT BY 1
1738
- NO MINVALUE
1739
- NO MAXVALUE
1740
- CACHE 1;
1741
-
1742
-
1743
- --
1744
- -- Name: web_forms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1745
- --
1746
-
1747
- ALTER SEQUENCE web_forms_id_seq OWNED BY web_forms.id;
1748
-
1749
-
1750
- --
1751
- -- Name: web_pages; Type: TABLE; Schema: public; Owner: -; Tablespace:
1752
- --
1753
-
1754
- CREATE TABLE web_pages (
1755
- id integer NOT NULL,
1756
- web_site_id integer NOT NULL,
1757
- created_at timestamp without time zone NOT NULL,
1758
- updated_at timestamp without time zone NOT NULL,
1759
- path text,
1760
- query text,
1761
- code integer NOT NULL,
1762
- cookie text,
1763
- auth text,
1764
- ctype text,
1765
- mtime timestamp without time zone,
1766
- location text,
1767
- headers text,
1768
- body bytea,
1769
- request bytea
1770
- );
1771
-
1772
-
1773
- --
1774
- -- Name: web_pages_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1775
- --
1776
-
1777
- CREATE SEQUENCE web_pages_id_seq
1778
- START WITH 1
1779
- INCREMENT BY 1
1780
- NO MINVALUE
1781
- NO MAXVALUE
1782
- CACHE 1;
1783
-
1784
-
1785
- --
1786
- -- Name: web_pages_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1787
- --
1788
-
1789
- ALTER SEQUENCE web_pages_id_seq OWNED BY web_pages.id;
1790
-
1791
-
1792
- --
1793
- -- Name: web_sites; Type: TABLE; Schema: public; Owner: -; Tablespace:
1794
- --
1795
-
1796
- CREATE TABLE web_sites (
1797
- id integer NOT NULL,
1798
- service_id integer NOT NULL,
1799
- created_at timestamp without time zone NOT NULL,
1800
- updated_at timestamp without time zone NOT NULL,
1801
- vhost character varying(2048),
1802
- comments text,
1803
- options text
1804
- );
1805
-
1806
-
1807
- --
1808
- -- Name: web_sites_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1809
- --
1810
-
1811
- CREATE SEQUENCE web_sites_id_seq
1812
- START WITH 1
1813
- INCREMENT BY 1
1814
- NO MINVALUE
1815
- NO MAXVALUE
1816
- CACHE 1;
1817
-
1818
-
1819
- --
1820
- -- Name: web_sites_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1821
- --
1822
-
1823
- ALTER SEQUENCE web_sites_id_seq OWNED BY web_sites.id;
1824
-
1825
-
1826
- --
1827
- -- Name: web_vulns; Type: TABLE; Schema: public; Owner: -; Tablespace:
1828
- --
1829
-
1830
- CREATE TABLE web_vulns (
1831
- id integer NOT NULL,
1832
- web_site_id integer NOT NULL,
1833
- created_at timestamp without time zone NOT NULL,
1834
- updated_at timestamp without time zone NOT NULL,
1835
- path text NOT NULL,
1836
- method character varying(1024) NOT NULL,
1837
- params text NOT NULL,
1838
- pname text,
1839
- risk integer NOT NULL,
1840
- name character varying(1024) NOT NULL,
1841
- query text,
1842
- category text NOT NULL,
1843
- confidence integer NOT NULL,
1844
- description text,
1845
- blame text,
1846
- request bytea,
1847
- proof bytea NOT NULL,
1848
- owner character varying(255),
1849
- payload text
1850
- );
1851
-
1852
-
1853
- --
1854
- -- Name: web_vulns_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1855
- --
1856
-
1857
- CREATE SEQUENCE web_vulns_id_seq
1858
- START WITH 1
1859
- INCREMENT BY 1
1860
- NO MINVALUE
1861
- NO MAXVALUE
1862
- CACHE 1;
1863
-
1864
-
1865
- --
1866
- -- Name: web_vulns_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1867
- --
1868
-
1869
- ALTER SEQUENCE web_vulns_id_seq OWNED BY web_vulns.id;
1870
-
1871
-
1872
- --
1873
- -- Name: wmap_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
1874
- --
1875
-
1876
- CREATE TABLE wmap_requests (
1877
- id integer NOT NULL,
1878
- host character varying(255),
1879
- address inet,
1880
- port integer,
1881
- ssl integer,
1882
- meth character varying(32),
1883
- path text,
1884
- headers text,
1885
- query text,
1886
- body text,
1887
- respcode character varying(16),
1888
- resphead text,
1889
- response text,
1890
- created_at timestamp without time zone,
1891
- updated_at timestamp without time zone
1892
- );
1893
-
1894
-
1895
- --
1896
- -- Name: wmap_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1897
- --
1898
-
1899
- CREATE SEQUENCE wmap_requests_id_seq
1900
- START WITH 1
1901
- INCREMENT BY 1
1902
- NO MINVALUE
1903
- NO MAXVALUE
1904
- CACHE 1;
1905
-
1906
-
1907
- --
1908
- -- Name: wmap_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1909
- --
1910
-
1911
- ALTER SEQUENCE wmap_requests_id_seq OWNED BY wmap_requests.id;
1912
-
1913
-
1914
- --
1915
- -- Name: wmap_targets; Type: TABLE; Schema: public; Owner: -; Tablespace:
1916
- --
1917
-
1918
- CREATE TABLE wmap_targets (
1919
- id integer NOT NULL,
1920
- host character varying(255),
1921
- address inet,
1922
- port integer,
1923
- ssl integer,
1924
- selected integer,
1925
- created_at timestamp without time zone,
1926
- updated_at timestamp without time zone
1927
- );
1928
-
1929
-
1930
- --
1931
- -- Name: wmap_targets_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1932
- --
1933
-
1934
- CREATE SEQUENCE wmap_targets_id_seq
1935
- START WITH 1
1936
- INCREMENT BY 1
1937
- NO MINVALUE
1938
- NO MAXVALUE
1939
- CACHE 1;
1940
-
1941
-
1942
- --
1943
- -- Name: wmap_targets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1944
- --
1945
-
1946
- ALTER SEQUENCE wmap_targets_id_seq OWNED BY wmap_targets.id;
1947
-
1948
-
1949
- --
1950
- -- Name: workspace_members; Type: TABLE; Schema: public; Owner: -; Tablespace:
1951
- --
1952
-
1953
- CREATE TABLE workspace_members (
1954
- workspace_id integer NOT NULL,
1955
- user_id integer NOT NULL
1956
- );
1957
-
1958
-
1959
- --
1960
- -- Name: workspaces; Type: TABLE; Schema: public; Owner: -; Tablespace:
1961
- --
1962
-
1963
- CREATE TABLE workspaces (
1964
- id integer NOT NULL,
1965
- name character varying(255),
1966
- created_at timestamp without time zone NOT NULL,
1967
- updated_at timestamp without time zone NOT NULL,
1968
- boundary character varying(4096),
1969
- description character varying(4096),
1970
- owner_id integer,
1971
- limit_to_network boolean DEFAULT false NOT NULL
1972
- );
1973
-
1974
-
1975
- --
1976
- -- Name: workspaces_id_seq; Type: SEQUENCE; Schema: public; Owner: -
1977
- --
1978
-
1979
- CREATE SEQUENCE workspaces_id_seq
1980
- START WITH 1
1981
- INCREMENT BY 1
1982
- NO MINVALUE
1983
- NO MAXVALUE
1984
- CACHE 1;
1985
-
1986
-
1987
- --
1988
- -- Name: workspaces_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
1989
- --
1990
-
1991
- ALTER SEQUENCE workspaces_id_seq OWNED BY workspaces.id;
1992
-
1993
-
1994
- --
1995
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
1996
- --
1997
-
1998
- ALTER TABLE ONLY api_keys ALTER COLUMN id SET DEFAULT nextval('api_keys_id_seq'::regclass);
1999
-
2000
-
2001
- --
2002
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2003
- --
2004
-
2005
- ALTER TABLE ONLY automatic_exploitation_match_results ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_match_results_id_seq'::regclass);
2006
-
2007
-
2008
- --
2009
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2010
- --
2011
-
2012
- ALTER TABLE ONLY automatic_exploitation_match_sets ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_match_sets_id_seq'::regclass);
2013
-
2014
-
2015
- --
2016
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2017
- --
2018
-
2019
- ALTER TABLE ONLY automatic_exploitation_matches ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_matches_id_seq'::regclass);
2020
-
2021
-
2022
- --
2023
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2024
- --
2025
-
2026
- ALTER TABLE ONLY automatic_exploitation_runs ALTER COLUMN id SET DEFAULT nextval('automatic_exploitation_runs_id_seq'::regclass);
2027
-
2028
-
2029
- --
2030
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2031
- --
2032
-
2033
- ALTER TABLE ONLY clients ALTER COLUMN id SET DEFAULT nextval('clients_id_seq'::regclass);
2034
-
2035
-
2036
- --
2037
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2038
- --
2039
-
2040
- ALTER TABLE ONLY creds ALTER COLUMN id SET DEFAULT nextval('creds_id_seq'::regclass);
2041
-
2042
-
2043
- --
2044
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2045
- --
2046
-
2047
- ALTER TABLE ONLY events ALTER COLUMN id SET DEFAULT nextval('events_id_seq'::regclass);
2048
-
2049
-
2050
- --
2051
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2052
- --
2053
-
2054
- ALTER TABLE ONLY exploit_attempts ALTER COLUMN id SET DEFAULT nextval('exploit_attempts_id_seq'::regclass);
2055
-
2056
-
2057
- --
2058
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2059
- --
2060
-
2061
- ALTER TABLE ONLY exploited_hosts ALTER COLUMN id SET DEFAULT nextval('exploited_hosts_id_seq'::regclass);
2062
-
2063
-
2064
- --
2065
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2066
- --
2067
-
2068
- ALTER TABLE ONLY host_details ALTER COLUMN id SET DEFAULT nextval('host_details_id_seq'::regclass);
2069
-
2070
-
2071
- --
2072
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2073
- --
2074
-
2075
- ALTER TABLE ONLY hosts ALTER COLUMN id SET DEFAULT nextval('hosts_id_seq'::regclass);
2076
-
2077
-
2078
- --
2079
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2080
- --
2081
-
2082
- ALTER TABLE ONLY hosts_tags ALTER COLUMN id SET DEFAULT nextval('hosts_tags_id_seq'::regclass);
2083
-
2084
-
2085
- --
2086
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2087
- --
2088
-
2089
- ALTER TABLE ONLY listeners ALTER COLUMN id SET DEFAULT nextval('listeners_id_seq'::regclass);
2090
-
2091
-
2092
- --
2093
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2094
- --
2095
-
2096
- ALTER TABLE ONLY loots ALTER COLUMN id SET DEFAULT nextval('loots_id_seq'::regclass);
2097
-
2098
-
2099
- --
2100
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2101
- --
2102
-
2103
- ALTER TABLE ONLY macros ALTER COLUMN id SET DEFAULT nextval('macros_id_seq'::regclass);
2104
-
2105
-
2106
- --
2107
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2108
- --
2109
-
2110
- ALTER TABLE ONLY mod_refs ALTER COLUMN id SET DEFAULT nextval('mod_refs_id_seq'::regclass);
2111
-
2112
-
2113
- --
2114
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2115
- --
2116
-
2117
- ALTER TABLE ONLY module_actions ALTER COLUMN id SET DEFAULT nextval('module_actions_id_seq'::regclass);
2118
-
2119
-
2120
- --
2121
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2122
- --
2123
-
2124
- ALTER TABLE ONLY module_archs ALTER COLUMN id SET DEFAULT nextval('module_archs_id_seq'::regclass);
2125
-
2126
-
2127
- --
2128
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2129
- --
2130
-
2131
- ALTER TABLE ONLY module_authors ALTER COLUMN id SET DEFAULT nextval('module_authors_id_seq'::regclass);
2132
-
2133
-
2134
- --
2135
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2136
- --
2137
-
2138
- ALTER TABLE ONLY module_details ALTER COLUMN id SET DEFAULT nextval('module_details_id_seq'::regclass);
2139
-
2140
-
2141
- --
2142
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2143
- --
2144
-
2145
- ALTER TABLE ONLY module_mixins ALTER COLUMN id SET DEFAULT nextval('module_mixins_id_seq'::regclass);
2146
-
2147
-
2148
- --
2149
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2150
- --
2151
-
2152
- ALTER TABLE ONLY module_platforms ALTER COLUMN id SET DEFAULT nextval('module_platforms_id_seq'::regclass);
2153
-
2154
-
2155
- --
2156
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2157
- --
2158
-
2159
- ALTER TABLE ONLY module_refs ALTER COLUMN id SET DEFAULT nextval('module_refs_id_seq'::regclass);
2160
-
2161
-
2162
- --
2163
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2164
- --
2165
-
2166
- ALTER TABLE ONLY module_runs ALTER COLUMN id SET DEFAULT nextval('module_runs_id_seq'::regclass);
2167
-
2168
-
2169
- --
2170
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2171
- --
2172
-
2173
- ALTER TABLE ONLY module_targets ALTER COLUMN id SET DEFAULT nextval('module_targets_id_seq'::regclass);
2174
-
2175
-
2176
- --
2177
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2178
- --
2179
-
2180
- ALTER TABLE ONLY nexpose_consoles ALTER COLUMN id SET DEFAULT nextval('nexpose_consoles_id_seq'::regclass);
2181
-
2182
-
2183
- --
2184
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2185
- --
2186
-
2187
- ALTER TABLE ONLY notes ALTER COLUMN id SET DEFAULT nextval('notes_id_seq'::regclass);
2188
-
2189
-
2190
- --
2191
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2192
- --
2193
-
2194
- ALTER TABLE ONLY profiles ALTER COLUMN id SET DEFAULT nextval('profiles_id_seq'::regclass);
2195
-
2196
-
2197
- --
2198
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2199
- --
2200
-
2201
- ALTER TABLE ONLY refs ALTER COLUMN id SET DEFAULT nextval('refs_id_seq'::regclass);
2202
-
2203
-
2204
- --
2205
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2206
- --
2207
-
2208
- ALTER TABLE ONLY report_templates ALTER COLUMN id SET DEFAULT nextval('report_templates_id_seq'::regclass);
2209
-
2210
-
2211
- --
2212
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2213
- --
2214
-
2215
- ALTER TABLE ONLY reports ALTER COLUMN id SET DEFAULT nextval('reports_id_seq'::regclass);
2216
-
2217
-
2218
- --
2219
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2220
- --
2221
-
2222
- ALTER TABLE ONLY routes ALTER COLUMN id SET DEFAULT nextval('routes_id_seq'::regclass);
2223
-
2224
-
2225
- --
2226
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2227
- --
2228
-
2229
- ALTER TABLE ONLY services ALTER COLUMN id SET DEFAULT nextval('services_id_seq'::regclass);
2230
-
2231
-
2232
- --
2233
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2234
- --
2235
-
2236
- ALTER TABLE ONLY session_events ALTER COLUMN id SET DEFAULT nextval('session_events_id_seq'::regclass);
2237
-
2238
-
2239
- --
2240
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2241
- --
2242
-
2243
- ALTER TABLE ONLY sessions ALTER COLUMN id SET DEFAULT nextval('sessions_id_seq'::regclass);
2244
-
2245
-
2246
- --
2247
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2248
- --
2249
-
2250
- ALTER TABLE ONLY tags ALTER COLUMN id SET DEFAULT nextval('tags_id_seq'::regclass);
2251
-
2252
-
2253
- --
2254
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2255
- --
2256
-
2257
- ALTER TABLE ONLY task_creds ALTER COLUMN id SET DEFAULT nextval('task_creds_id_seq'::regclass);
2258
-
2259
-
2260
- --
2261
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2262
- --
2263
-
2264
- ALTER TABLE ONLY task_hosts ALTER COLUMN id SET DEFAULT nextval('task_hosts_id_seq'::regclass);
2265
-
2266
-
2267
- --
2268
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2269
- --
2270
-
2271
- ALTER TABLE ONLY task_services ALTER COLUMN id SET DEFAULT nextval('task_services_id_seq'::regclass);
2272
-
2273
-
2274
- --
2275
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2276
- --
2277
-
2278
- ALTER TABLE ONLY task_sessions ALTER COLUMN id SET DEFAULT nextval('task_sessions_id_seq'::regclass);
2279
-
2280
-
2281
- --
2282
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2283
- --
2284
-
2285
- ALTER TABLE ONLY tasks ALTER COLUMN id SET DEFAULT nextval('tasks_id_seq'::regclass);
2286
-
2287
-
2288
- --
2289
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2290
- --
2291
-
2292
- ALTER TABLE ONLY users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass);
2293
-
2294
-
2295
- --
2296
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2297
- --
2298
-
2299
- ALTER TABLE ONLY vuln_attempts ALTER COLUMN id SET DEFAULT nextval('vuln_attempts_id_seq'::regclass);
2300
-
2301
-
2302
- --
2303
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2304
- --
2305
-
2306
- ALTER TABLE ONLY vuln_details ALTER COLUMN id SET DEFAULT nextval('vuln_details_id_seq'::regclass);
2307
-
2308
-
2309
- --
2310
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2311
- --
2312
-
2313
- ALTER TABLE ONLY vulns ALTER COLUMN id SET DEFAULT nextval('vulns_id_seq'::regclass);
2314
-
2315
-
2316
- --
2317
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2318
- --
2319
-
2320
- ALTER TABLE ONLY vulns_refs ALTER COLUMN id SET DEFAULT nextval('vulns_refs_id_seq'::regclass);
2321
-
2322
-
2323
- --
2324
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2325
- --
2326
-
2327
- ALTER TABLE ONLY web_forms ALTER COLUMN id SET DEFAULT nextval('web_forms_id_seq'::regclass);
2328
-
2329
-
2330
- --
2331
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2332
- --
2333
-
2334
- ALTER TABLE ONLY web_pages ALTER COLUMN id SET DEFAULT nextval('web_pages_id_seq'::regclass);
2335
-
2336
-
2337
- --
2338
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2339
- --
2340
-
2341
- ALTER TABLE ONLY web_sites ALTER COLUMN id SET DEFAULT nextval('web_sites_id_seq'::regclass);
2342
-
2343
-
2344
- --
2345
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2346
- --
2347
-
2348
- ALTER TABLE ONLY web_vulns ALTER COLUMN id SET DEFAULT nextval('web_vulns_id_seq'::regclass);
2349
-
2350
-
2351
- --
2352
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2353
- --
2354
-
2355
- ALTER TABLE ONLY wmap_requests ALTER COLUMN id SET DEFAULT nextval('wmap_requests_id_seq'::regclass);
2356
-
2357
-
2358
- --
2359
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2360
- --
2361
-
2362
- ALTER TABLE ONLY wmap_targets ALTER COLUMN id SET DEFAULT nextval('wmap_targets_id_seq'::regclass);
2363
-
2364
-
2365
- --
2366
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2367
- --
2368
-
2369
- ALTER TABLE ONLY workspaces ALTER COLUMN id SET DEFAULT nextval('workspaces_id_seq'::regclass);
2370
-
2371
-
2372
- --
2373
- -- Name: api_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2374
- --
2375
-
2376
- ALTER TABLE ONLY api_keys
2377
- ADD CONSTRAINT api_keys_pkey PRIMARY KEY (id);
2378
-
2379
-
2380
- --
2381
- -- Name: automatic_exploitation_match_results_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2382
- --
2383
-
2384
- ALTER TABLE ONLY automatic_exploitation_match_results
2385
- ADD CONSTRAINT automatic_exploitation_match_results_pkey PRIMARY KEY (id);
2386
-
2387
-
2388
- --
2389
- -- Name: automatic_exploitation_match_sets_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2390
- --
2391
-
2392
- ALTER TABLE ONLY automatic_exploitation_match_sets
2393
- ADD CONSTRAINT automatic_exploitation_match_sets_pkey PRIMARY KEY (id);
2394
-
2395
-
2396
- --
2397
- -- Name: automatic_exploitation_matches_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2398
- --
2399
-
2400
- ALTER TABLE ONLY automatic_exploitation_matches
2401
- ADD CONSTRAINT automatic_exploitation_matches_pkey PRIMARY KEY (id);
2402
-
2403
-
2404
- --
2405
- -- Name: automatic_exploitation_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2406
- --
2407
-
2408
- ALTER TABLE ONLY automatic_exploitation_runs
2409
- ADD CONSTRAINT automatic_exploitation_runs_pkey PRIMARY KEY (id);
2410
-
2411
-
2412
- --
2413
- -- Name: clients_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2414
- --
2415
-
2416
- ALTER TABLE ONLY clients
2417
- ADD CONSTRAINT clients_pkey PRIMARY KEY (id);
2418
-
2419
-
2420
- --
2421
- -- Name: creds_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2422
- --
2423
-
2424
- ALTER TABLE ONLY creds
2425
- ADD CONSTRAINT creds_pkey PRIMARY KEY (id);
2426
-
2427
-
2428
- --
2429
- -- Name: events_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2430
- --
2431
-
2432
- ALTER TABLE ONLY events
2433
- ADD CONSTRAINT events_pkey PRIMARY KEY (id);
2434
-
2435
-
2436
- --
2437
- -- Name: exploit_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2438
- --
2439
-
2440
- ALTER TABLE ONLY exploit_attempts
2441
- ADD CONSTRAINT exploit_attempts_pkey PRIMARY KEY (id);
2442
-
2443
-
2444
- --
2445
- -- Name: exploited_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2446
- --
2447
-
2448
- ALTER TABLE ONLY exploited_hosts
2449
- ADD CONSTRAINT exploited_hosts_pkey PRIMARY KEY (id);
2450
-
2451
-
2452
- --
2453
- -- Name: host_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2454
- --
2455
-
2456
- ALTER TABLE ONLY host_details
2457
- ADD CONSTRAINT host_details_pkey PRIMARY KEY (id);
2458
-
2459
-
2460
- --
2461
- -- Name: hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2462
- --
2463
-
2464
- ALTER TABLE ONLY hosts
2465
- ADD CONSTRAINT hosts_pkey PRIMARY KEY (id);
2466
-
2467
-
2468
- --
2469
- -- Name: hosts_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2470
- --
2471
-
2472
- ALTER TABLE ONLY hosts_tags
2473
- ADD CONSTRAINT hosts_tags_pkey PRIMARY KEY (id);
2474
-
2475
-
2476
- --
2477
- -- Name: listeners_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2478
- --
2479
-
2480
- ALTER TABLE ONLY listeners
2481
- ADD CONSTRAINT listeners_pkey PRIMARY KEY (id);
2482
-
2483
-
2484
- --
2485
- -- Name: loots_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2486
- --
2487
-
2488
- ALTER TABLE ONLY loots
2489
- ADD CONSTRAINT loots_pkey PRIMARY KEY (id);
2490
-
2491
-
2492
- --
2493
- -- Name: macros_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2494
- --
2495
-
2496
- ALTER TABLE ONLY macros
2497
- ADD CONSTRAINT macros_pkey PRIMARY KEY (id);
2498
-
2499
-
2500
- --
2501
- -- Name: mod_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2502
- --
2503
-
2504
- ALTER TABLE ONLY mod_refs
2505
- ADD CONSTRAINT mod_refs_pkey PRIMARY KEY (id);
2506
-
2507
-
2508
- --
2509
- -- Name: module_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2510
- --
2511
-
2512
- ALTER TABLE ONLY module_actions
2513
- ADD CONSTRAINT module_actions_pkey PRIMARY KEY (id);
2514
-
2515
-
2516
- --
2517
- -- Name: module_archs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2518
- --
2519
-
2520
- ALTER TABLE ONLY module_archs
2521
- ADD CONSTRAINT module_archs_pkey PRIMARY KEY (id);
2522
-
2523
-
2524
- --
2525
- -- Name: module_authors_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2526
- --
2527
-
2528
- ALTER TABLE ONLY module_authors
2529
- ADD CONSTRAINT module_authors_pkey PRIMARY KEY (id);
2530
-
2531
-
2532
- --
2533
- -- Name: module_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2534
- --
2535
-
2536
- ALTER TABLE ONLY module_details
2537
- ADD CONSTRAINT module_details_pkey PRIMARY KEY (id);
2538
-
2539
-
2540
- --
2541
- -- Name: module_mixins_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2542
- --
2543
-
2544
- ALTER TABLE ONLY module_mixins
2545
- ADD CONSTRAINT module_mixins_pkey PRIMARY KEY (id);
2546
-
2547
-
2548
- --
2549
- -- Name: module_platforms_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2550
- --
2551
-
2552
- ALTER TABLE ONLY module_platforms
2553
- ADD CONSTRAINT module_platforms_pkey PRIMARY KEY (id);
2554
-
2555
-
2556
- --
2557
- -- Name: module_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2558
- --
2559
-
2560
- ALTER TABLE ONLY module_refs
2561
- ADD CONSTRAINT module_refs_pkey PRIMARY KEY (id);
2562
-
2563
-
2564
- --
2565
- -- Name: module_runs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2566
- --
2567
-
2568
- ALTER TABLE ONLY module_runs
2569
- ADD CONSTRAINT module_runs_pkey PRIMARY KEY (id);
2570
-
2571
-
2572
- --
2573
- -- Name: module_targets_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2574
- --
2575
-
2576
- ALTER TABLE ONLY module_targets
2577
- ADD CONSTRAINT module_targets_pkey PRIMARY KEY (id);
2578
-
2579
-
2580
- --
2581
- -- Name: nexpose_consoles_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2582
- --
2583
-
2584
- ALTER TABLE ONLY nexpose_consoles
2585
- ADD CONSTRAINT nexpose_consoles_pkey PRIMARY KEY (id);
2586
-
2587
-
2588
- --
2589
- -- Name: notes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2590
- --
2591
-
2592
- ALTER TABLE ONLY notes
2593
- ADD CONSTRAINT notes_pkey PRIMARY KEY (id);
2594
-
2595
-
2596
- --
2597
- -- Name: profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2598
- --
2599
-
2600
- ALTER TABLE ONLY profiles
2601
- ADD CONSTRAINT profiles_pkey PRIMARY KEY (id);
2602
-
2603
-
2604
- --
2605
- -- Name: refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2606
- --
2607
-
2608
- ALTER TABLE ONLY refs
2609
- ADD CONSTRAINT refs_pkey PRIMARY KEY (id);
2610
-
2611
-
2612
- --
2613
- -- Name: report_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2614
- --
2615
-
2616
- ALTER TABLE ONLY report_templates
2617
- ADD CONSTRAINT report_templates_pkey PRIMARY KEY (id);
2618
-
2619
-
2620
- --
2621
- -- Name: reports_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2622
- --
2623
-
2624
- ALTER TABLE ONLY reports
2625
- ADD CONSTRAINT reports_pkey PRIMARY KEY (id);
2626
-
2627
-
2628
- --
2629
- -- Name: routes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2630
- --
2631
-
2632
- ALTER TABLE ONLY routes
2633
- ADD CONSTRAINT routes_pkey PRIMARY KEY (id);
2634
-
2635
-
2636
- --
2637
- -- Name: services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2638
- --
2639
-
2640
- ALTER TABLE ONLY services
2641
- ADD CONSTRAINT services_pkey PRIMARY KEY (id);
2642
-
2643
-
2644
- --
2645
- -- Name: session_events_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2646
- --
2647
-
2648
- ALTER TABLE ONLY session_events
2649
- ADD CONSTRAINT session_events_pkey PRIMARY KEY (id);
2650
-
2651
-
2652
- --
2653
- -- Name: sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2654
- --
2655
-
2656
- ALTER TABLE ONLY sessions
2657
- ADD CONSTRAINT sessions_pkey PRIMARY KEY (id);
2658
-
2659
-
2660
- --
2661
- -- Name: tags_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2662
- --
2663
-
2664
- ALTER TABLE ONLY tags
2665
- ADD CONSTRAINT tags_pkey PRIMARY KEY (id);
2666
-
2667
-
2668
- --
2669
- -- Name: task_creds_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2670
- --
2671
-
2672
- ALTER TABLE ONLY task_creds
2673
- ADD CONSTRAINT task_creds_pkey PRIMARY KEY (id);
2674
-
2675
-
2676
- --
2677
- -- Name: task_hosts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2678
- --
2679
-
2680
- ALTER TABLE ONLY task_hosts
2681
- ADD CONSTRAINT task_hosts_pkey PRIMARY KEY (id);
2682
-
2683
-
2684
- --
2685
- -- Name: task_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2686
- --
2687
-
2688
- ALTER TABLE ONLY task_services
2689
- ADD CONSTRAINT task_services_pkey PRIMARY KEY (id);
2690
-
2691
-
2692
- --
2693
- -- Name: task_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2694
- --
2695
-
2696
- ALTER TABLE ONLY task_sessions
2697
- ADD CONSTRAINT task_sessions_pkey PRIMARY KEY (id);
2698
-
2699
-
2700
- --
2701
- -- Name: tasks_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2702
- --
2703
-
2704
- ALTER TABLE ONLY tasks
2705
- ADD CONSTRAINT tasks_pkey PRIMARY KEY (id);
2706
-
2707
-
2708
- --
2709
- -- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2710
- --
2711
-
2712
- ALTER TABLE ONLY users
2713
- ADD CONSTRAINT users_pkey PRIMARY KEY (id);
2714
-
2715
-
2716
- --
2717
- -- Name: vuln_attempts_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2718
- --
2719
-
2720
- ALTER TABLE ONLY vuln_attempts
2721
- ADD CONSTRAINT vuln_attempts_pkey PRIMARY KEY (id);
2722
-
2723
-
2724
- --
2725
- -- Name: vuln_details_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2726
- --
2727
-
2728
- ALTER TABLE ONLY vuln_details
2729
- ADD CONSTRAINT vuln_details_pkey PRIMARY KEY (id);
2730
-
2731
-
2732
- --
2733
- -- Name: vulns_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2734
- --
2735
-
2736
- ALTER TABLE ONLY vulns
2737
- ADD CONSTRAINT vulns_pkey PRIMARY KEY (id);
2738
-
2739
-
2740
- --
2741
- -- Name: vulns_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2742
- --
2743
-
2744
- ALTER TABLE ONLY vulns_refs
2745
- ADD CONSTRAINT vulns_refs_pkey PRIMARY KEY (id);
2746
-
2747
-
2748
- --
2749
- -- Name: web_forms_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2750
- --
2751
-
2752
- ALTER TABLE ONLY web_forms
2753
- ADD CONSTRAINT web_forms_pkey PRIMARY KEY (id);
2754
-
2755
-
2756
- --
2757
- -- Name: web_pages_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2758
- --
2759
-
2760
- ALTER TABLE ONLY web_pages
2761
- ADD CONSTRAINT web_pages_pkey PRIMARY KEY (id);
2762
-
2763
-
2764
- --
2765
- -- Name: web_sites_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2766
- --
2767
-
2768
- ALTER TABLE ONLY web_sites
2769
- ADD CONSTRAINT web_sites_pkey PRIMARY KEY (id);
2770
-
2771
-
2772
- --
2773
- -- Name: web_vulns_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2774
- --
2775
-
2776
- ALTER TABLE ONLY web_vulns
2777
- ADD CONSTRAINT web_vulns_pkey PRIMARY KEY (id);
2778
-
2779
-
2780
- --
2781
- -- Name: wmap_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2782
- --
2783
-
2784
- ALTER TABLE ONLY wmap_requests
2785
- ADD CONSTRAINT wmap_requests_pkey PRIMARY KEY (id);
2786
-
2787
-
2788
- --
2789
- -- Name: wmap_targets_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2790
- --
2791
-
2792
- ALTER TABLE ONLY wmap_targets
2793
- ADD CONSTRAINT wmap_targets_pkey PRIMARY KEY (id);
2794
-
2795
-
2796
- --
2797
- -- Name: workspaces_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2798
- --
2799
-
2800
- ALTER TABLE ONLY workspaces
2801
- ADD CONSTRAINT workspaces_pkey PRIMARY KEY (id);
2802
-
2803
-
2804
- --
2805
- -- Name: index_automatic_exploitation_match_results_on_match_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2806
- --
2807
-
2808
- CREATE INDEX index_automatic_exploitation_match_results_on_match_id ON automatic_exploitation_match_results USING btree (match_id);
2809
-
2810
-
2811
- --
2812
- -- Name: index_automatic_exploitation_match_results_on_run_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2813
- --
2814
-
2815
- CREATE INDEX index_automatic_exploitation_match_results_on_run_id ON automatic_exploitation_match_results USING btree (run_id);
2816
-
2817
-
2818
- --
2819
- -- Name: index_automatic_exploitation_match_sets_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2820
- --
2821
-
2822
- CREATE INDEX index_automatic_exploitation_match_sets_on_user_id ON automatic_exploitation_match_sets USING btree (user_id);
2823
-
2824
-
2825
- --
2826
- -- Name: index_automatic_exploitation_match_sets_on_workspace_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2827
- --
2828
-
2829
- CREATE INDEX index_automatic_exploitation_match_sets_on_workspace_id ON automatic_exploitation_match_sets USING btree (workspace_id);
2830
-
2831
-
2832
- --
2833
- -- Name: index_automatic_exploitation_matches_on_module_fullname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2834
- --
2835
-
2836
- CREATE INDEX index_automatic_exploitation_matches_on_module_fullname ON automatic_exploitation_matches USING btree (module_fullname);
2837
-
2838
-
2839
- --
2840
- -- Name: index_automatic_exploitation_matches_on_ref_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2841
- --
2842
-
2843
- CREATE INDEX index_automatic_exploitation_matches_on_ref_id ON automatic_exploitation_matches USING btree (module_detail_id);
2844
-
2845
-
2846
- --
2847
- -- Name: index_automatic_exploitation_runs_on_match_set_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2848
- --
2849
-
2850
- CREATE INDEX index_automatic_exploitation_runs_on_match_set_id ON automatic_exploitation_runs USING btree (match_set_id);
2851
-
2852
-
2853
- --
2854
- -- Name: index_automatic_exploitation_runs_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2855
- --
2856
-
2857
- CREATE INDEX index_automatic_exploitation_runs_on_user_id ON automatic_exploitation_runs USING btree (user_id);
2858
-
2859
-
2860
- --
2861
- -- Name: index_automatic_exploitation_runs_on_workspace_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2862
- --
2863
-
2864
- CREATE INDEX index_automatic_exploitation_runs_on_workspace_id ON automatic_exploitation_runs USING btree (workspace_id);
2865
-
2866
-
2867
- --
2868
- -- Name: index_hosts_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2869
- --
2870
-
2871
- CREATE INDEX index_hosts_on_name ON hosts USING btree (name);
2872
-
2873
-
2874
- --
2875
- -- Name: index_hosts_on_os_flavor; Type: INDEX; Schema: public; Owner: -; Tablespace:
2876
- --
2877
-
2878
- CREATE INDEX index_hosts_on_os_flavor ON hosts USING btree (os_flavor);
2879
-
2880
-
2881
- --
2882
- -- Name: index_hosts_on_os_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2883
- --
2884
-
2885
- CREATE INDEX index_hosts_on_os_name ON hosts USING btree (os_name);
2886
-
2887
-
2888
- --
2889
- -- Name: index_hosts_on_purpose; Type: INDEX; Schema: public; Owner: -; Tablespace:
2890
- --
2891
-
2892
- CREATE INDEX index_hosts_on_purpose ON hosts USING btree (purpose);
2893
-
2894
-
2895
- --
2896
- -- Name: index_hosts_on_state; Type: INDEX; Schema: public; Owner: -; Tablespace:
2897
- --
2898
-
2899
- CREATE INDEX index_hosts_on_state ON hosts USING btree (state);
2900
-
2901
-
2902
- --
2903
- -- Name: index_hosts_on_workspace_id_and_address; Type: INDEX; Schema: public; Owner: -; Tablespace:
2904
- --
2905
-
2906
- CREATE UNIQUE INDEX index_hosts_on_workspace_id_and_address ON hosts USING btree (workspace_id, address);
2907
-
2908
-
2909
- --
2910
- -- Name: index_loots_on_module_run_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2911
- --
2912
-
2913
- CREATE INDEX index_loots_on_module_run_id ON loots USING btree (module_run_id);
2914
-
2915
-
2916
- --
2917
- -- Name: index_module_actions_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2918
- --
2919
-
2920
- CREATE INDEX index_module_actions_on_module_detail_id ON module_actions USING btree (detail_id);
2921
-
2922
-
2923
- --
2924
- -- Name: index_module_archs_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2925
- --
2926
-
2927
- CREATE INDEX index_module_archs_on_module_detail_id ON module_archs USING btree (detail_id);
2928
-
2929
-
2930
- --
2931
- -- Name: index_module_authors_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2932
- --
2933
-
2934
- CREATE INDEX index_module_authors_on_module_detail_id ON module_authors USING btree (detail_id);
2935
-
2936
-
2937
- --
2938
- -- Name: index_module_details_on_description; Type: INDEX; Schema: public; Owner: -; Tablespace:
2939
- --
2940
-
2941
- CREATE INDEX index_module_details_on_description ON module_details USING btree (description);
2942
-
2943
-
2944
- --
2945
- -- Name: index_module_details_on_mtype; Type: INDEX; Schema: public; Owner: -; Tablespace:
2946
- --
2947
-
2948
- CREATE INDEX index_module_details_on_mtype ON module_details USING btree (mtype);
2949
-
2950
-
2951
- --
2952
- -- Name: index_module_details_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2953
- --
2954
-
2955
- CREATE INDEX index_module_details_on_name ON module_details USING btree (name);
2956
-
2957
-
2958
- --
2959
- -- Name: index_module_details_on_refname; Type: INDEX; Schema: public; Owner: -; Tablespace:
2960
- --
2961
-
2962
- CREATE INDEX index_module_details_on_refname ON module_details USING btree (refname);
2963
-
2964
-
2965
- --
2966
- -- Name: index_module_mixins_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2967
- --
2968
-
2969
- CREATE INDEX index_module_mixins_on_module_detail_id ON module_mixins USING btree (detail_id);
2970
-
2971
-
2972
- --
2973
- -- Name: index_module_platforms_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2974
- --
2975
-
2976
- CREATE INDEX index_module_platforms_on_module_detail_id ON module_platforms USING btree (detail_id);
2977
-
2978
-
2979
- --
2980
- -- Name: index_module_refs_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2981
- --
2982
-
2983
- CREATE INDEX index_module_refs_on_module_detail_id ON module_refs USING btree (detail_id);
2984
-
2985
-
2986
- --
2987
- -- Name: index_module_refs_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
2988
- --
2989
-
2990
- CREATE INDEX index_module_refs_on_name ON module_refs USING btree (name);
2991
-
2992
-
2993
- --
2994
- -- Name: index_module_runs_on_session_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
2995
- --
2996
-
2997
- CREATE INDEX index_module_runs_on_session_id ON module_runs USING btree (session_id);
2998
-
2999
-
3000
- --
3001
- -- Name: index_module_runs_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3002
- --
3003
-
3004
- CREATE INDEX index_module_runs_on_user_id ON module_runs USING btree (user_id);
3005
-
3006
-
3007
- --
3008
- -- Name: index_module_targets_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3009
- --
3010
-
3011
- CREATE INDEX index_module_targets_on_module_detail_id ON module_targets USING btree (detail_id);
3012
-
3013
-
3014
- --
3015
- -- Name: index_notes_on_ntype; Type: INDEX; Schema: public; Owner: -; Tablespace:
3016
- --
3017
-
3018
- CREATE INDEX index_notes_on_ntype ON notes USING btree (ntype);
3019
-
3020
-
3021
- --
3022
- -- Name: index_notes_on_vuln_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3023
- --
3024
-
3025
- CREATE INDEX index_notes_on_vuln_id ON notes USING btree (vuln_id);
3026
-
3027
-
3028
- --
3029
- -- Name: index_refs_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
3030
- --
3031
-
3032
- CREATE INDEX index_refs_on_name ON refs USING btree (name);
3033
-
3034
-
3035
- --
3036
- -- Name: index_services_on_host_id_and_port_and_proto; Type: INDEX; Schema: public; Owner: -; Tablespace:
3037
- --
3038
-
3039
- CREATE UNIQUE INDEX index_services_on_host_id_and_port_and_proto ON services USING btree (host_id, port, proto);
3040
-
3041
-
3042
- --
3043
- -- Name: index_services_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
3044
- --
3045
-
3046
- CREATE INDEX index_services_on_name ON services USING btree (name);
3047
-
3048
-
3049
- --
3050
- -- Name: index_services_on_port; Type: INDEX; Schema: public; Owner: -; Tablespace:
3051
- --
3052
-
3053
- CREATE INDEX index_services_on_port ON services USING btree (port);
3054
-
3055
-
3056
- --
3057
- -- Name: index_services_on_proto; Type: INDEX; Schema: public; Owner: -; Tablespace:
3058
- --
3059
-
3060
- CREATE INDEX index_services_on_proto ON services USING btree (proto);
3061
-
3062
-
3063
- --
3064
- -- Name: index_services_on_state; Type: INDEX; Schema: public; Owner: -; Tablespace:
3065
- --
3066
-
3067
- CREATE INDEX index_services_on_state ON services USING btree (state);
3068
-
3069
-
3070
- --
3071
- -- Name: index_sessions_on_module_run_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3072
- --
3073
-
3074
- CREATE INDEX index_sessions_on_module_run_id ON sessions USING btree (module_run_id);
3075
-
3076
-
3077
- --
3078
- -- Name: index_vulns_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
3079
- --
3080
-
3081
- CREATE INDEX index_vulns_on_name ON vulns USING btree (name);
3082
-
3083
-
3084
- --
3085
- -- Name: index_web_forms_on_path; Type: INDEX; Schema: public; Owner: -; Tablespace:
3086
- --
3087
-
3088
- CREATE INDEX index_web_forms_on_path ON web_forms USING btree (path);
3089
-
3090
-
3091
- --
3092
- -- Name: index_web_pages_on_path; Type: INDEX; Schema: public; Owner: -; Tablespace:
3093
- --
3094
-
3095
- CREATE INDEX index_web_pages_on_path ON web_pages USING btree (path);
3096
-
3097
-
3098
- --
3099
- -- Name: index_web_pages_on_query; Type: INDEX; Schema: public; Owner: -; Tablespace:
3100
- --
3101
-
3102
- CREATE INDEX index_web_pages_on_query ON web_pages USING btree (query);
3103
-
3104
-
3105
- --
3106
- -- Name: index_web_sites_on_comments; Type: INDEX; Schema: public; Owner: -; Tablespace:
3107
- --
3108
-
3109
- CREATE INDEX index_web_sites_on_comments ON web_sites USING btree (comments);
3110
-
3111
-
3112
- --
3113
- -- Name: index_web_sites_on_options; Type: INDEX; Schema: public; Owner: -; Tablespace:
3114
- --
3115
-
3116
- CREATE INDEX index_web_sites_on_options ON web_sites USING btree (options);
3117
-
3118
-
3119
- --
3120
- -- Name: index_web_sites_on_vhost; Type: INDEX; Schema: public; Owner: -; Tablespace:
3121
- --
3122
-
3123
- CREATE INDEX index_web_sites_on_vhost ON web_sites USING btree (vhost);
3124
-
3125
-
3126
- --
3127
- -- Name: index_web_vulns_on_method; Type: INDEX; Schema: public; Owner: -; Tablespace:
3128
- --
3129
-
3130
- CREATE INDEX index_web_vulns_on_method ON web_vulns USING btree (method);
3131
-
3132
-
3133
- --
3134
- -- Name: index_web_vulns_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
3135
- --
3136
-
3137
- CREATE INDEX index_web_vulns_on_name ON web_vulns USING btree (name);
3138
-
3139
-
3140
- --
3141
- -- Name: index_web_vulns_on_path; Type: INDEX; Schema: public; Owner: -; Tablespace:
3142
- --
3143
-
3144
- CREATE INDEX index_web_vulns_on_path ON web_vulns USING btree (path);
3145
-
3146
-
3147
- --
3148
- -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
3149
- --
3150
-
3151
- CREATE UNIQUE INDEX unique_schema_migrations ON schema_migrations USING btree (version);
3152
-
3153
-
3154
- --
3155
- -- PostgreSQL database dump complete
3156
- --
3157
-
3158
- SET search_path TO "$user",public;
3159
-
3160
- INSERT INTO schema_migrations (version) VALUES ('0');
3161
-
3162
- INSERT INTO schema_migrations (version) VALUES ('1');
3163
-
3164
- INSERT INTO schema_migrations (version) VALUES ('10');
3165
-
3166
- INSERT INTO schema_migrations (version) VALUES ('11');
3167
-
3168
- INSERT INTO schema_migrations (version) VALUES ('12');
3169
-
3170
- INSERT INTO schema_migrations (version) VALUES ('13');
3171
-
3172
- INSERT INTO schema_migrations (version) VALUES ('14');
3173
-
3174
- INSERT INTO schema_migrations (version) VALUES ('15');
3175
-
3176
- INSERT INTO schema_migrations (version) VALUES ('16');
3177
-
3178
- INSERT INTO schema_migrations (version) VALUES ('17');
3179
-
3180
- INSERT INTO schema_migrations (version) VALUES ('18');
3181
-
3182
- INSERT INTO schema_migrations (version) VALUES ('19');
3183
-
3184
- INSERT INTO schema_migrations (version) VALUES ('2');
3185
-
3186
- INSERT INTO schema_migrations (version) VALUES ('20');
3187
-
3188
- INSERT INTO schema_migrations (version) VALUES ('20100819123300');
3189
-
3190
- INSERT INTO schema_migrations (version) VALUES ('20100824151500');
3191
-
3192
- INSERT INTO schema_migrations (version) VALUES ('20100908001428');
3193
-
3194
- INSERT INTO schema_migrations (version) VALUES ('20100911122000');
3195
-
3196
- INSERT INTO schema_migrations (version) VALUES ('20100916151530');
3197
-
3198
- INSERT INTO schema_migrations (version) VALUES ('20100916175000');
3199
-
3200
- INSERT INTO schema_migrations (version) VALUES ('20100920012100');
3201
-
3202
- INSERT INTO schema_migrations (version) VALUES ('20100926214000');
3203
-
3204
- INSERT INTO schema_migrations (version) VALUES ('20101001000000');
3205
-
3206
- INSERT INTO schema_migrations (version) VALUES ('20101002000000');
3207
-
3208
- INSERT INTO schema_migrations (version) VALUES ('20101007000000');
3209
-
3210
- INSERT INTO schema_migrations (version) VALUES ('20101008111800');
3211
-
3212
- INSERT INTO schema_migrations (version) VALUES ('20101009023300');
3213
-
3214
- INSERT INTO schema_migrations (version) VALUES ('20101104135100');
3215
-
3216
- INSERT INTO schema_migrations (version) VALUES ('20101203000000');
3217
-
3218
- INSERT INTO schema_migrations (version) VALUES ('20101203000001');
3219
-
3220
- INSERT INTO schema_migrations (version) VALUES ('20101206212033');
3221
-
3222
- INSERT INTO schema_migrations (version) VALUES ('20110112154300');
3223
-
3224
- INSERT INTO schema_migrations (version) VALUES ('20110204112800');
3225
-
3226
- INSERT INTO schema_migrations (version) VALUES ('20110317144932');
3227
-
3228
- INSERT INTO schema_migrations (version) VALUES ('20110414180600');
3229
-
3230
- INSERT INTO schema_migrations (version) VALUES ('20110415175705');
3231
-
3232
- INSERT INTO schema_migrations (version) VALUES ('20110422000000');
3233
-
3234
- INSERT INTO schema_migrations (version) VALUES ('20110425095900');
3235
-
3236
- INSERT INTO schema_migrations (version) VALUES ('20110513143900');
3237
-
3238
- INSERT INTO schema_migrations (version) VALUES ('20110517160800');
3239
-
3240
- INSERT INTO schema_migrations (version) VALUES ('20110527000000');
3241
-
3242
- INSERT INTO schema_migrations (version) VALUES ('20110527000001');
3243
-
3244
- INSERT INTO schema_migrations (version) VALUES ('20110606000001');
3245
-
3246
- INSERT INTO schema_migrations (version) VALUES ('20110622000000');
3247
-
3248
- INSERT INTO schema_migrations (version) VALUES ('20110624000001');
3249
-
3250
- INSERT INTO schema_migrations (version) VALUES ('20110625000001');
3251
-
3252
- INSERT INTO schema_migrations (version) VALUES ('20110630000001');
3253
-
3254
- INSERT INTO schema_migrations (version) VALUES ('20110630000002');
3255
-
3256
- INSERT INTO schema_migrations (version) VALUES ('20110717000001');
3257
-
3258
- INSERT INTO schema_migrations (version) VALUES ('20110727163801');
3259
-
3260
- INSERT INTO schema_migrations (version) VALUES ('20110730000001');
3261
-
3262
- INSERT INTO schema_migrations (version) VALUES ('20110812000001');
3263
-
3264
- INSERT INTO schema_migrations (version) VALUES ('20110922000000');
3265
-
3266
- INSERT INTO schema_migrations (version) VALUES ('20110928101300');
3267
-
3268
- INSERT INTO schema_migrations (version) VALUES ('20111011110000');
3269
-
3270
- INSERT INTO schema_migrations (version) VALUES ('20111203000000');
3271
-
3272
- INSERT INTO schema_migrations (version) VALUES ('20111204000000');
3273
-
3274
- INSERT INTO schema_migrations (version) VALUES ('20111210000000');
3275
-
3276
- INSERT INTO schema_migrations (version) VALUES ('20120126110000');
3277
-
3278
- INSERT INTO schema_migrations (version) VALUES ('20120411173220');
3279
-
3280
- INSERT INTO schema_migrations (version) VALUES ('20120601152442');
3281
-
3282
- INSERT INTO schema_migrations (version) VALUES ('20120625000000');
3283
-
3284
- INSERT INTO schema_migrations (version) VALUES ('20120625000001');
3285
-
3286
- INSERT INTO schema_migrations (version) VALUES ('20120625000002');
3287
-
3288
- INSERT INTO schema_migrations (version) VALUES ('20120625000003');
3289
-
3290
- INSERT INTO schema_migrations (version) VALUES ('20120625000004');
3291
-
3292
- INSERT INTO schema_migrations (version) VALUES ('20120625000005');
3293
-
3294
- INSERT INTO schema_migrations (version) VALUES ('20120625000006');
3295
-
3296
- INSERT INTO schema_migrations (version) VALUES ('20120625000007');
3297
-
3298
- INSERT INTO schema_migrations (version) VALUES ('20120625000008');
3299
-
3300
- INSERT INTO schema_migrations (version) VALUES ('20120718202805');
3301
-
3302
- INSERT INTO schema_migrations (version) VALUES ('20130228214900');
3303
-
3304
- INSERT INTO schema_migrations (version) VALUES ('20130412154159');
3305
-
3306
- INSERT INTO schema_migrations (version) VALUES ('20130412171844');
3307
-
3308
- INSERT INTO schema_migrations (version) VALUES ('20130412173121');
3309
-
3310
- INSERT INTO schema_migrations (version) VALUES ('20130412173640');
3311
-
3312
- INSERT INTO schema_migrations (version) VALUES ('20130412174254');
3313
-
3314
- INSERT INTO schema_migrations (version) VALUES ('20130412174719');
3315
-
3316
- INSERT INTO schema_migrations (version) VALUES ('20130412175040');
3317
-
3318
- INSERT INTO schema_migrations (version) VALUES ('20130423211152');
3319
-
3320
- INSERT INTO schema_migrations (version) VALUES ('20130430151353');
3321
-
3322
- INSERT INTO schema_migrations (version) VALUES ('20130430162145');
3323
-
3324
- INSERT INTO schema_migrations (version) VALUES ('20130510021637');
3325
-
3326
- INSERT INTO schema_migrations (version) VALUES ('20130515164311');
3327
-
3328
- INSERT INTO schema_migrations (version) VALUES ('20130515172727');
3329
-
3330
- INSERT INTO schema_migrations (version) VALUES ('20130516204810');
3331
-
3332
- INSERT INTO schema_migrations (version) VALUES ('20130522001343');
3333
-
3334
- INSERT INTO schema_migrations (version) VALUES ('20130522032517');
3335
-
3336
- INSERT INTO schema_migrations (version) VALUES ('20130522041110');
3337
-
3338
- INSERT INTO schema_migrations (version) VALUES ('20130525015035');
3339
-
3340
- INSERT INTO schema_migrations (version) VALUES ('20130525212420');
3341
-
3342
- INSERT INTO schema_migrations (version) VALUES ('20130531144949');
3343
-
3344
- INSERT INTO schema_migrations (version) VALUES ('20130604145732');
3345
-
3346
- INSERT INTO schema_migrations (version) VALUES ('20130717150737');
3347
-
3348
- INSERT INTO schema_migrations (version) VALUES ('20131002004641');
3349
-
3350
- INSERT INTO schema_migrations (version) VALUES ('20131002164449');
3351
-
3352
- INSERT INTO schema_migrations (version) VALUES ('20131008213344');
3353
-
3354
- INSERT INTO schema_migrations (version) VALUES ('20131011184338');
3355
-
3356
- INSERT INTO schema_migrations (version) VALUES ('20131017150735');
3357
-
3358
- INSERT INTO schema_migrations (version) VALUES ('20131021185657');
3359
-
3360
- INSERT INTO schema_migrations (version) VALUES ('20140905031549');
3361
-
3362
- INSERT INTO schema_migrations (version) VALUES ('20150112203945');
3363
-
3364
- INSERT INTO schema_migrations (version) VALUES ('20150205192745');
3365
-
3366
- INSERT INTO schema_migrations (version) VALUES ('20150209195939');
3367
-
3368
- INSERT INTO schema_migrations (version) VALUES ('20150212214222');
3369
-
3370
- INSERT INTO schema_migrations (version) VALUES ('20150219173821');
3371
-
3372
- INSERT INTO schema_migrations (version) VALUES ('20150219215039');
3373
-
3374
- INSERT INTO schema_migrations (version) VALUES ('20150226151459');
3375
-
3376
- INSERT INTO schema_migrations (version) VALUES ('20150312155312');
3377
-
3378
- INSERT INTO schema_migrations (version) VALUES ('20150326183742');
3379
-
3380
- INSERT INTO schema_migrations (version) VALUES ('21');
3381
-
3382
- INSERT INTO schema_migrations (version) VALUES ('22');
3383
-
3384
- INSERT INTO schema_migrations (version) VALUES ('23');
3385
-
3386
- INSERT INTO schema_migrations (version) VALUES ('24');
3387
-
3388
- INSERT INTO schema_migrations (version) VALUES ('25');
3389
-
3390
- INSERT INTO schema_migrations (version) VALUES ('26');
3391
-
3392
- INSERT INTO schema_migrations (version) VALUES ('3');
3393
-
3394
- INSERT INTO schema_migrations (version) VALUES ('4');
3395
-
3396
- INSERT INTO schema_migrations (version) VALUES ('5');
3397
-
3398
- INSERT INTO schema_migrations (version) VALUES ('6');
3399
-
3400
- INSERT INTO schema_migrations (version) VALUES ('7');
3401
-
3402
- INSERT INTO schema_migrations (version) VALUES ('8');
3403
-
3404
- INSERT INTO schema_migrations (version) VALUES ('9');