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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7ce1d9892eb5ccf2881dd78a8e1983926554f69de301560539e7d7da37061b0
4
- data.tar.gz: '01692d97a27c63f470b7c2899ad9cfb2828c9e254f0747176a29555d462bbf1d'
3
+ metadata.gz: a5143b8e8c62f4e51a00da4db3379ee8060a6f650bc91c0b5476f7587df3a513
4
+ data.tar.gz: 5005cf21af243f8925ddd7fc221b39589ec036df3b57a03af8e26a29cf8bf03a
5
5
  SHA512:
6
- metadata.gz: 2fafe3f08b518b285b33832e0809c9b5f4687800457bec2c1945dd33f4c7109466926a5f55a537a3cdf9851f1c0c6b9979aa0f8d75f0004749f8bdd56ba26ab4
7
- data.tar.gz: 070550512fe2ffadaecb97ea014e8fa5563b722b0184303c022f901bb60466991979673adf0dedfb411585b910e92d435308f7d900326ee6d8aa8ead5e1cdf0c
6
+ metadata.gz: a69b666d6a0199e0efa5df505ef03c312a9701cec10cc0774b4bed4e006c2c63ff461c1a0472060191dea0737ed483229bd7e78057f950d40c81fa02a5754683
7
+ data.tar.gz: cb87a7b4cef92975dac1ddc4e9edc72e170b6066a30f2cd9c321ef0f3e25557eae862dd2fe46b147a1ecd8c192ee81782f024858625e0a064c9ab9156084b715
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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]
@@ -1,3 +1,3 @@
1
1
  module RubySMB
2
- VERSION = '3.0.3'.freeze
2
+ VERSION = '3.0.4'.freeze
3
3
  end
@@ -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.3
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-11 00:00:00.000000000 Z
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
- ��d����3��xߦ�� (��X��q�"2��=�|;3�AQn��� e8���u�8��s��4���-`����=�w^��"+$R�X`J�Z8J���#K�>M^+f����Jہ�X�3~�a��άo+ �2������ ��|�0�nr�%��Op�K,�}y��yn:TRBP�šBx=aN�&�h)M �߫��Y!)ԛ}au:#{P��`��O5b�?lJo%7�\�IM�F.�^�_���9 0+����x�
1
+ 5Ф\y�Q.�n��g�Ho�{F �Y����E��g9�9�)��.�i~0-�1휡�Sθ�� ��Q��P
2
+ ��X.���&�k��na����k���&SP