MCPcopy Create free account
hub / github.com/MorDavid/NetworkHound / __init__

Method __init__

core/ad_client.py:21–26  ·  view source on GitHub ↗
(self, dc_host, domain, username, password)

Source from the content-addressed store, hash-verified

19 """Active Directory LDAP client"""
20
21 def __init__(self, dc_host, domain, username, password):
22 self.dc_host = dc_host
23 self.domain = domain
24 self.username = username
25 self.password = password
26 self.connection = None
27
28 def connect(self):
29 """Connect to Domain Controller using LDAP"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected