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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/ruby_smb/client.rb +0 -6
- data/lib/ruby_smb/client/negotiation.rb +1 -1
- data/lib/ruby_smb/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11c8d280a5d92bad0223cbf42762ac574b8945da
|
|
4
|
+
data.tar.gz: 7e16e80305bb22e1e5b8958a98f75e5ae2e5133f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cff84f47d56dcb07ae7df280401bb4839cad05aacc0097f3044847c88922caf9702c1157e82dbcf214840cfabf6992b0e63104f71752c66766d6d5125e847d01
|
|
7
|
+
data.tar.gz: 950d174ce6e0c35e9c5c67d6424beffb9bbe092c1db058aad0d2a1d9c2c4ac8bdbc1a35afdae5473d5e09e13bcbf4ad39b6ba4ea670dc3e107f7298a0ec5d754
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/ruby_smb/client.rb
CHANGED
|
@@ -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
|
|
18
|
+
error = "Unable to Negotiate with remote host"
|
|
19
19
|
if smb1 && !smb2
|
|
20
20
|
error << ', SMB1 may be disabled'
|
|
21
21
|
end
|
data/lib/ruby_smb/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|