metasploit_data_models 0.21.1 → 0.21.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjcyNDEyZmVhZDIwMWFkYmM2ODg0NzhkY2IyNzQyOGVkNjU1ODNjMw==
5
- data.tar.gz: !binary |-
6
- M2U0ZjMwMzdkZTgwZmQ4YTBhNDVjNTY2OTVjMzIxY2M5NjRhMWZlZg==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- Y2ExMGI1YjgxZTBmY2IxNzVlZTYyMDRlNWVmZGFhZTcxMWNiMDc0MDk4NTJm
10
- ODBkYjRkNmQ2NGYzNWY1MTk4YTViNDEyZGQ1NDkzZjE1ODQ4ZWJiMjU5M2Fl
11
- ZDg2YThmMTFlZDlkN2NlZWQ1MGI4ZDJlMjM2MDI1NTM4ZGY2ZDE=
12
- data.tar.gz: !binary |-
13
- NWJhNzAxMzdkYmQ4MWVkOGUyNDJkYTIxZDQ4NjJjZDQxYzQwNzM5NDdiNWE4
14
- Yzg2YjQwMzU1ZDhhM2I4YzZlYWE2Y2I4MWFhNWVjOGMyZjFhZTE5YmMyZjEy
15
- Zjk5MjQ4NTQ1YTMzODliNDU3YTNjZjlmMzc1NjdkY2QxZjA5OTk=
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 15c5359342859529a92c9de84f0b738c4215b608
4
+ data.tar.gz: c3f15f859b26d08e5d896b8fe6c20f63321d34de
5
+ SHA512:
6
+ metadata.gz: f70b1dd90ea808deddaea527292ad9e758789d07113e7ec9f589c74b9c2ea65036200fc32d3a64364afa821d9e2e3cd16a2f764b94d0e89506efe8aca26908ee
7
+ data.tar.gz: 8f4ee06224963c5149da0280c07b48dc904aef51d44d3764cee0d534e232c36fbb243ebfb2ead68796ddc1156d6d47483eb386198c402458ec8cdde05d3e885a
@@ -372,16 +372,16 @@ module Mdm::Host::OperatingSystemNormalization
372
372
  # These values in a match always override the current value unless
373
373
  # the host attribute has been explicitly locked by the user
374
374
 
375
- if match.has_key?('host.mac') and ! host.attribute_locked?(:mac)
375
+ if match['host.mac'] && !host.attribute_locked?(:mac)
376
376
  host.mac = sanitize(match['host.mac'])
377
377
  end
378
378
 
379
- if match.has_key?('host.name') and ! host.attribute_locked?(:name)
379
+ if match['host.name'] && !host.attribute_locked?(:name)
380
380
  host.name = sanitize(match['host.name'])
381
381
  end
382
382
 
383
383
  # Select the os architecture if available
384
- if match.has_key?('os.arch') and ! host.attribute_locked?(:arch)
384
+ if match['os.arch'] && !host.attribute_locked?(:arch)
385
385
  host.arch = sanitize(match['os.arch'])
386
386
  end
387
387
 
@@ -6,7 +6,7 @@ module MetasploitDataModels
6
6
  # The minor version number, scoped to the {MAJOR} version number.
7
7
  MINOR = 21
8
8
  # The patch number, scoped to the {MINOR} version number.
9
- PATCH = 1
9
+ PATCH = 2
10
10
 
11
11
  # The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the `PRERELEASE` in the
12
12
  # {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
@@ -94,26 +94,6 @@ CREATE SEQUENCE clients_id_seq
94
94
  ALTER SEQUENCE clients_id_seq OWNED BY clients.id;
95
95
 
96
96
 
97
- --
98
- -- Name: credential_cores_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
99
- --
100
-
101
- CREATE TABLE credential_cores_tasks (
102
- core_id integer,
103
- task_id integer
104
- );
105
-
106
-
107
- --
108
- -- Name: credential_logins_tasks; Type: TABLE; Schema: public; Owner: -; Tablespace:
109
- --
110
-
111
- CREATE TABLE credential_logins_tasks (
112
- login_id integer,
113
- task_id integer
114
- );
115
-
116
-
117
97
  --
118
98
  -- Name: creds; Type: TABLE; Schema: public; Owner: -; Tablespace:
119
99
  --
@@ -497,332 +477,6 @@ CREATE SEQUENCE macros_id_seq
497
477
  ALTER SEQUENCE macros_id_seq OWNED BY macros.id;
498
478
 
499
479
 
