We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227143e commit c810037Copy full SHA for c810037
lib/rex/proto/ldap.rb
@@ -1,3 +1,4 @@
1
+require 'forwardable'
2
require 'net/ldap'
3
require 'rex/socket'
4
@@ -205,6 +206,8 @@ def initialize(server)
205
206
207
if server[:encryption]
208
setup_encryption server[:encryption]
209
+ @conn.extend Forwardable
210
+ @conn.def_delegators :@io, :localinfo, :peerinfo
211
end
212
213
yield self if block_given?
0 commit comments