Added "Trying to connect" message in init_ldap_session

This commit is contained in:
Podalirius
2021-10-18 11:26:09 +02:00
committed by GitHub
parent 119ccac548
commit c1878283e2
+1 -1
View File
@@ -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)