500
- --
501
- -- Name: metasploit_credential_cores; Type: TABLE; Schema: public; Owner: -; Tablespace:
502
- --
503
-
504
- CREATE TABLE metasploit_credential_cores (
505
- id integer NOT NULL,
506
- origin_id integer NOT NULL,
507
- origin_type character varying(255) NOT NULL,
508
- private_id integer,
509
- public_id integer,
510
- realm_id integer,
511
- workspace_id integer NOT NULL,
512
- created_at timestamp without time zone NOT NULL,
513
- updated_at timestamp without time zone NOT NULL,
514
- logins_count integer DEFAULT 0
515
- );
516
-
517
-
518
- --
519
- -- Name: metasploit_credential_cores_id_seq; Type: SEQUENCE; Schema: public; Owner: -
520
- --
521
-
522
- CREATE SEQUENCE metasploit_credential_cores_id_seq
523
- START WITH 1
524
- INCREMENT BY 1
525
- NO MINVALUE
526
- NO MAXVALUE
527
- CACHE 1;
528
-
529
-
530
- --
531
- -- Name: metasploit_credential_cores_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
532
- --
533
-
534
- ALTER SEQUENCE metasploit_credential_cores_id_seq OWNED BY metasploit_credential_cores.id;
535
-
536
-
537
- --
538
- -- Name: metasploit_credential_logins; Type: TABLE; Schema: public; Owner: -; Tablespace:
539
- --
540
-
541
- CREATE TABLE metasploit_credential_logins (
542
- id integer NOT NULL,
543
- core_id integer NOT NULL,
544
- service_id integer NOT NULL,
545
- access_level character varying(255),
546
- status character varying(255) NOT NULL,
547
- last_attempted_at timestamp without time zone,
548
- created_at timestamp without time zone NOT NULL,
549
- updated_at timestamp without time zone NOT NULL
550
- );
551
-
552
-
553
- --
554
- -- Name: metasploit_credential_logins_id_seq; Type: SEQUENCE; Schema: public; Owner: -
555
- --
556
-
557
- CREATE SEQUENCE metasploit_credential_logins_id_seq
558
- START WITH 1
559
- INCREMENT BY 1
560
- NO MINVALUE
561
- NO MAXVALUE
562
- CACHE 1;
563
-
564
-
565
- --
566
- -- Name: metasploit_credential_logins_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
567
- --
568
-
569
- ALTER SEQUENCE metasploit_credential_logins_id_seq OWNED BY metasploit_credential_logins.id;
570
-
571
-
572
- --
573
- -- Name: metasploit_credential_origin_cracked_passwords; Type: TABLE; Schema: public; Owner: -; Tablespace:
574
- --
575
-
576
- CREATE TABLE metasploit_credential_origin_cracked_passwords (
577
- id integer NOT NULL,
578
- metasploit_credential_core_id integer NOT NULL,
579
- created_at timestamp without time zone NOT NULL,
580
- updated_at timestamp without time zone NOT NULL
581
- );
582
-
583
-
584
- --
585
- -- Name: metasploit_credential_origin_cracked_passwords_id_seq; Type: SEQUENCE; Schema: public; Owner: -
586
- --
587
-
588
- CREATE SEQUENCE metasploit_credential_origin_cracked_passwords_id_seq
589
- START WITH 1
590
- INCREMENT BY 1
591
- NO MINVALUE
592
- NO MAXVALUE
593
- CACHE 1;
594
-
595
-
596
- --
597
- -- Name: metasploit_credential_origin_cracked_passwords_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
598
- --
599
-
600
- ALTER SEQUENCE metasploit_credential_origin_cracked_passwords_id_seq OWNED BY metasploit_credential_origin_cracked_passwords.id;
601
-
602
-
603
- --
604
- -- Name: metasploit_credential_origin_imports; Type: TABLE; Schema: public; Owner: -; Tablespace:
605
- --
606
-
607
- CREATE TABLE metasploit_credential_origin_imports (
608
- id integer NOT NULL,
609
- filename text NOT NULL,
610
- task_id integer,
611
- created_at timestamp without time zone NOT NULL,
612
- updated_at timestamp without time zone NOT NULL
613
- );
614
-
615
-
616
- --
617
- -- Name: metasploit_credential_origin_imports_id_seq; Type: SEQUENCE; Schema: public; Owner: -
618
- --
619
-
620
- CREATE SEQUENCE metasploit_credential_origin_imports_id_seq
621
- START WITH 1
622
- INCREMENT BY 1
623
- NO MINVALUE
624
- NO MAXVALUE
625
- CACHE 1;
626
-
627
-
628
- --
629
- -- Name: metasploit_credential_origin_imports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
630
- --
631
-
632
- ALTER SEQUENCE metasploit_credential_origin_imports_id_seq OWNED BY metasploit_credential_origin_imports.id;
633
-
634
-
635
- --
636
- -- Name: metasploit_credential_origin_manuals; Type: TABLE; Schema: public; Owner: -; Tablespace:
637
- --
638
-
639
- CREATE TABLE metasploit_credential_origin_manuals (
640
- id integer NOT NULL,
641
- user_id integer NOT NULL,
642
- created_at timestamp without time zone NOT NULL,
643
- updated_at timestamp without time zone NOT NULL
644
- );
645
-
646
-
647
- --
648
- -- Name: metasploit_credential_origin_manuals_id_seq; Type: SEQUENCE; Schema: public; Owner: -
649
- --
650
-
651
- CREATE SEQUENCE metasploit_credential_origin_manuals_id_seq
652
- START WITH 1
653
- INCREMENT BY 1
654
- NO MINVALUE
655
- NO MAXVALUE
656
- CACHE 1;
657
-
658
-
659
- --
660
- -- Name: metasploit_credential_origin_manuals_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
661
- --
662
-
663
- ALTER SEQUENCE metasploit_credential_origin_manuals_id_seq OWNED BY metasploit_credential_origin_manuals.id;
664
-
665
-
666
- --
667
- -- Name: metasploit_credential_origin_services; Type: TABLE; Schema: public; Owner: -; Tablespace:
668
- --
669
-
670
- CREATE TABLE metasploit_credential_origin_services (
671
- id integer NOT NULL,
672
- service_id integer NOT NULL,
673
- module_full_name text NOT NULL,
674
- created_at timestamp without time zone NOT NULL,
675
- updated_at timestamp without time zone NOT NULL
676
- );
677
-
678
-
679
- --
680
- -- Name: metasploit_credential_origin_services_id_seq; Type: SEQUENCE; Schema: public; Owner: -
681
- --
682
-
683
- CREATE SEQUENCE metasploit_credential_origin_services_id_seq
684
- START WITH 1
685
- INCREMENT BY 1
686
- NO MINVALUE
687
- NO MAXVALUE
688
- CACHE 1;
689
-
690
-
691
- --
692
- -- Name: metasploit_credential_origin_services_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
693
- --
694
-
695
- ALTER SEQUENCE metasploit_credential_origin_services_id_seq OWNED BY metasploit_credential_origin_services.id;
696
-
697
-
698
- --
699
- -- Name: metasploit_credential_origin_sessions; Type: TABLE; Schema: public; Owner: -; Tablespace:
700
- --
701
-
702
- CREATE TABLE metasploit_credential_origin_sessions (
703
- id integer NOT NULL,
704
- post_reference_name text NOT NULL,
705
- session_id integer NOT NULL,
706
- created_at timestamp without time zone NOT NULL,
707
- updated_at timestamp without time zone NOT NULL
708
- );
709
-
710
-
711
- --
712
- -- Name: metasploit_credential_origin_sessions_id_seq; Type: SEQUENCE; Schema: public; Owner: -
713
- --
714
-
715
- CREATE SEQUENCE metasploit_credential_origin_sessions_id_seq
716
- START WITH 1
717
- INCREMENT BY 1
718
- NO MINVALUE
719
- NO MAXVALUE
720
- CACHE 1;
721
-
722
-
723
- --
724
- -- Name: metasploit_credential_origin_sessions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
725
- --
726
-
727
- ALTER SEQUENCE metasploit_credential_origin_sessions_id_seq OWNED BY metasploit_credential_origin_sessions.id;
728
-
729
-
730
- --
731
- -- Name: metasploit_credential_privates; Type: TABLE; Schema: public; Owner: -; Tablespace:
732
- --
733
-
734
- CREATE TABLE metasploit_credential_privates (
735
- id integer NOT NULL,
736
- type character varying(255) NOT NULL,
737
- data text NOT NULL,
738
- created_at timestamp without time zone NOT NULL,
739
- updated_at timestamp without time zone NOT NULL,
740
- jtr_format character varying(255)
741
- );
742
-
743
-
744
- --
745
- -- Name: metasploit_credential_privates_id_seq; Type: SEQUENCE; Schema: public; Owner: -
746
- --
747
-
748
- CREATE SEQUENCE metasploit_credential_privates_id_seq
749
- START WITH 1
750
- INCREMENT BY 1
751
- NO MINVALUE
752
- NO MAXVALUE
753
- CACHE 1;
754
-
755
-
756
- --
757
- -- Name: metasploit_credential_privates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
758
- --
759
-
760
- ALTER SEQUENCE metasploit_credential_privates_id_seq OWNED BY metasploit_credential_privates.id;
761
-
762
-
763
- --
764
- -- Name: metasploit_credential_publics; Type: TABLE; Schema: public; Owner: -; Tablespace:
765
- --
766
-
767
- CREATE TABLE metasploit_credential_publics (
768
- id integer NOT NULL,
769
- username character varying(255) NOT NULL,
770
- created_at timestamp without time zone NOT NULL,
771
- updated_at timestamp without time zone NOT NULL
772
- );
773
-
774
-
775
- --
776
- -- Name: metasploit_credential_publics_id_seq; Type: SEQUENCE; Schema: public; Owner: -
777
- --
778
-
779
- CREATE SEQUENCE metasploit_credential_publics_id_seq
780
- START WITH 1
781
- INCREMENT BY 1
782
- NO MINVALUE
783
- NO MAXVALUE
784
- CACHE 1;
785
-
786
-
787
- --
788
- -- Name: metasploit_credential_publics_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
789
- --
790
-
791
- ALTER SEQUENCE metasploit_credential_publics_id_seq OWNED BY metasploit_credential_publics.id;
792
-
793
-
794
- --
795
- -- Name: metasploit_credential_realms; Type: TABLE; Schema: public; Owner: -; Tablespace:
796
- --
797
-
798
- CREATE TABLE metasploit_credential_realms (
799
- id integer NOT NULL,
800
- key character varying(255) NOT NULL,
801
- value character varying(255) NOT NULL,
802
- created_at timestamp without time zone NOT NULL,
803
- updated_at timestamp without time zone NOT NULL
804
- );
805
-
806
-
807
- --
808
- -- Name: metasploit_credential_realms_id_seq; Type: SEQUENCE; Schema: public; Owner: -
809
- --
810
-
811
- CREATE SEQUENCE metasploit_credential_realms_id_seq
812
- START WITH 1
813
- INCREMENT BY 1
814
- NO MINVALUE
815
- NO MAXVALUE
816
- CACHE 1;
817
-
818
-
819
- --
820
- -- Name: metasploit_credential_realms_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
821
- --
822
-
823
- ALTER SEQUENCE metasploit_credential_realms_id_seq OWNED BY metasploit_credential_realms.id;
824
-
825
-
826
480
  --
