Skip to content

Commit

Permalink
Exploit::Remote::LDAP - use socket monkeypatch
Browse files Browse the repository at this point in the history
The Exploit::Remote::LDAP namespace appears to use the upstream
Net::LDAP implementation which relies on Ruby's native sockets...

Require the upstreamed Net::LDAP monkeypatch for Rex::Socket usage
in the Exploit::Remote::LDAP namespace to address some of the
problems this creates until a proper Rex::Proto::LDAP::Client is
implemented.

Testing: None, yet
  • Loading branch information
RageLtMan committed Dec 15, 2021
1 parent 0598870 commit 5ca8bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/core/exploit/remote/ldap.rb
Expand Up @@ -4,7 +4,7 @@
# This mixin is a wrapper around Net::LDAP
#

require 'net-ldap'
require 'rex/proto/ldap'

module Msf
module Exploit::Remote::LDAP
Expand Down

0 comments on commit 5ca8bc2

Please sign in to comment.