ruby_smb 0.0.15 → 0.0.16

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: 0ff3adf882b31caf2ae7b1d97cf9ada237cc6752
4
- data.tar.gz: 6c120054caaa7c6e61702d8d7a84b878c096a20a
3
+ metadata.gz: 11c8d280a5d92bad0223cbf42762ac574b8945da
4
+ data.tar.gz: 7e16e80305bb22e1e5b8958a98f75e5ae2e5133f
5
5
  SHA512:
6
- metadata.gz: 2a4a7dbab03e8c80b676601cf31fc52807ed5f7936e7e850f3eee05606985864bd1686c3f4580e87fc5f021b2a8863e439aac7d1c9beff8603dfe1cc6f88b947
7
- data.tar.gz: ba6758711607388641d4286df70d2cd06f04de3e2c5617321aa4e414b7ef6185646c99fc54a9f3bfb2837368bd3169c2cf435be9a9869d2132ead4649da1c0e9
6
+ metadata.gz: cff84f47d56dcb07ae7df280401bb4839cad05aacc0097f3044847c88922caf9702c1157e82dbcf214840cfabf6992b0e63104f71752c66766d6d5125e847d01
7
+ data.tar.gz: 950d174ce6e0c35e9c5c67d6424beffb9bbe092c1db058aad0d2a1d9c2c4ac8bdbc1a35afdae5473d5e09e13bcbf4ad39b6ba4ea670dc3e107f7298a0ec5d754
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -33,11 +33,6 @@ module RubySMB
33
33
  # @return [String]
34
34
  attr_accessor :domain
35
35
 
36
- # The address of the remote host
37
- # @!attribute [rw] host
38
- # @return [String]
39
- attr_accessor :host
40
-
41
36
  # The local workstation to pretend to be
42
37
  # @!attribute [rw] local_workstation
43
38
  # @return [String]
@@ -120,7 +115,6 @@ module RubySMB
120
115
  @smb1 = smb1
121
116
  @smb2 = smb2
122
117
  @username = username.encode("utf-8") || ''.encode("utf-8")
123
- @host = dispatcher.tcp_socket.peeraddr[2]
124
118
 
125
119
  @ntlm_client = Net::NTLM::Client.new(
126
120
  @username,
@@ -15,7 +15,7 @@ module RubySMB
15
15
  response_packet = negotiate_response(raw_response)
16
16
  parse_negotiate_response(response_packet)
17
17
  rescue RubySMB::Error::InvalidPacket, Errno::ECONNRESET
18
- error = "Unable to Negotiate with #{self.host}"
18
+ error = "Unable to Negotiate with remote host"
19
19
  if smb1 && !smb2
20
20
  error << ', SMB1 may be disabled'
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module RubySMB
2
- VERSION = '0.0.15'
2
+ VERSION = '0.0.16'
3
3
  end
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: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Maloney
metadata.gz.sig CHANGED
Binary file