827
481
  -- Name: mod_refs; Type: TABLE; Schema: public; Owner: -; Tablespace:
828
482
  --
@@ -2241,76 +1895,6 @@ ALTER TABLE ONLY loots ALTER COLUMN id SET DEFAULT nextval('loots_id_seq'::regcl
2241
1895
  ALTER TABLE ONLY macros ALTER COLUMN id SET DEFAULT nextval('macros_id_seq'::regclass);
2242
1896
 
2243
1897
 
2244
- --
2245
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2246
- --
2247
-
2248
- ALTER TABLE ONLY metasploit_credential_cores ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_cores_id_seq'::regclass);
2249
-
2250
-
2251
- --
2252
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2253
- --
2254
-
2255
- ALTER TABLE ONLY metasploit_credential_logins ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_logins_id_seq'::regclass);
2256
-
2257
-
2258
- --
2259
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2260
- --
2261
-
2262
- ALTER TABLE ONLY metasploit_credential_origin_cracked_passwords ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_cracked_passwords_id_seq'::regclass);
2263
-
2264
-
2265
- --
2266
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2267
- --
2268
-
2269
- ALTER TABLE ONLY metasploit_credential_origin_imports ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_imports_id_seq'::regclass);
2270
-
2271
-
2272
- --
2273
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2274
- --
2275
-
2276
- ALTER TABLE ONLY metasploit_credential_origin_manuals ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_manuals_id_seq'::regclass);
2277
-
2278
-
2279
- --
2280
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2281
- --
2282
-
2283
- ALTER TABLE ONLY metasploit_credential_origin_services ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_services_id_seq'::regclass);
2284
-
2285
-
2286
- --
2287
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2288
- --
2289
-
2290
- ALTER TABLE ONLY metasploit_credential_origin_sessions ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_origin_sessions_id_seq'::regclass);
2291
-
2292
-
2293
- --
2294
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2295
- --
2296
-
2297
- ALTER TABLE ONLY metasploit_credential_privates ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_privates_id_seq'::regclass);
2298
-
2299
-
2300
- --
2301
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2302
- --
2303
-
2304
- ALTER TABLE ONLY metasploit_credential_publics ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_publics_id_seq'::regclass);
2305
-
2306
-
2307
- --
2308
- -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2309
- --
2310
-
2311
- ALTER TABLE ONLY metasploit_credential_realms ALTER COLUMN id SET DEFAULT nextval('metasploit_credential_realms_id_seq'::regclass);
2312
-
2313
-
2314
1898
  --
2315
1899
  -- Name: id; Type: DEFAULT; Schema: public; Owner: -
2316
1900
  --
@@ -2666,86 +2250,6 @@ ALTER TABLE ONLY macros
2666
2250
  ADD CONSTRAINT macros_pkey PRIMARY KEY (id);
2667
2251
 
2668
2252
 
2669
- --
2670
- -- Name: metasploit_credential_cores_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2671
- --
2672
-
2673
- ALTER TABLE ONLY metasploit_credential_cores
2674
- ADD CONSTRAINT metasploit_credential_cores_pkey PRIMARY KEY (id);
2675
-
2676
-
2677
- --
2678
- -- Name: metasploit_credential_logins_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2679
- --
2680
-
2681
- ALTER TABLE ONLY metasploit_credential_logins
2682
- ADD CONSTRAINT metasploit_credential_logins_pkey PRIMARY KEY (id);
2683
-
2684
-
2685
- --
2686
- -- Name: metasploit_credential_origin_cracked_passwords_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2687
- --
2688
-
2689
- ALTER TABLE ONLY metasploit_credential_origin_cracked_passwords
2690
- ADD CONSTRAINT metasploit_credential_origin_cracked_passwords_pkey PRIMARY KEY (id);
2691
-
2692
-
2693
- --
2694
- -- Name: metasploit_credential_origin_imports_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2695
- --
2696
-
2697
- ALTER TABLE ONLY metasploit_credential_origin_imports
2698
- ADD CONSTRAINT metasploit_credential_origin_imports_pkey PRIMARY KEY (id);
2699
-
2700
-
2701
- --
2702
- -- Name: metasploit_credential_origin_manuals_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2703
- --
2704
-
2705
- ALTER TABLE ONLY metasploit_credential_origin_manuals
2706
- ADD CONSTRAINT metasploit_credential_origin_manuals_pkey PRIMARY KEY (id);
2707
-
2708
-
2709
- --
2710
- -- Name: metasploit_credential_origin_services_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2711
- --
2712
-
2713
- ALTER TABLE ONLY metasploit_credential_origin_services
2714
- ADD CONSTRAINT metasploit_credential_origin_services_pkey PRIMARY KEY (id);
2715
-
2716
-
2717
- --
2718
- -- Name: metasploit_credential_origin_sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2719
- --
2720
-
2721
- ALTER TABLE ONLY metasploit_credential_origin_sessions
2722
- ADD CONSTRAINT metasploit_credential_origin_sessions_pkey PRIMARY KEY (id);
2723
-
2724
-
2725
- --
2726
- -- Name: metasploit_credential_privates_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2727
- --
2728
-
2729
- ALTER TABLE ONLY metasploit_credential_privates
2730
- ADD CONSTRAINT metasploit_credential_privates_pkey PRIMARY KEY (id);
2731
-
2732
-
2733
- --
2734
- -- Name: metasploit_credential_publics_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2735
- --
2736
-
2737
- ALTER TABLE ONLY metasploit_credential_publics
2738
- ADD CONSTRAINT metasploit_credential_publics_pkey PRIMARY KEY (id);
2739
-
2740
-
2741
- --
2742
- -- Name: metasploit_credential_realms_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2743
- --
2744
-
2745
- ALTER TABLE ONLY metasploit_credential_realms
2746
- ADD CONSTRAINT metasploit_credential_realms_pkey PRIMARY KEY (id);
2747
-
2748
-
2749
2253
  --
2750
2254
  -- Name: mod_refs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
2751
2255
  --
@@ -3084,90 +2588,6 @@ CREATE INDEX index_hosts_on_state ON hosts USING btree (state);
3084
2588
  CREATE UNIQUE INDEX index_hosts_on_workspace_id_and_address ON hosts USING btree (workspace_id, address);
3085
2589
 
3086
2590
 
3087
- --
3088
- -- Name: index_metasploit_credential_cores_on_origin_type_and_origin_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3089
- --
3090
-
3091
- CREATE INDEX index_metasploit_credential_cores_on_origin_type_and_origin_id ON metasploit_credential_cores USING btree (origin_type, origin_id);
3092
-
3093
-
3094
- --
3095
- -- Name: index_metasploit_credential_cores_on_private_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3096
- --
3097
-
3098
- CREATE INDEX index_metasploit_credential_cores_on_private_id ON metasploit_credential_cores USING btree (private_id);
3099
-
3100
-
3101
- --
3102
- -- Name: index_metasploit_credential_cores_on_public_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3103
- --
3104
-
3105
- CREATE INDEX index_metasploit_credential_cores_on_public_id ON metasploit_credential_cores USING btree (public_id);
3106
-
3107
-
3108
- --
3109
- -- Name: index_metasploit_credential_cores_on_realm_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3110
- --
3111
-
3112
- CREATE INDEX index_metasploit_credential_cores_on_realm_id ON metasploit_credential_cores USING btree (realm_id);
3113
-
3114
-
3115
- --
3116
- -- Name: index_metasploit_credential_cores_on_workspace_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3117
- --
3118
-
3119
- CREATE INDEX index_metasploit_credential_cores_on_workspace_id ON metasploit_credential_cores USING btree (workspace_id);
3120
-
3121
-
3122
- --
3123
- -- Name: index_metasploit_credential_logins_on_core_id_and_service_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3124
- --
3125
-
3126
- CREATE UNIQUE INDEX index_metasploit_credential_logins_on_core_id_and_service_id ON metasploit_credential_logins USING btree (core_id, service_id);
3127
-
3128
-
3129
- --
3130
- -- Name: index_metasploit_credential_logins_on_service_id_and_core_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3131
- --
3132
-
3133
- CREATE UNIQUE INDEX index_metasploit_credential_logins_on_service_id_and_core_id ON metasploit_credential_logins USING btree (service_id, core_id);
3134
-
3135
-
3136
- --
3137
- -- Name: index_metasploit_credential_origin_imports_on_task_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3138
- --
3139
-
3140
- CREATE INDEX index_metasploit_credential_origin_imports_on_task_id ON metasploit_credential_origin_imports USING btree (task_id);
3141
-
3142
-
3143
- --
3144
- -- Name: index_metasploit_credential_origin_manuals_on_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3145
- --
3146
-
3147
- CREATE INDEX index_metasploit_credential_origin_manuals_on_user_id ON metasploit_credential_origin_manuals USING btree (user_id);
3148
-
3149
-
3150
- --
3151
- -- Name: index_metasploit_credential_privates_on_type_and_data; Type: INDEX; Schema: public; Owner: -; Tablespace:
3152
- --
3153
-
3154
- CREATE UNIQUE INDEX index_metasploit_credential_privates_on_type_and_data ON metasploit_credential_privates USING btree (type, data);
3155
-
3156
-
3157
- --
3158
- -- Name: index_metasploit_credential_publics_on_username; Type: INDEX; Schema: public; Owner: -; Tablespace:
3159
- --
3160
-
3161
- CREATE UNIQUE INDEX index_metasploit_credential_publics_on_username ON metasploit_credential_publics USING btree (username);
3162
-
3163
-
3164
- --
3165
- -- Name: index_metasploit_credential_realms_on_key_and_value; Type: INDEX; Schema: public; Owner: -; Tablespace:
3166
- --
3167
-
3168
- CREATE UNIQUE INDEX index_metasploit_credential_realms_on_key_and_value ON metasploit_credential_realms USING btree (key, value);
3169
-
3170
-
3171
2591
  --
3172
2592
  -- Name: index_module_actions_on_module_detail_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
3173
2593
  --
@@ -3364,69 +2784,6 @@ CREATE INDEX index_web_vulns_on_name ON web_vulns USING btree (name);
3364
2784
  CREATE INDEX index_web_vulns_on_path ON web_vulns USING btree (path);
3365
2785
 
3366
2786
 
3367
- --
3368
- -- Name: originating_credential_cores; Type: INDEX; Schema: public; Owner: -; Tablespace:
3369
- --
3370
-
3371
- CREATE INDEX originating_credential_cores ON metasploit_credential_origin_cracked_passwords USING btree (metasploit_credential_core_id);
3372
-
3373
-
3374
- --
3375
- -- Name: unique_complete_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -; Tablespace:
3376
- --
3377
-
3378
- CREATE UNIQUE INDEX unique_complete_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id, private_id) WHERE (((realm_id IS NOT NULL) AND (public_id IS NOT NULL)) AND (private_id IS NOT NULL));
3379
-
3380
-
3381
- --
3382
- -- Name: unique_metasploit_credential_origin_services; Type: INDEX; Schema: public; Owner: -; Tablespace:
3383
- --
3384
-
3385
- CREATE UNIQUE INDEX unique_metasploit_credential_origin_services ON metasploit_credential_origin_services USING btree (service_id, module_full_name);
3386
-
3387
-
3388
- --
3389
- -- Name: unique_metasploit_credential_origin_sessions; Type: INDEX; Schema: public; Owner: -; Tablespace:
3390
- --
3391
-
3392
- CREATE UNIQUE INDEX unique_metasploit_credential_origin_sessions ON metasploit_credential_origin_sessions USING btree (session_id, post_reference_name);
3393
-
3394
-
3395
- --
3396
- -- Name: unique_private_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -; Tablespace:
3397
- --
3398
-
3399
- CREATE UNIQUE INDEX unique_private_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, private_id) WHERE (((realm_id IS NULL) AND (public_id IS NULL)) AND (private_id IS NOT NULL));
3400
-
3401
-
3402
- --
3403
- -- Name: unique_privateless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -; Tablespace:
3404
- --
3405
-
3406
- CREATE UNIQUE INDEX unique_privateless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, public_id) WHERE (((realm_id IS NOT NULL) AND (public_id IS NOT NULL)) AND (private_id IS NULL));
3407
-
3408
-
3409
- --
3410
- -- Name: unique_public_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -; Tablespace:
3411
- --
3412
-
3413
- CREATE UNIQUE INDEX unique_public_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id) WHERE (((realm_id IS NULL) AND (public_id IS NOT NULL)) AND (private_id IS NULL));
3414
-
3415
-
3416
- --
3417
- -- Name: unique_publicless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -; Tablespace:
3418
- --
3419
-
3420
- CREATE UNIQUE INDEX unique_publicless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, realm_id, private_id) WHERE (((realm_id IS NOT NULL) AND (public_id IS NULL)) AND (private_id IS NOT NULL));
3421
-
3422
-
3423
- --
3424
- -- Name: unique_realmless_metasploit_credential_cores; Type: INDEX; Schema: public; Owner: -; Tablespace:
3425
- --
3426
-
3427
- CREATE UNIQUE INDEX unique_realmless_metasploit_credential_cores ON metasploit_credential_cores USING btree (workspace_id, public_id, private_id) WHERE (((realm_id IS NULL) AND (public_id IS NOT NULL)) AND (private_id IS NOT NULL));
3428
-
3429
-
3430
2787
  --
