ruby_smb 1.0.4 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +3 -2
- data/Gemfile +6 -2
- data/README.md +35 -47
- data/examples/enum_registry_key.rb +28 -0
- data/examples/enum_registry_values.rb +30 -0
- data/examples/negotiate.rb +51 -8
- data/examples/pipes.rb +2 -1
- data/examples/read_file_encryption.rb +56 -0
- data/examples/read_registry_key_value.rb +32 -0
- data/lib/ruby_smb.rb +4 -1
- data/lib/ruby_smb/client.rb +207 -18
- data/lib/ruby_smb/client/authentication.rb +27 -8
- data/lib/ruby_smb/client/encryption.rb +62 -0
- data/lib/ruby_smb/client/negotiation.rb +153 -12
- data/lib/ruby_smb/client/signing.rb +19 -0
- data/lib/ruby_smb/client/tree_connect.rb +4 -4
- data/lib/ruby_smb/client/utils.rb +8 -7
- data/lib/ruby_smb/client/winreg.rb +46 -0
- data/lib/ruby_smb/crypto.rb +30 -0
- data/lib/ruby_smb/dcerpc.rb +38 -0
- data/lib/ruby_smb/dcerpc/bind.rb +2 -2
- data/lib/ruby_smb/dcerpc/bind_ack.rb +2 -2
- data/lib/ruby_smb/dcerpc/error.rb +3 -0
- data/lib/ruby_smb/dcerpc/ndr.rb +95 -16
- data/lib/ruby_smb/dcerpc/pdu_header.rb +1 -1
- data/lib/ruby_smb/dcerpc/request.rb +28 -9
- data/lib/ruby_smb/dcerpc/rrp_unicode_string.rb +35 -0
- data/lib/ruby_smb/dcerpc/srvsvc.rb +10 -0
- data/lib/ruby_smb/dcerpc/srvsvc/net_share_enum_all.rb +9 -0
- data/lib/ruby_smb/dcerpc/winreg.rb +340 -0
- data/lib/ruby_smb/dcerpc/winreg/close_key_request.rb +24 -0
- data/lib/ruby_smb/dcerpc/winreg/close_key_response.rb +27 -0
- data/lib/ruby_smb/dcerpc/winreg/enum_key_request.rb +45 -0
- data/lib/ruby_smb/dcerpc/winreg/enum_key_response.rb +42 -0
- data/lib/ruby_smb/dcerpc/winreg/enum_value_request.rb +39 -0
- data/lib/ruby_smb/dcerpc/winreg/enum_value_response.rb +36 -0
- data/lib/ruby_smb/dcerpc/winreg/open_key_request.rb +34 -0
- data/lib/ruby_smb/dcerpc/winreg/open_key_response.rb +25 -0
- data/lib/ruby_smb/dcerpc/winreg/open_root_key_request.rb +43 -0
- data/lib/ruby_smb/dcerpc/winreg/open_root_key_response.rb +35 -0
- data/lib/ruby_smb/dcerpc/winreg/query_info_key_request.rb +27 -0
- data/lib/ruby_smb/dcerpc/winreg/query_info_key_response.rb +40 -0
- data/lib/ruby_smb/dcerpc/winreg/query_value_request.rb +39 -0
- data/lib/ruby_smb/dcerpc/winreg/query_value_response.rb +57 -0
- data/lib/ruby_smb/dcerpc/winreg/regsam.rb +40 -0
- data/lib/ruby_smb/dispatcher/socket.rb +4 -3
- data/lib/ruby_smb/error.rb +28 -1
- data/lib/ruby_smb/smb1/commands.rb +1 -1
- data/lib/ruby_smb/smb1/file.rb +6 -4
- data/lib/ruby_smb/smb1/packet/empty_packet.rb +4 -2
- data/lib/ruby_smb/smb1/packet/session_setup_legacy_request.rb +1 -1
- data/lib/ruby_smb/smb1/packet/session_setup_legacy_response.rb +2 -2
- data/lib/ruby_smb/smb1/packet/session_setup_request.rb +1 -1
- data/lib/ruby_smb/smb1/packet/session_setup_response.rb +2 -2
- data/lib/ruby_smb/smb1/packet/write_andx_request.rb +1 -1
- data/lib/ruby_smb/smb1/pipe.rb +79 -3
- data/lib/ruby_smb/smb1/tree.rb +12 -3
- data/lib/ruby_smb/smb2/bit_field/session_flags.rb +2 -1
- data/lib/ruby_smb/smb2/bit_field/share_flags.rb +6 -4
- data/lib/ruby_smb/smb2/file.rb +25 -43
- data/lib/ruby_smb/smb2/negotiate_context.rb +108 -0
- data/lib/ruby_smb/smb2/packet.rb +2 -0
- data/lib/ruby_smb/smb2/packet/compression_transform_header.rb +41 -0
- data/lib/ruby_smb/smb2/packet/error_packet.rb +9 -4
- data/lib/ruby_smb/smb2/packet/negotiate_request.rb +51 -14
- data/lib/ruby_smb/smb2/packet/negotiate_response.rb +50 -4
- data/lib/ruby_smb/smb2/packet/transform_header.rb +84 -0
- data/lib/ruby_smb/smb2/packet/tree_connect_request.rb +92 -6
- data/lib/ruby_smb/smb2/packet/tree_connect_response.rb +8 -26
- data/lib/ruby_smb/smb2/pipe.rb +77 -3
- data/lib/ruby_smb/smb2/smb2_header.rb +1 -1
- data/lib/ruby_smb/smb2/tree.rb +23 -17
- data/lib/ruby_smb/version.rb +1 -1
- data/ruby_smb.gemspec +5 -3
- data/spec/lib/ruby_smb/client_spec.rb +1441 -61
- data/spec/lib/ruby_smb/crypto_spec.rb +25 -0
- data/spec/lib/ruby_smb/dcerpc/bind_ack_spec.rb +2 -2
- data/spec/lib/ruby_smb/dcerpc/bind_spec.rb +2 -2
- data/spec/lib/ruby_smb/dcerpc/ndr_spec.rb +410 -0
- data/spec/lib/ruby_smb/dcerpc/request_spec.rb +50 -7
- data/spec/lib/ruby_smb/dcerpc/rrp_unicode_string_spec.rb +98 -0
- data/spec/lib/ruby_smb/dcerpc/srvsvc/net_share_enum_all_spec.rb +13 -0
- data/spec/lib/ruby_smb/dcerpc/srvsvc_spec.rb +60 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/close_key_request_spec.rb +28 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/close_key_response_spec.rb +36 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/enum_key_request_spec.rb +108 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/enum_key_response_spec.rb +97 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/enum_value_request_spec.rb +94 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/enum_value_response_spec.rb +82 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/open_key_request_spec.rb +74 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/open_key_response_spec.rb +35 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/open_root_key_request_spec.rb +90 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/open_root_key_response_spec.rb +38 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/query_info_key_request_spec.rb +39 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/query_info_key_response_spec.rb +113 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/query_value_request_spec.rb +88 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/query_value_response_spec.rb +150 -0
- data/spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb +32 -0
- data/spec/lib/ruby_smb/dcerpc/winreg_spec.rb +710 -0
- data/spec/lib/ruby_smb/dcerpc_spec.rb +81 -0
- data/spec/lib/ruby_smb/dispatcher/socket_spec.rb +2 -2
- data/spec/lib/ruby_smb/error_spec.rb +59 -0
- data/spec/lib/ruby_smb/smb1/file_spec.rb +9 -1
- data/spec/lib/ruby_smb/smb1/packet/empty_packet_spec.rb +10 -0
- data/spec/lib/ruby_smb/smb1/packet/session_setup_legacy_request_spec.rb +2 -2
- data/spec/lib/ruby_smb/smb1/packet/session_setup_legacy_response_spec.rb +2 -2
- data/spec/lib/ruby_smb/smb1/packet/session_setup_request_spec.rb +2 -2
- data/spec/lib/ruby_smb/smb1/packet/session_setup_response_spec.rb +1 -1
- data/spec/lib/ruby_smb/smb1/pipe_spec.rb +210 -148
- data/spec/lib/ruby_smb/smb2/bit_field/session_flags_spec.rb +9 -0
- data/spec/lib/ruby_smb/smb2/bit_field/share_flags_spec.rb +27 -0
- data/spec/lib/ruby_smb/smb2/file_spec.rb +86 -62
- data/spec/lib/ruby_smb/smb2/negotiate_context_spec.rb +332 -0
- data/spec/lib/ruby_smb/smb2/packet/compression_transform_header_spec.rb +108 -0
- data/spec/lib/ruby_smb/smb2/packet/error_packet_spec.rb +29 -2
- data/spec/lib/ruby_smb/smb2/packet/negotiate_request_spec.rb +138 -3
- data/spec/lib/ruby_smb/smb2/packet/negotiate_response_spec.rb +120 -2
- data/spec/lib/ruby_smb/smb2/packet/transform_header_spec.rb +220 -0
- data/spec/lib/ruby_smb/smb2/packet/tree_connect_request_spec.rb +339 -9
- data/spec/lib/ruby_smb/smb2/packet/tree_connect_response_spec.rb +3 -30
- data/spec/lib/ruby_smb/smb2/pipe_spec.rb +220 -149
- data/spec/lib/ruby_smb/smb2/smb2_header_spec.rb +2 -2
- data/spec/lib/ruby_smb/smb2/tree_spec.rb +53 -8
- metadata +187 -81
- metadata.gz.sig +0 -0
- data/lib/ruby_smb/smb1/dcerpc.rb +0 -72
- data/lib/ruby_smb/smb2/dcerpc.rb +0 -75
@@ -44,8 +44,8 @@ RSpec.describe RubySMB::SMB2::SMB2Header do
|
|
44
44
|
expect(header.credit_charge).to be_a BinData::Uint16le
|
45
45
|
end
|
46
46
|
|
47
|
-
it 'has a default value of
|
48
|
-
expect(header.credit_charge).to eq
|
47
|
+
it 'has a default value of 1' do
|
48
|
+
expect(header.credit_charge).to eq 1
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -26,6 +26,7 @@ RSpec.describe RubySMB::SMB2::Tree do
|
|
26
26
|
it { is_expected.to respond_to :permissions }
|
27
27
|
it { is_expected.to respond_to :share }
|
28
28
|
it { is_expected.to respond_to :id }
|
29
|
+
it { is_expected.to respond_to :tree_connect_encrypt_data }
|
29
30
|
|
30
31
|
it 'inherits the client that spawned it' do
|
31
32
|
expect(tree.client).to eq client
|
@@ -44,7 +45,14 @@ RSpec.describe RubySMB::SMB2::Tree do
|
|
44
45
|
allow(RubySMB::SMB2::Packet::TreeDisconnectRequest).to receive(:new).and_return(disco_req)
|
45
46
|
modified_req = disco_req
|
46
47
|
modified_req.smb2_header.tree_id = tree.id
|
47
|
-
expect(client).to receive(:send_recv).with(modified_req).and_return(disco_resp.to_binary_s)
|
48
|
+
expect(client).to receive(:send_recv).with(modified_req, encrypt: false).and_return(disco_resp.to_binary_s)
|
49
|
+
tree.disconnect!
|
50
|
+
end
|
51
|
+
|
52
|
+
it 'calls Client #send_recv with encryption set if required' do
|
53
|
+
allow(tree).to receive(:set_header_fields).and_return(disco_req)
|
54
|
+
tree.tree_connect_encrypt_data = true
|
55
|
+
expect(client).to receive(:send_recv).with(disco_req, encrypt: true).and_return(disco_resp.to_binary_s)
|
48
56
|
tree.disconnect!
|
49
57
|
end
|
50
58
|
|
@@ -133,7 +141,14 @@ RSpec.describe RubySMB::SMB2::Tree do
|
|
133
141
|
|
134
142
|
it 'sends the create request packet and gets a response back' do
|
135
143
|
allow(tree).to receive(:open_directory_packet).and_return(create_req)
|
136
|
-
expect(client).to receive(:send_recv).with(create_req).and_return(create_response.to_binary_s)
|
144
|
+
expect(client).to receive(:send_recv).with(create_req, encrypt: false).and_return(create_response.to_binary_s)
|
145
|
+
tree.open_directory
|
146
|
+
end
|
147
|
+
|
148
|
+
it 'calls Client #send_recv with encryption set if required' do
|
149
|
+
allow(tree).to receive(:open_directory_packet).and_return(create_req)
|
150
|
+
tree.tree_connect_encrypt_data = true
|
151
|
+
expect(client).to receive(:send_recv).with(create_req, encrypt: true).and_return(create_response.to_binary_s)
|
137
152
|
tree.open_directory
|
138
153
|
end
|
139
154
|
|
@@ -206,6 +221,19 @@ RSpec.describe RubySMB::SMB2::Tree do
|
|
206
221
|
tree.list
|
207
222
|
end
|
208
223
|
|
224
|
+
it 'sends the expected packet and reads the response' do
|
225
|
+
allow(tree).to receive(:set_header_fields).and_return(query_dir_req)
|
226
|
+
expect(client).to receive(:send_recv).with(query_dir_req, encrypt: false)
|
227
|
+
tree.list
|
228
|
+
end
|
229
|
+
|
230
|
+
it 'calls Client #send_recv with encryption set if required' do
|
231
|
+
allow(tree).to receive(:set_header_fields).and_return(query_dir_req)
|
232
|
+
tree.tree_connect_encrypt_data = true
|
233
|
+
expect(client).to receive(:send_recv).with(query_dir_req, encrypt: true)
|
234
|
+
tree.list
|
235
|
+
end
|
236
|
+
|
209
237
|
let(:file1) { double('file information') }
|
210
238
|
let(:file2) { double('file information') }
|
211
239
|
|
@@ -404,20 +432,37 @@ RSpec.describe RubySMB::SMB2::Tree do
|
|
404
432
|
end
|
405
433
|
|
406
434
|
it 'sends the CreateRequest request packet and gets the expected CreateResponse response back' do
|
407
|
-
expect(client).to receive(:send_recv).with(create_request).and_return(create_response.to_binary_s)
|
435
|
+
expect(client).to receive(:send_recv).with(create_request, encrypt: false).and_return(create_response.to_binary_s)
|
436
|
+
tree.open_file(filename: filename)
|
437
|
+
end
|
438
|
+
|
439
|
+
it 'calls Client #send_recv with encryption set if required' do
|
440
|
+
tree.tree_connect_encrypt_data = true
|
441
|
+
expect(client).to receive(:send_recv).with(create_request, encrypt: true).and_return(create_response.to_binary_s)
|
408
442
|
tree.open_file(filename: filename)
|
409
443
|
end
|
410
444
|
|
411
445
|
context 'when sending the request packet and gets a response back' do
|
412
446
|
before :example do
|
413
|
-
allow(client).to receive(:send_recv).
|
447
|
+
allow(client).to receive(:send_recv).and_return(create_response.to_binary_s)
|
414
448
|
end
|
415
449
|
|
416
450
|
context 'when it is a file' do
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
451
|
+
context 'when encryption is not required' do
|
452
|
+
it 'returns the expected RubySMB::SMB2::File object' do
|
453
|
+
file_obj = RubySMB::SMB2::File.new(name: filename, tree: tree, response: create_response, encrypt: false)
|
454
|
+
expect(RubySMB::SMB2::File).to receive(:new).with(name: filename, tree: tree, response: create_response, encrypt: false).and_return(file_obj)
|
455
|
+
expect(tree.open_file(filename: filename)).to eq(file_obj)
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
context 'when encryption is required' do
|
460
|
+
it 'returns the expected RubySMB::SMB2::File object' do
|
461
|
+
file_obj = RubySMB::SMB2::File.new(name: filename, tree: tree, response: create_response, encrypt: true)
|
462
|
+
tree.tree_connect_encrypt_data = true
|
463
|
+
expect(RubySMB::SMB2::File).to receive(:new).with(name: filename, tree: tree, response: create_response, encrypt: true).and_return(file_obj)
|
464
|
+
expect(tree.open_file(filename: filename)).to eq(file_obj)
|
465
|
+
end
|
421
466
|
end
|
422
467
|
end
|
423
468
|
|
metadata
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_smb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Metasploit Hackers
|
7
8
|
- David Maloney
|
8
9
|
- James Lee
|
9
10
|
- Dev Mohanty
|
@@ -13,85 +14,90 @@ bindir: bin
|
|
13
14
|
cert_chain:
|
14
15
|
- |
|
15
16
|
-----BEGIN CERTIFICATE-----
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
17
|
+
MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl
|
18
|
+
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
19
|
+
d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
|
20
|
+
b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG
|
21
|
+
EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
|
22
|
+
cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi
|
23
|
+
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c
|
24
|
+
JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTX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9AQ8gthBt7gr/guVxd/gJUYbdDdBX
|
96
|
+
cWfJJi/X7GVBOBmmvA43qoKideuhOBrVGBHvIF/yO9p23dIiUrGmW9kxXCSxgute
|
97
|
+
JI/W23RbIRksG2pioMhd4dCXq3FLLlkOV1YfCwWixNB+iIhQPPZVaPNfgPhCn4Dt
|
98
|
+
DeGjje/qA4fkLtRmOtb9PUBq3ToRDE4=
|
93
99
|
-----END CERTIFICATE-----
|
94
|
-
date:
|
100
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
95
101
|
dependencies:
|
96
102
|
- !ruby/object:Gem::Dependency
|
97
103
|
name: redcarpet
|
@@ -205,12 +211,37 @@ dependencies:
|
|
205
211
|
- - ">="
|
206
212
|
- !ruby/object:Gem::Version
|
207
213
|
version: '0'
|
214
|
+
- !ruby/object:Gem::Dependency
|
215
|
+
name: openssl-ccm
|
216
|
+
requirement: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '0'
|
221
|
+
type: :runtime
|
222
|
+
prerelease: false
|
223
|
+
version_requirements: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
- !ruby/object:Gem::Dependency
|
229
|
+
name: openssl-cmac
|
230
|
+
requirement: !ruby/object:Gem::Requirement
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '0'
|
235
|
+
type: :runtime
|
236
|
+
prerelease: false
|
237
|
+
version_requirements: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - ">="
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
208
242
|
description: ''
|
209
243
|
email:
|
210
|
-
-
|
211
|
-
- egypt@metasploit.com
|
212
|
-
- dev_mohanty@rapid7.com
|
213
|
-
- paristvinternet-github@yahoo.com
|
244
|
+
- msfdev@metasploit.com
|
214
245
|
executables: []
|
215
246
|
extensions: []
|
216
247
|
extra_rdoc_files: []
|
@@ -229,12 +260,16 @@ files:
|
|
229
260
|
- examples/append_file.rb
|
230
261
|
- examples/authenticate.rb
|
231
262
|
- examples/delete_file.rb
|
263
|
+
- examples/enum_registry_key.rb
|
264
|
+
- examples/enum_registry_values.rb
|
232
265
|
- examples/list_directory.rb
|
233
266
|
- examples/negotiate.rb
|
234
267
|
- examples/negotiate_with_netbios_service.rb
|
235
268
|
- examples/net_share_enum_all.rb
|
236
269
|
- examples/pipes.rb
|
237
270
|
- examples/read_file.rb
|
271
|
+
- examples/read_file_encryption.rb
|
272
|
+
- examples/read_registry_key_value.rb
|
238
273
|
- examples/rename_file.rb
|
239
274
|
- examples/tree_connect.rb
|
240
275
|
- examples/write_file.rb
|
@@ -242,10 +277,13 @@ files:
|
|
242
277
|
- lib/ruby_smb/client.rb
|
243
278
|
- lib/ruby_smb/client/authentication.rb
|
244
279
|
- lib/ruby_smb/client/echo.rb
|
280
|
+
- lib/ruby_smb/client/encryption.rb
|
245
281
|
- lib/ruby_smb/client/negotiation.rb
|
246
282
|
- lib/ruby_smb/client/signing.rb
|
247
283
|
- lib/ruby_smb/client/tree_connect.rb
|
248
284
|
- lib/ruby_smb/client/utils.rb
|
285
|
+
- lib/ruby_smb/client/winreg.rb
|
286
|
+
- lib/ruby_smb/crypto.rb
|
249
287
|
- lib/ruby_smb/dcerpc.rb
|
250
288
|
- lib/ruby_smb/dcerpc/bind.rb
|
251
289
|
- lib/ruby_smb/dcerpc/bind_ack.rb
|
@@ -256,9 +294,26 @@ files:
|
|
256
294
|
- lib/ruby_smb/dcerpc/ptypes.rb
|
257
295
|
- lib/ruby_smb/dcerpc/request.rb
|
258
296
|
- lib/ruby_smb/dcerpc/response.rb
|
297
|
+
- lib/ruby_smb/dcerpc/rrp_unicode_string.rb
|
259
298
|
- lib/ruby_smb/dcerpc/srvsvc.rb
|
260
299
|
- lib/ruby_smb/dcerpc/srvsvc/net_share_enum_all.rb
|
261
300
|
- lib/ruby_smb/dcerpc/uuid.rb
|
301
|
+
- lib/ruby_smb/dcerpc/winreg.rb
|
302
|
+
- lib/ruby_smb/dcerpc/winreg/close_key_request.rb
|
303
|
+
- lib/ruby_smb/dcerpc/winreg/close_key_response.rb
|
304
|
+
- lib/ruby_smb/dcerpc/winreg/enum_key_request.rb
|
305
|
+
- lib/ruby_smb/dcerpc/winreg/enum_key_response.rb
|
306
|
+
- lib/ruby_smb/dcerpc/winreg/enum_value_request.rb
|
307
|
+
- lib/ruby_smb/dcerpc/winreg/enum_value_response.rb
|
308
|
+
- lib/ruby_smb/dcerpc/winreg/open_key_request.rb
|
309
|
+
- lib/ruby_smb/dcerpc/winreg/open_key_response.rb
|
310
|
+
- lib/ruby_smb/dcerpc/winreg/open_root_key_request.rb
|
311
|
+
- lib/ruby_smb/dcerpc/winreg/open_root_key_response.rb
|
312
|
+
- lib/ruby_smb/dcerpc/winreg/query_info_key_request.rb
|
313
|
+
- lib/ruby_smb/dcerpc/winreg/query_info_key_response.rb
|
314
|
+
- lib/ruby_smb/dcerpc/winreg/query_value_request.rb
|
315
|
+
- lib/ruby_smb/dcerpc/winreg/query_value_response.rb
|
316
|
+
- lib/ruby_smb/dcerpc/winreg/regsam.rb
|
262
317
|
- lib/ruby_smb/dispatcher.rb
|
263
318
|
- lib/ruby_smb/dispatcher/base.rb
|
264
319
|
- lib/ruby_smb/dispatcher/socket.rb
|
@@ -324,7 +379,6 @@ files:
|
|
324
379
|
- lib/ruby_smb/smb1/commands.rb
|
325
380
|
- lib/ruby_smb/smb1/create_actions.rb
|
326
381
|
- lib/ruby_smb/smb1/data_block.rb
|
327
|
-
- lib/ruby_smb/smb1/dcerpc.rb
|
328
382
|
- lib/ruby_smb/smb1/dialect.rb
|
329
383
|
- lib/ruby_smb/smb1/file.rb
|
330
384
|
- lib/ruby_smb/smb1/oplock_levels.rb
|
@@ -402,12 +456,13 @@ files:
|
|
402
456
|
- lib/ruby_smb/smb2/bit_field/smb2_security_mode_single.rb
|
403
457
|
- lib/ruby_smb/smb2/commands.rb
|
404
458
|
- lib/ruby_smb/smb2/create_context.rb
|
405
|
-
- lib/ruby_smb/smb2/dcerpc.rb
|
406
459
|
- lib/ruby_smb/smb2/file.rb
|
407
460
|
- lib/ruby_smb/smb2/info_type.rb
|
461
|
+
- lib/ruby_smb/smb2/negotiate_context.rb
|
408
462
|
- lib/ruby_smb/smb2/packet.rb
|
409
463
|
- lib/ruby_smb/smb2/packet/close_request.rb
|
410
464
|
- lib/ruby_smb/smb2/packet/close_response.rb
|
465
|
+
- lib/ruby_smb/smb2/packet/compression_transform_header.rb
|
411
466
|
- lib/ruby_smb/smb2/packet/create_request.rb
|
412
467
|
- lib/ruby_smb/smb2/packet/create_response.rb
|
413
468
|
- lib/ruby_smb/smb2/packet/echo_request.rb
|
@@ -427,6 +482,7 @@ files:
|
|
427
482
|
- lib/ruby_smb/smb2/packet/session_setup_response.rb
|
428
483
|
- lib/ruby_smb/smb2/packet/set_info_request.rb
|
429
484
|
- lib/ruby_smb/smb2/packet/set_info_response.rb
|
485
|
+
- lib/ruby_smb/smb2/packet/transform_header.rb
|
430
486
|
- lib/ruby_smb/smb2/packet/tree_connect_request.rb
|
431
487
|
- lib/ruby_smb/smb2/packet/tree_connect_response.rb
|
432
488
|
- lib/ruby_smb/smb2/packet/tree_disconnect_request.rb
|
@@ -439,16 +495,38 @@ files:
|
|
439
495
|
- lib/ruby_smb/version.rb
|
440
496
|
- ruby_smb.gemspec
|
441
497
|
- spec/lib/ruby_smb/client_spec.rb
|
498
|
+
- spec/lib/ruby_smb/crypto_spec.rb
|
442
499
|
- spec/lib/ruby_smb/dcerpc/bind_ack_spec.rb
|
443
500
|
- spec/lib/ruby_smb/dcerpc/bind_spec.rb
|
501
|
+
- spec/lib/ruby_smb/dcerpc/ndr_spec.rb
|
444
502
|
- spec/lib/ruby_smb/dcerpc/p_syntax_id_t_spec.rb
|
445
503
|
- spec/lib/ruby_smb/dcerpc/pdu_header_spec.rb
|
446
504
|
- spec/lib/ruby_smb/dcerpc/request_spec.rb
|
447
505
|
- spec/lib/ruby_smb/dcerpc/response_spec.rb
|
506
|
+
- spec/lib/ruby_smb/dcerpc/rrp_unicode_string_spec.rb
|
448
507
|
- spec/lib/ruby_smb/dcerpc/srvsvc/net_share_enum_all_spec.rb
|
508
|
+
- spec/lib/ruby_smb/dcerpc/srvsvc_spec.rb
|
449
509
|
- spec/lib/ruby_smb/dcerpc/uuid_spec.rb
|
510
|
+
- spec/lib/ruby_smb/dcerpc/winreg/close_key_request_spec.rb
|
511
|
+
- spec/lib/ruby_smb/dcerpc/winreg/close_key_response_spec.rb
|
512
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_key_request_spec.rb
|
513
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_key_response_spec.rb
|
514
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_value_request_spec.rb
|
515
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_value_response_spec.rb
|
516
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_key_request_spec.rb
|
517
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_key_response_spec.rb
|
518
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_root_key_request_spec.rb
|
519
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_root_key_response_spec.rb
|
520
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_info_key_request_spec.rb
|
521
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_info_key_response_spec.rb
|
522
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_value_request_spec.rb
|
523
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_value_response_spec.rb
|
524
|
+
- spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
|
525
|
+
- spec/lib/ruby_smb/dcerpc/winreg_spec.rb
|
526
|
+
- spec/lib/ruby_smb/dcerpc_spec.rb
|
450
527
|
- spec/lib/ruby_smb/dispatcher/base_spec.rb
|
451
528
|
- spec/lib/ruby_smb/dispatcher/socket_spec.rb
|
529
|
+
- spec/lib/ruby_smb/error_spec.rb
|
452
530
|
- spec/lib/ruby_smb/field/extended_attribute_flag_spec.rb
|
453
531
|
- spec/lib/ruby_smb/field/file_time_spec.rb
|
454
532
|
- spec/lib/ruby_smb/field/nt_status_spec.rb
|
@@ -560,8 +638,10 @@ files:
|
|
560
638
|
- spec/lib/ruby_smb/smb2/bit_field/smb_secruity_mode_spec.rb
|
561
639
|
- spec/lib/ruby_smb/smb2/create_context_spec.rb
|
562
640
|
- spec/lib/ruby_smb/smb2/file_spec.rb
|
641
|
+
- spec/lib/ruby_smb/smb2/negotiate_context_spec.rb
|
563
642
|
- spec/lib/ruby_smb/smb2/packet/close_request_spec.rb
|
564
643
|
- spec/lib/ruby_smb/smb2/packet/close_response_spec.rb
|
644
|
+
- spec/lib/ruby_smb/smb2/packet/compression_transform_header_spec.rb
|
565
645
|
- spec/lib/ruby_smb/smb2/packet/create_request_spec.rb
|
566
646
|
- spec/lib/ruby_smb/smb2/packet/create_response_spec.rb
|
567
647
|
- spec/lib/ruby_smb/smb2/packet/echo_request_spec.rb
|
@@ -580,6 +660,7 @@ files:
|
|
580
660
|
- spec/lib/ruby_smb/smb2/packet/session_setup_response_spec.rb
|
581
661
|
- spec/lib/ruby_smb/smb2/packet/set_info_request_spec.rb
|
582
662
|
- spec/lib/ruby_smb/smb2/packet/set_info_response_spec.rb
|
663
|
+
- spec/lib/ruby_smb/smb2/packet/transform_header_spec.rb
|
583
664
|
- spec/lib/ruby_smb/smb2/packet/tree_connect_request_spec.rb
|
584
665
|
- spec/lib/ruby_smb/smb2/packet/tree_connect_response_spec.rb
|
585
666
|
- spec/lib/ruby_smb/smb2/packet/tree_disconnect_request_spec.rb
|
@@ -605,7 +686,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
605
686
|
requirements:
|
606
687
|
- - ">="
|
607
688
|
- !ruby/object:Gem::Version
|
608
|
-
version: 2.
|
689
|
+
version: '2.5'
|
609
690
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
610
691
|
requirements:
|
611
692
|
- - ">="
|
@@ -613,22 +694,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
613
694
|
version: '0'
|
614
695
|
requirements: []
|
615
696
|
rubyforge_project:
|
616
|
-
rubygems_version: 2.
|
697
|
+
rubygems_version: 2.7.10
|
617
698
|
signing_key:
|
618
699
|
specification_version: 4
|
619
700
|
summary: A pure Ruby implementation of the SMB Protocol Family
|
620
701
|
test_files:
|
621
702
|
- spec/lib/ruby_smb/client_spec.rb
|
703
|
+
- spec/lib/ruby_smb/crypto_spec.rb
|
622
704
|
- spec/lib/ruby_smb/dcerpc/bind_ack_spec.rb
|
623
705
|
- spec/lib/ruby_smb/dcerpc/bind_spec.rb
|
706
|
+
- spec/lib/ruby_smb/dcerpc/ndr_spec.rb
|
624
707
|
- spec/lib/ruby_smb/dcerpc/p_syntax_id_t_spec.rb
|
625
708
|
- spec/lib/ruby_smb/dcerpc/pdu_header_spec.rb
|
626
709
|
- spec/lib/ruby_smb/dcerpc/request_spec.rb
|
627
710
|
- spec/lib/ruby_smb/dcerpc/response_spec.rb
|
711
|
+
- spec/lib/ruby_smb/dcerpc/rrp_unicode_string_spec.rb
|
628
712
|
- spec/lib/ruby_smb/dcerpc/srvsvc/net_share_enum_all_spec.rb
|
713
|
+
- spec/lib/ruby_smb/dcerpc/srvsvc_spec.rb
|
629
714
|
- spec/lib/ruby_smb/dcerpc/uuid_spec.rb
|
715
|
+
- spec/lib/ruby_smb/dcerpc/winreg/close_key_request_spec.rb
|
716
|
+
- spec/lib/ruby_smb/dcerpc/winreg/close_key_response_spec.rb
|
717
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_key_request_spec.rb
|
718
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_key_response_spec.rb
|
719
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_value_request_spec.rb
|
720
|
+
- spec/lib/ruby_smb/dcerpc/winreg/enum_value_response_spec.rb
|
721
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_key_request_spec.rb
|
722
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_key_response_spec.rb
|
723
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_root_key_request_spec.rb
|
724
|
+
- spec/lib/ruby_smb/dcerpc/winreg/open_root_key_response_spec.rb
|
725
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_info_key_request_spec.rb
|
726
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_info_key_response_spec.rb
|
727
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_value_request_spec.rb
|
728
|
+
- spec/lib/ruby_smb/dcerpc/winreg/query_value_response_spec.rb
|
729
|
+
- spec/lib/ruby_smb/dcerpc/winreg/regsam_spec.rb
|
730
|
+
- spec/lib/ruby_smb/dcerpc/winreg_spec.rb
|
731
|
+
- spec/lib/ruby_smb/dcerpc_spec.rb
|
630
732
|
- spec/lib/ruby_smb/dispatcher/base_spec.rb
|
631
733
|
- spec/lib/ruby_smb/dispatcher/socket_spec.rb
|
734
|
+
- spec/lib/ruby_smb/error_spec.rb
|
632
735
|
- spec/lib/ruby_smb/field/extended_attribute_flag_spec.rb
|
633
736
|
- spec/lib/ruby_smb/field/file_time_spec.rb
|
634
737
|
- spec/lib/ruby_smb/field/nt_status_spec.rb
|
@@ -740,8 +843,10 @@ test_files:
|
|
740
843
|
- spec/lib/ruby_smb/smb2/bit_field/smb_secruity_mode_spec.rb
|
741
844
|
- spec/lib/ruby_smb/smb2/create_context_spec.rb
|
742
845
|
- spec/lib/ruby_smb/smb2/file_spec.rb
|
846
|
+
- spec/lib/ruby_smb/smb2/negotiate_context_spec.rb
|
743
847
|
- spec/lib/ruby_smb/smb2/packet/close_request_spec.rb
|
744
848
|
- spec/lib/ruby_smb/smb2/packet/close_response_spec.rb
|
849
|
+
- spec/lib/ruby_smb/smb2/packet/compression_transform_header_spec.rb
|
745
850
|
- spec/lib/ruby_smb/smb2/packet/create_request_spec.rb
|
746
851
|
- spec/lib/ruby_smb/smb2/packet/create_response_spec.rb
|
747
852
|
- spec/lib/ruby_smb/smb2/packet/echo_request_spec.rb
|
@@ -760,6 +865,7 @@ test_files:
|
|
760
865
|
- spec/lib/ruby_smb/smb2/packet/session_setup_response_spec.rb
|
761
866
|
- spec/lib/ruby_smb/smb2/packet/set_info_request_spec.rb
|
762
867
|
- spec/lib/ruby_smb/smb2/packet/set_info_response_spec.rb
|
868
|
+
- spec/lib/ruby_smb/smb2/packet/transform_header_spec.rb
|
763
869
|
- spec/lib/ruby_smb/smb2/packet/tree_connect_request_spec.rb
|
764
870
|
- spec/lib/ruby_smb/smb2/packet/tree_connect_response_spec.rb
|
765
871
|
- spec/lib/ruby_smb/smb2/packet/tree_disconnect_request_spec.rb
|