mirror of
https://github.com/p0dalirius/LDAPmonitor
synced 2026-08-09 13:01:33 +00:00
Added "Trying to connect" message in init_ldap_session
This commit is contained in:
@@ -203,7 +203,7 @@ def init_ldap_session(logger, args, domain, username, password, lmhash, nthash):
|
||||
target = args.dc_ip
|
||||
else:
|
||||
target = domain
|
||||
logger.debug("Using target: %s" % target)
|
||||
logger.print("[>] Trying to connect to %s ..." % target)
|
||||
if args.use_ldaps is True:
|
||||
try:
|
||||
return init_ldap_connection(target, ssl.PROTOCOL_TLSv1_2, args, domain, username, password, lmhash, nthash)
|
||||
|
||||
Reference in New Issue
Block a user