3431
2788
  -- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
3432
2789
  --
@@ -3628,42 +2985,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130604145732');
3628
2985
 
3629
2986
  INSERT INTO schema_migrations (version) VALUES ('20130717150737');
3630
2987
 
3631
- INSERT INTO schema_migrations (version) VALUES ('20140331173835');
3632
-
3633
- INSERT INTO schema_migrations (version) VALUES ('20140407212345');
3634
-
3635
- INSERT INTO schema_migrations (version) VALUES ('20140410132401');
3636
-
3637
- INSERT INTO schema_migrations (version) VALUES ('20140410161611');
3638
-
3639
- INSERT INTO schema_migrations (version) VALUES ('20140410191213');
3640
-
3641
- INSERT INTO schema_migrations (version) VALUES ('20140410205410');
3642
-
3643
- INSERT INTO schema_migrations (version) VALUES ('20140411142102');
3644
-
3645
- INSERT INTO schema_migrations (version) VALUES ('20140411205325');
3646
-
3647
- INSERT INTO schema_migrations (version) VALUES ('20140414192550');
3648
-
3649
- INSERT INTO schema_migrations (version) VALUES ('20140417140933');
3650
-
3651
- INSERT INTO schema_migrations (version) VALUES ('20140520140817');
3652
-
3653
- INSERT INTO schema_migrations (version) VALUES ('20140603163708');
3654
-
3655
- INSERT INTO schema_migrations (version) VALUES ('20140605173747');
3656
-
3657
- INSERT INTO schema_migrations (version) VALUES ('20140702184622');
3658
-
3659
- INSERT INTO schema_migrations (version) VALUES ('20140703144541');
3660
-
3661
- INSERT INTO schema_migrations (version) VALUES ('20140722174919');
3662
-
3663
- INSERT INTO schema_migrations (version) VALUES ('20140728191933');
3664
-
3665
- INSERT INTO schema_migrations (version) VALUES ('20140801150537');
3666
-
3667
2988
  INSERT INTO schema_migrations (version) VALUES ('20140905031549');
