metasploit_data_models 3.0.7 → 3.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e3a9f464f4c5acf236ec313b67d8e4686298ef9
4
- data.tar.gz: a56be8865bd99ea4d7ba17d97399744ac6ae9500
3
+ metadata.gz: 1de250dab01252ec903267f151d8381dc07075fe
4
+ data.tar.gz: 52d15de85b7946d63a93c33fcc629fc6bcc4ff8c
5
5
  SHA512:
6
- metadata.gz: 661b24819d081fbf080693d538b60088fe25104a579c44ca574100772fd5a2d99d8692e2811b29f33f3642aa94aa0c8ca8e2de98e07ce32f960300dbd0191074
7
- data.tar.gz: 5f0da1d61c0eb886bd9b809b0c9b92be1b1ce1d1a76572b47f94fde0baf35b7b8def20a8c0418744db3458aea6c3bfbd23d99d182502ea2d26b46117c517633c
6
+ metadata.gz: 79679aa1cfea49f399d47d0d80d24f3f6ed2362bf2dbe9670ea4b848e52581d9ff211e580bffb54f3cd927ef48c645424451f5e740c6b6b6c6fd194d0dfaaa34
7
+ data.tar.gz: 5477dc7aeaf031bc3d96bafeb90c53ee59457a3fba9d3e3769247f7548375e6eee0fa979eed75a9804e2843b62638bf0398e4ea5ff63cc6dd590858bd24e594b
@@ -1,2 +1,3 @@
1
- g (^�P� m+5���;o�4i���K�J��]�(�6Er7����P�u؃��mॳ�e`���Z��H�%��Q���dN]�d�@�3����֝�v���s%�slW#��P�m�z�ה�
2
-
1
+ �/��C
2
+ w!��!��4����;v��@P1D;��ŘՀD=pش��=2��+B2�u›(�:%J:y��
3
+ �@�v�ΆC�"R_��`
data.tar.gz.sig CHANGED
Binary file
@@ -84,9 +84,6 @@ class Mdm::Workspace < ActiveRecord::Base
84
84
  # Payloads for this workspace.
85
85
  has_many :payloads, :class_name => 'Mdm::Payload'
86
86
 
87
- # Callbacks for this workspace.
88
- has_many :async_callbacks, :class_name => 'Mdm::AsyncCallback'
89
-
90
87
  #
91
88
  # Attributes
92
89
  #
data/lib/mdm.rb CHANGED
@@ -3,7 +3,6 @@ module Mdm
3
3
  extend ActiveSupport::Autoload
4
4
 
5
5
  autoload :ApiKey
6
- autoload :AsyncCallback
7
6
  autoload :Client
8
7
  autoload :Cred
9
8
  autoload :Event
@@ -1,6 +1,6 @@
1
1
  module MetasploitDataModels
2
2
  # VERSION is managed by GemRelease
3
- VERSION = '3.0.7'
3
+ VERSION = '3.0.8'
4
4
 
5
5
  # @return [String]
6
6
  #
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: 3.0.7
4
+ version: 3.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Huckins
@@ -344,7 +344,6 @@ files:
344
344
  - Rakefile
345
345
  - UPGRADING.md
346
346
  - app/models/mdm/api_key.rb
347
- - app/models/mdm/async_callback.rb
348
347
  - app/models/mdm/client.rb
349
348
  - app/models/mdm/cred.rb
350
349
  - app/models/mdm/event.rb
@@ -555,7 +554,6 @@ files:
555
554
  - db/migrate/20160415153312_remove_not_null_from_web_vuln_p_arams.rb
556
555
  - db/migrate/20161004165612_add_fingerprinted_to_workspace.rb
557
556
  - db/migrate/20161227212223_add_os_family_to_hosts.rb
558
- - db/migrate/20180308134512_create_async_callbacks.rb
559
557
  - db/migrate/20180904120211_create_payloads.rb
560
558
  - lib/mdm.rb
561
559
  - lib/mdm/host/operating_system_normalization.rb
metadata.gz.sig CHANGED
Binary file
@@ -1,79 +0,0 @@
1
- # An asychronous callback that has been received by the Mettle Pingback Listener and is logged
2
- class Mdm::AsyncCallback < ActiveRecord::Base
3
- extend ActiveSupport::Autoload
4
-
5
- include Metasploit::Model::Search
6
-
7
- #
8
- # Associations
9
- #
10
-
11
- # @!attribute [rw] workspace
12
- # {Mdm::Workspace} in which this payload was created.
13
- #
14
- # @return [Mdm::Workspace]
15
- belongs_to :workspace,
16
- class_name: 'Mdm::Workspace',
17
- inverse_of: :payloads
18
-
19
-
20
- #
21
- # Attributes
22
- #
23
-
24
- # @!attribute [rw] uuid
25
- # A 16-byte unique identifier for this payload. The UUID is encoded to include specific information.
26
- # See lib/msf/core/payload/uuid.rb in the https://github.com/rapid7/metasploit-framework repo.
27
- #
28
- # @return [String]
29
-
30
- # @!attribute [rw] timestamp
31
- # The Unix format timestamp when this payload called back.
32
- #
33
- # @return [Integer]
34
-
35
- # @!attribute [rw] listener_uri
36
- # Non-unique URIs (eg. "tcp://192.168.1.7:4444") which received callbacks from this payload.
37
- #
38
- # @return [String]
39
-
40
- # @!attribute [rw] target_host
41
- # The IP address (eg. "192.168.1.7" or "fe80::1") from which the callback originated, from the view of the callback listener.
42
- #
43
- # @return [String]
44
-
45
- # @!attribute [rw] target_port
46
- # The IP port (eg. "4444") from which the callback originated, from the view of the callback listener.
47
- #
48
- # @return [Integer]
49
-
50
- # @!attribute [rw] workspace_id
51
- # The ID of the workspace this payload belongs to.
52
- #
53
- # @return [Integer]
54
-
55
- #
56
- # Validations
57
- #
58
-
59
- validates :workspace, :presence => true
60
-
61
-
62
- #
63
- # Search Attributes
64
- #
65
-
66
- search_attribute :uuid,
67
- type: :string
68
-
69
- #
70
- # Serializations
71
- #
72
-
73
- # NONE
74
-
75
-
76
- public
77
-
78
- Metasploit::Concern.run(self)
79
- end
@@ -1,14 +0,0 @@
1
- class CreateAsyncCallbacks < ActiveRecord::Migration
2
- def change
3
- create_table :async_callbacks do |t|
4
- t.string :uuid
5
- t.integer :timestamp
6
- t.string :listener_uri
7
- t.string :target_host
8
- t.string :target_port
9
-
10
- t.timestamps null: false
11
- t.uuid null: false
12
- end
13
- end
14
- end