ruby_smb 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/ruby_smb/client.rb +5 -0
- data/lib/ruby_smb/version.rb +1 -1
- data/spec/lib/ruby_smb/client_spec.rb +10 -0
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5143b8e8c62f4e51a00da4db3379ee8060a6f650bc91c0b5476f7587df3a513
|
4
|
+
data.tar.gz: 5005cf21af243f8925ddd7fc221b39589ec036df3b57a03af8e26a29cf8bf03a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a69b666d6a0199e0efa5df505ef03c312a9701cec10cc0774b4bed4e006c2c63ff461c1a0472060191dea0737ed483229bd7e78057f950d40c81fa02a5754683
|
7
|
+
data.tar.gz: cb87a7b4cef92975dac1ddc4e9edc72e170b6066a30f2cd9c321ef0f3e25557eae862dd2fe46b147a1ecd8c192ee81782f024858625e0a064c9ab9156084b715
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/ruby_smb/client.rb
CHANGED
@@ -129,6 +129,11 @@ module RubySMB
|
|
129
129
|
# @return [Integer]
|
130
130
|
attr_accessor :session_id
|
131
131
|
|
132
|
+
# Whether or not the current session has the guest flag set
|
133
|
+
# @!attribute [rw] session_is_guest
|
134
|
+
# @return [Boolean]
|
135
|
+
attr_accessor :session_is_guest
|
136
|
+
|
132
137
|
# Whether or not the Server requires signing
|
133
138
|
# @!attribute [rw] signing_enabled
|
134
139
|
# @return [Boolean]
|
data/lib/ruby_smb/version.rb
CHANGED
@@ -557,6 +557,16 @@ RSpec.describe RubySMB::Client do
|
|
557
557
|
end
|
558
558
|
end
|
559
559
|
|
560
|
+
describe '#wipe_state!' do
|
561
|
+
context 'with SMB1' do
|
562
|
+
it { expect { smb1_client.wipe_state! }.to_not raise_error }
|
563
|
+
end
|
564
|
+
|
565
|
+
context 'with SMB2' do
|
566
|
+
it { expect { smb2_client.wipe_state! }.to_not raise_error }
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
560
570
|
describe '#logoff!' do
|
561
571
|
context 'with SMB1' do
|
562
572
|
let(:raw_response) { double('Raw response') }
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_smb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Metasploit Hackers
|
@@ -97,7 +97,7 @@ cert_chain:
|
|
97
97
|
EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
|
98
98
|
9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
|
99
99
|
-----END CERTIFICATE-----
|
100
|
-
date: 2022-02-
|
100
|
+
date: 2022-02-15 00:00:00.000000000 Z
|
101
101
|
dependencies:
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: redcarpet
|
metadata.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
�5Ф\y�Q.�n��g�Ho�{F�Y����E��g9�9�)��.�i~0-�1휡�Sθ�� ��Q��P
|
2
|
+
��X.���&�k��na����k���&SP
|