3668
2989
 
3669
2990
  INSERT INTO schema_migrations (version) VALUES ('21');
metadata CHANGED
@@ -1,9 +1,9 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: metasploit_data_models
3
- version: !ruby/object:Gem::Version
4
- version: 0.21.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.21.2
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Samuel Huckins
8
8
  - Luke Imhoff
9
9
  - David 'thelightcosine' Maloney
@@ -11,194 +11,136 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-10-03 00:00:00.000000000 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
14
+
15
+ date: 2014-11-14 00:00:00 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
17
18
  name: rake
18
- requirement: !ruby/object:Gem::Requirement
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - &id003
22
+ - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
23
25
  type: :development
24
26
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
27
+ version_requirements: *id001
28
+ - !ruby/object:Gem::Dependency
31
29
  name: yard
32
- requirement: !ruby/object:Gem::Requirement
33
- requirements:
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ requirements:
34
32
  - - <
35
- - !ruby/object:Gem::Version
33
+ - !ruby/object:Gem::Version
36
34
  version: 0.8.7.4
37
35
  type: :development
38
36
  prerelease: false
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - <
42
- - !ruby/object:Gem::Version
43
- version: 0.8.7.4
44
- - !ruby/object:Gem::Dependency
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
45
39
  name: pry
46
- requirement: !ruby/object:Gem::Requirement
47
- requirements:
48
- - - ! '>='
49
- - !ruby/object:Gem::Version
50
- version: '0'
40
+ requirement: &id004 !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - *id003
51
43
  type: :development
