metasploit_data_models 3.0.8 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1de250dab01252ec903267f151d8381dc07075fe
4
- data.tar.gz: 52d15de85b7946d63a93c33fcc629fc6bcc4ff8c
3
+ metadata.gz: 7cd8f88a9a91d4f1f88a98b94e67b6fa9cd60600
4
+ data.tar.gz: 3fe49000616262eb311d3c6ae3ffb18b3ec5d666
5
5
  SHA512:
6
- metadata.gz: 79679aa1cfea49f399d47d0d80d24f3f6ed2362bf2dbe9670ea4b848e52581d9ff211e580bffb54f3cd927ef48c645424451f5e740c6b6b6c6fd194d0dfaaa34
7
- data.tar.gz: 5477dc7aeaf031bc3d96bafeb90c53ee59457a3fba9d3e3769247f7548375e6eee0fa979eed75a9804e2843b62638bf0398e4ea5ff63cc6dd590858bd24e594b
6
+ metadata.gz: 7e20f653ab6fb4117f3332ec0159e254f6c78613707f2ac31c13589016ab2148cae7c440093d467d201e04f65d13ecad51bce0315175edf47087e3153f3aedfe
7
+ data.tar.gz: c1c41872d791a4d5dd3ba0179099bf67ee3f723966691ff1312f08121eb135810d906086e4b2423fd3271c16378a552b125b6756b013b3fea1aaa075f626a99a
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- S )��Yo�����NIG�b%��K��FmU&J��[��$ VM�@��'Ĩ1�R�^p�ɇ�X�������!d٘�]Cd(�,���҈d]ɹ�m9�҅��� ������ݎsϬ�T��%�D>����ۣ\9�a��?���]\�Ӊ����#f��������@��C��X{ح��}�=d� ���nrH0V�$,��{\�Cl�Ρ`�m���!��b��!l�!%�>����9u5ӳ�y_�N��e�
1
+ �ૅZ[�����b|C=�ޚ��0Sl���n���TG������p��u��ᚡ����ЊQ�雓I�.#1&�3=KH@ǥ�d7�␮>�4����-p�Ȟ��1+�m�����Ktj�~��#m��?&n�fp�Zf_ͺ����D{���2����j3�:곣^R�q܀��R9,���򾚬����$b��0�?QV��_�����c4��>���T,
2
+ �A�:G\�8�|�@=_pvr_��l �x�
@@ -0,0 +1,64 @@
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
+
12
+ #
13
+ # Attributes
14
+ #
15
+
16
+ # @!attribute [rw] uuid
17
+ # A 16-byte unique identifier for this payload. The UUID is encoded to include specific information.
18
+ # See lib/msf/core/payload/uuid.rb in the https://github.com/rapid7/metasploit-framework repo.
19
+ #
20
+ # @return [String]
21
+
22
+ # @!attribute [rw] timestamp
23
+ # The Unix format timestamp when this payload called back.
24
+ #
25
+ # @return [Integer]
26
+
27
+ # @!attribute [rw] listener_uri
28
+ # Non-unique URIs (eg. "tcp://192.168.1.7:4444") which received callbacks from this payload.
29
+ #
30
+ # @return [String]
31
+
32
+ # @!attribute [rw] target_host
33
+ # The IP address (eg. "192.168.1.7" or "fe80::1") from which the callback originated, from the view of the callback listener.
34
+ #
35
+ # @return [String]
36
+
37
+ # @!attribute [rw] target_port
38
+ # The IP port (eg. "4444") from which the callback originated, from the view of the callback listener.
39
+ #
40
+ # @return [Integer]
41
+
42
+ #
43
+ # Validations
44
+ #
45
+
46
+
47
+ #
48
+ # Search Attributes
49
+ #
50
+
51
+ search_attribute :uuid,
52
+ type: :string
53
+
54
+ #
55
+ # Serializations
56
+ #
57
+
58
+ # NONE
59
+
60
+
61
+ public
62
+
63
+ Metasploit::Concern.run(self)
64
+ end
File without changes
@@ -0,0 +1,14 @@
1
+ class CreateAsyncCallbacks < ActiveRecord::Migration
2
+ def change
3
+ create_table :async_callbacks do |t|
4
+ t.string :uuid, :null => false
5
+ t.integer :timestamp, :null => false
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
data/lib/mdm.rb CHANGED
@@ -3,6 +3,7 @@ module Mdm
3
3
  extend ActiveSupport::Autoload
4
4
 
5
5
  autoload :ApiKey
6
+ autoload :AsyncCallback
6
7
  autoload :Client
7
8
  autoload :Cred
8
9
  autoload :Event
@@ -1,6 +1,6 @@
1
1
  module MetasploitDataModels
2
2
  # VERSION is managed by GemRelease
3
- VERSION = '3.0.8'
3
+ VERSION = '3.0.9'
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.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Huckins
@@ -91,7 +91,7 @@ cert_chain:
91
91
  G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
92
92
  8mVuTXnyJOKRJA==
93
93
  -----END CERTIFICATE-----
94
- date: 2019-03-08 00:00:00.000000000 Z
94
+ date: 2019-05-10 00:00:00.000000000 Z
95
95
  dependencies:
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: metasploit-yard
@@ -344,6 +344,7 @@ files:
344
344
  - Rakefile
345
345
  - UPGRADING.md
346
346
  - app/models/mdm/api_key.rb
347
+ - app/models/mdm/async_callback.rb
347
348
  - app/models/mdm/client.rb
348
349
  - app/models/mdm/cred.rb
349
350
  - app/models/mdm/event.rb
@@ -555,6 +556,7 @@ files:
555
556
  - db/migrate/20161004165612_add_fingerprinted_to_workspace.rb
556
557
  - db/migrate/20161227212223_add_os_family_to_hosts.rb
557
558
  - db/migrate/20180904120211_create_payloads.rb
559
+ - db/migrate/20190308134512_create_async_callbacks.rb
558
560
  - lib/mdm.rb
559
561
  - lib/mdm/host/operating_system_normalization.rb
560
562
  - lib/mdm/module.rb
metadata.gz.sig CHANGED
Binary file