52
44
  prerelease: false
53
- version_requirements: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - ! '>='
56
- - !ruby/object:Gem::Version
57
- version: '0'
58
- - !ruby/object:Gem::Dependency
45
+ version_requirements: *id004
46
+ - !ruby/object:Gem::Dependency
59
47
  name: activerecord
60
- requirement: !ruby/object:Gem::Requirement
61
- requirements:
62
- - - ! '>='
63
- - !ruby/object:Gem::Version
48
+ requirement: &id005 !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
64
52
  version: 3.2.13
65
53
  - - <
66
- - !ruby/object:Gem::Version
54
+ - !ruby/object:Gem::Version
67
55
  version: 4.0.0
68
56
  type: :runtime
69
57
  prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ! '>='
73
- - !ruby/object:Gem::Version
74
- version: 3.2.13
75
- - - <
76
- - !ruby/object:Gem::Version
77
- version: 4.0.0
78
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *id005
59
+ - !ruby/object:Gem::Dependency
79
60
  name: activesupport
80
- requirement: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - ! '>='
83
- - !ruby/object:Gem::Version
84
- version: '0'
61
+ requirement: &id006 !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - *id003
85
64
  type: :runtime
86
65
  prerelease: false
87
- version_requirements: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - ! '>='
90
- - !ruby/object:Gem::Version
91
- version: '0'
92
- - !ruby/object:Gem::Dependency
66
+ version_requirements: *id006
67
+ - !ruby/object:Gem::Dependency
93
68
  name: recog
94
- requirement: !ruby/object:Gem::Requirement
95
- requirements:
69
+ requirement: &id007 !ruby/object:Gem::Requirement
70
+ requirements:
96
71
  - - ~>
97
- - !ruby/object:Gem::Version
98
- version: '1.0'
72
+ - !ruby/object:Gem::Version
73
+ version: "1.0"
99
74
  type: :runtime
100
75
  prerelease: false
101
- version_requirements: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - ~>
104
- - !ruby/object:Gem::Version
105
- version: '1.0'
106
- - !ruby/object:Gem::Dependency
76
+ version_requirements: *id007
77
+ - !ruby/object:Gem::Dependency
107
78
  name: metasploit-concern
108
- requirement: !ruby/object:Gem::Requirement
109
- requirements:
79
+ requirement: &id008 !ruby/object:Gem::Requirement
80
+ requirements:
110
81
  - - ~>
111
- - !ruby/object:Gem::Version
82
+ - !ruby/object:Gem::Version
112
83
  version: 0.3.0
113
84
  type: :runtime
114
85
  prerelease: false
115
- version_requirements: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - ~>
118
- - !ruby/object:Gem::Version
119
- version: 0.3.0
120
- - !ruby/object:Gem::Dependency
86
+ version_requirements: *id008
87
+ - !ruby/object:Gem::Dependency
121
88
  name: metasploit-model
122
- requirement: !ruby/object:Gem::Requirement
123
- requirements:
89
+ requirement: &id009 !ruby/object:Gem::Requirement
90
+ requirements:
124
91
  - - ~>
125
- - !ruby/object:Gem::Version
92
+ - !ruby/object:Gem::Version
126
93
  version: 0.28.0
127
94
  type: :runtime
128
95
  prerelease: false
129
- version_requirements: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 0.28.0
134
- - !ruby/object:Gem::Dependency
96
+ version_requirements: *id009
97
+ - !ruby/object:Gem::Dependency
135
98
  name: railties
136
- requirement: !ruby/object:Gem::Requirement
137
- requirements:
99
+ requirement: &id010 !ruby/object:Gem::Requirement
100
+ requirements:
138
101
  - - <
139
- - !ruby/object:Gem::Version
102
+ - !ruby/object:Gem::Version
140
103
  version: 4.0.0
141
104
  type: :runtime
142
105
  prerelease: false
143
- version_requirements: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - <
146
- - !ruby/object:Gem::Version
147
- version: 4.0.0
148
- - !ruby/object:Gem::Dependency
106
+ version_requirements: *id010
107
+ - !ruby/object:Gem::Dependency
149
108
  name: arel-helpers
150
- requirement: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - ! '>='
153
- - !ruby/object:Gem::Version
154
- version: '0'
109
+ requirement: &id011 !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - *id003
155
112
  type: :runtime
156
113
  prerelease: false
157
- version_requirements: !ruby/object:Gem::Requirement
158
- requirements:
159
- - - ! '>='
160
- - !ruby/object:Gem::Version
161
- version: '0'
162
- - !ruby/object:Gem::Dependency
114
+ version_requirements: *id011
115
+ - !ruby/object:Gem::Dependency
163
116
  name: redcarpet
164
- requirement: !ruby/object:Gem::Requirement
165
- requirements:
166
- - - ! '>='
167
- - !ruby/object:Gem::Version
168
- version: '0'
117
+ requirement: &id012 !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - *id003
169
120
  type: :development
170
121
  prerelease: false
171
- version_requirements: !ruby/object:Gem::Requirement
172
- requirements:
173
- - - ! '>='
174
- - !ruby/object:Gem::Version
175
- version: '0'
176
- - !ruby/object:Gem::Dependency
122
+ version_requirements: *id012
123
+ - !ruby/object:Gem::Dependency
177
124
  name: pg
178
- requirement: !ruby/object:Gem::Requirement
179
- requirements:
180
- - - ! '>='
181
- - !ruby/object:Gem::Version
182
- version: '0'
125
+ requirement: &id013 !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - *id003
183
128
  type: :runtime
184
129
  prerelease: false
185
- version_requirements: !ruby/object:Gem::Requirement
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
- description: Implements minimal ActiveRecord models and database helper code used
191
- in both the Metasploit Framework (MSF) and Metasploit commercial editions.
192
- email:
130
+ version_requirements: *id013
131
+ description: Implements minimal ActiveRecord models and database helper code used in both the Metasploit Framework (MSF) and Metasploit commercial editions.
132
+ email:
193
133
  - shuckins@rapid7.com
194
134
  - luke_imhoff@rapid7.com
195
135
  - dmaloney@rapid7.com
196
136
  - trevor_rosen@rapid7.com
197
- executables:
137
+ executables:
198
138
  - mdm_console
199
139
  extensions: []
140
+
200
141
  extra_rdoc_files: []
201
- files:
142
+
143
+ files:
202
144
  - .coveralls.yml
203
145
  - .gitignore
204
146
  - .rspec
@@ -582,28 +524,197 @@ files:
582
524
  - spec/support/shared/examples/metasploit_data_models/search/visitor/relation/visit/matching_record/with_metasploit_model_search_operator_deprecated_authority.rb
583
525
  - spec/support/shared/examples/metasploit_data_models/search/visitor/where/visit/with_equality.rb
584
526
  - spec/support/shared/examples/metasploit_data_models/search/visitor/where/visit/with_metasploit_model_search_group_base.rb
585
- homepage: ''
527
+ homepage: ""
586
528
  licenses: []
529
+
587
530
  metadata: {}
531
+
588
532
  post_install_message:
589
533
  rdoc_options: []
590
- require_paths:
534
+
535
+ require_paths:
591
536
  - lib
592
- required_ruby_version: !ruby/object:Gem::Requirement
593
- requirements:
594
- - - ! '>='
595
- - !ruby/object:Gem::Version
596
- version: '0'
597
- required_rubygems_version: !ruby/object:Gem::Requirement
598
- requirements:
599
- - - ! '>='
600
- - !ruby/object:Gem::Version
601
- version: '0'
537
+ required_ruby_version: !ruby/object:Gem::Requirement
538
+ requirements:
539
+ - *id003
540
+ required_rubygems_version: !ruby/object:Gem::Requirement
541
+ requirements:
542
+ - *id003
602
543
  requirements: []
544
+
603
545
  rubyforge_project:
604
546
  rubygems_version: 2.2.2
605
547
  signing_key:
606
548
  specification_version: 4
607
549
  summary: Database code for MSF and Metasploit Pro
608
- test_files: []
550
+ test_files:
551
+ - spec/app/models/mdm/api_key_spec.rb
552
+ - spec/app/models/mdm/client_spec.rb
553
+ - spec/app/models/mdm/cred_spec.rb
554
+ - spec/app/models/mdm/event_spec.rb
555
+ - spec/app/models/mdm/exploit_attempt_spec.rb
556
+ - spec/app/models/mdm/exploited_host_spec.rb
557
+ - spec/app/models/mdm/host_detail_spec.rb
558
+ - spec/app/models/mdm/host_spec.rb
559
+ - spec/app/models/mdm/host_tag_spec.rb
560
+ - spec/app/models/mdm/listener_spec.rb
561
+ - spec/app/models/mdm/loot_spec.rb
562
+ - spec/app/models/mdm/macro_spec.rb
563
+ - spec/app/models/mdm/mod_ref_spec.rb
564
+ - spec/app/models/mdm/module/action_spec.rb
565
+ - spec/app/models/mdm/module/arch_spec.rb
566
+ - spec/app/models/mdm/module/author_spec.rb
567
+ - spec/app/models/mdm/module/detail_spec.rb
568
+ - spec/app/models/mdm/module/mixin_spec.rb
569
+ - spec/app/models/mdm/module/platform_spec.rb
570
+ - spec/app/models/mdm/module/ref_spec.rb
571
+ - spec/app/models/mdm/module/target_spec.rb
572
+ - spec/app/models/mdm/nexpose_console_spec.rb
573
+ - spec/app/models/mdm/note_spec.rb
574
+ - spec/app/models/mdm/profile_spec.rb
575
+ - spec/app/models/mdm/ref_spec.rb
576
+ - spec/app/models/mdm/route_spec.rb
577
+ - spec/app/models/mdm/service_spec.rb
578
+ - spec/app/models/mdm/session_event_spec.rb
579
+ - spec/app/models/mdm/session_spec.rb
580
+ - spec/app/models/mdm/tag_spec.rb
581
+ - spec/app/models/mdm/task_cred_spec.rb
582
+ - spec/app/models/mdm/task_host_spec.rb
583
+ - spec/app/models/mdm/task_service_spec.rb
584
+ - spec/app/models/mdm/task_session_spec.rb
585
+ - spec/app/models/mdm/task_spec.rb
586
+ - spec/app/models/mdm/user_spec.rb
587
+ - spec/app/models/mdm/vuln_attempt_spec.rb
588
+ - spec/app/models/mdm/vuln_detail_spec.rb
589
+ - spec/app/models/mdm/vuln_ref_spec.rb
590
+ - spec/app/models/mdm/vuln_spec.rb
591
+ - spec/app/models/mdm/web_form_spec.rb
592
+ - spec/app/models/mdm/web_page_spec.rb
593
+ - spec/app/models/mdm/web_site_spec.rb
594
+ - spec/app/models/mdm/web_vuln_spec.rb
595
+ - spec/app/models/mdm/wmap_request_spec.rb
596
+ - spec/app/models/mdm/wmap_target_spec.rb
597
+ - spec/app/models/mdm/workspace_spec.rb
598
+ - spec/app/models/metasploit_data_models/ip_address/v4/cidr_spec.rb
599
+ - spec/app/models/metasploit_data_models/ip_address/v4/nmap_spec.rb
600
+ - spec/app/models/metasploit_data_models/ip_address/v4/range_spec.rb
601
+ - spec/app/models/metasploit_data_models/ip_address/v4/segment/nmap/list_spec.rb
602
+ - spec/app/models/metasploit_data_models/ip_address/v4/segment/nmap/range_spec.rb
603
+ - spec/app/models/metasploit_data_models/ip_address/v4/segment/segmented_spec.rb
604
+ - spec/app/models/metasploit_data_models/ip_address/v4/segment/single_spec.rb
605
+ - spec/app/models/metasploit_data_models/ip_address/v4/single_spec.rb
606
+ - spec/app/models/metasploit_data_models/search/operation/ip_address_spec.rb
607
+ - spec/app/models/metasploit_data_models/search/operation/port/number_spec.rb
608
+ - spec/app/models/metasploit_data_models/search/operation/port/range_spec.rb
609
+ - spec/app/models/metasploit_data_models/search/operation/range_spec.rb
610
+ - spec/app/models/metasploit_data_models/search/operator/ip_address_spec.rb
611
+ - spec/app/models/metasploit_data_models/search/operator/multitext_spec.rb
612
+ - spec/app/models/metasploit_data_models/search/operator/port/list_spec.rb
613
+ - spec/app/models/metasploit_data_models/search/visitor/attribute_spec.rb
614
+ - spec/app/models/metasploit_data_models/search/visitor/includes_spec.rb
615
+ - spec/app/models/metasploit_data_models/search/visitor/joins_spec.rb
616
+ - spec/app/models/metasploit_data_models/search/visitor/method_spec.rb
617
+ - spec/app/models/metasploit_data_models/search/visitor/relation_spec.rb
618
+ - spec/app/models/metasploit_data_models/search/visitor/where_spec.rb
619
+ - spec/app/validators/parameters_validator_spec.rb
620
+ - spec/app/validators/password_is_strong_validator_spec.rb
621
+ - spec/dummy/Rakefile
622
+ - spec/dummy/app/assets/javascripts/application.js
623
+ - spec/dummy/app/assets/stylesheets/application.css
624
+ - spec/dummy/app/controllers/application_controller.rb
625
+ - spec/dummy/app/helpers/application_helper.rb
626
+ - spec/dummy/app/mailers/.gitkeep
627
+ - spec/dummy/app/models/.gitkeep
628
+ - spec/dummy/app/views/layouts/application.html.erb
629
+ - spec/dummy/config.ru
630
+ - spec/dummy/config/application.rb
631
+ - spec/dummy/config/boot.rb
632
+ - spec/dummy/config/database.yml.example
633
+ - spec/dummy/config/database.yml.travis
634
+ - spec/dummy/config/environment.rb
635
+ - spec/dummy/config/environments/development.rb
636
+ - spec/dummy/config/environments/production.rb
637
+ - spec/dummy/config/environments/test.rb
638
+ - spec/dummy/config/initializers/active_record_migrations.rb
639
+ - spec/dummy/config/initializers/backtrace_silencers.rb
640
+ - spec/dummy/config/initializers/inflections.rb
641
+ - spec/dummy/config/initializers/mime_types.rb
642
+ - spec/dummy/config/initializers/secret_token.rb
643
+ - spec/dummy/config/initializers/session_store.rb
644
+ - spec/dummy/config/initializers/wrap_parameters.rb
645
+ - spec/dummy/config/routes.rb
646
+ - spec/dummy/db/structure.sql
647
+ - spec/dummy/lib/assets/.gitkeep
648
+ - spec/dummy/log/.gitkeep
649
+ - spec/dummy/public/404.html
650
+ - spec/dummy/public/422.html
651
+ - spec/dummy/public/500.html
652
+ - spec/dummy/public/favicon.ico
653
+ - spec/dummy/script/rails
654
+ - spec/factories/mdm/addresses.rb
655
+ - spec/factories/mdm/clients.rb
656
+ - spec/factories/mdm/creds.rb
657
+ - spec/factories/mdm/events.rb
658
+ - spec/factories/mdm/exploit_attempts.rb
659
+ - spec/factories/mdm/exploited_hosts.rb
660
+ - spec/factories/mdm/fingerprints/nessus_fingerprints.rb
661
+ - spec/factories/mdm/fingerprints/nexpose_fingerprints.rb
662
+ - spec/factories/mdm/fingerprints/nmap_fingerprints.rb
663
+ - spec/factories/mdm/fingerprints/retina_fingerprints.rb
664
+ - spec/factories/mdm/fingerprints/session_fingerprints.rb
665
+ - spec/factories/mdm/host_details.rb
666
+ - spec/factories/mdm/host_tags.rb
667
+ - spec/factories/mdm/hosts.rb
668
+ - spec/factories/mdm/listeners.rb
669
+ - spec/factories/mdm/loots.rb
670
+ - spec/factories/mdm/module/actions.rb
671
+ - spec/factories/mdm/module/archs.rb
672
+ - spec/factories/mdm/module/authors.rb
673
+ - spec/factories/mdm/module/details.rb
674
+ - spec/factories/mdm/module/mixins.rb
675
+ - spec/factories/mdm/module/platforms.rb
676
+ - spec/factories/mdm/module/refs.rb
677
+ - spec/factories/mdm/module/targets.rb
678
+ - spec/factories/mdm/nexpose_consoles.rb
679
+ - spec/factories/mdm/notes.rb
680
+ - spec/factories/mdm/refs.rb
681
+ - spec/factories/mdm/routes.rb
682
+ - spec/factories/mdm/services.rb
683
+ - spec/factories/mdm/session_events.rb
684
+ - spec/factories/mdm/sessions.rb
685
+ - spec/factories/mdm/tags.rb
686
+ - spec/factories/mdm/task.rb
687
+ - spec/factories/mdm/task_creds.rb
688
+ - spec/factories/mdm/task_hosts.rb
689
+ - spec/factories/mdm/task_services.rb
690
+ - spec/factories/mdm/task_sessions.rb
691
+ - spec/factories/mdm/users.rb
692
+ - spec/factories/mdm/vuln_attempts.rb
693
+ - spec/factories/mdm/vuln_details.rb
694
+ - spec/factories/mdm/vuln_refs.rb
695
+ - spec/factories/mdm/vulns.rb
696
+ - spec/factories/mdm/web_forms.rb
697
+ - spec/factories/mdm/web_pages.rb
698
+ - spec/factories/mdm/web_sites.rb
699
+ - spec/factories/mdm/web_vulns.rb
700
+ - spec/factories/mdm/workspaces.rb
701
+ - spec/lib/base64_serializer_spec.rb
702
+ - spec/lib/metasploit_data_models/ip_address/cidr_spec.rb
703
+ - spec/lib/metasploit_data_models/ip_address/range_spec.rb
704
+ - spec/lib/metasploit_data_models/match/child_spec.rb
705
+ - spec/lib/metasploit_data_models/match/parent_spec.rb
706
+ - spec/lib/metasploit_data_models/version_spec.rb
707
+ - spec/spec_helper.rb
708
+ - spec/support/matchers/match_regex_exactly.rb
709
+ - spec/support/shared/contexts/rex/text.rb
710
+ - spec/support/shared/examples/mdm/module/detail/does_not_support_stance_with_mtype.rb
711
+ - spec/support/shared/examples/mdm/module/detail/supports_stance_with_mtype.rb
712
+ - spec/support/shared/examples/metasploit_data_models/search/operation/ipaddress/match.rb
713
+ - spec/support/shared/examples/metasploit_data_models/search/visitor/includes/visit/with_children.rb
714
+ - spec/support/shared/examples/metasploit_data_models/search/visitor/includes/visit/with_metasploit_model_search_operation_base.rb
715
+ - spec/support/shared/examples/metasploit_data_models/search/visitor/relation/visit/matching_record.rb
716
+ - spec/support/shared/examples/metasploit_data_models/search/visitor/relation/visit/matching_record/with_metasploit_model_search_opeator_deprecated_platform.rb
717
+ - spec/support/shared/examples/metasploit_data_models/search/visitor/relation/visit/matching_record/with_metasploit_model_search_operator_deprecated_authority.rb
718
+ - spec/support/shared/examples/metasploit_data_models/search/visitor/where/visit/with_equality.rb
719
+ - spec/support/shared/examples/metasploit_data_models/search/visitor/where/visit/with_metasploit_model_search_group_base.rb
609
720
  has_rdoc: