From be26b504b5133c78158d9794cd361ce1a7418775 Mon Sep 17 00:00:00 2001 From: lgandx Date: Mon, 4 Sep 2017 21:57:51 -0300 Subject: [PATCH] Fixed various bugs and improved the LDAP module. --- servers/LDAP.py | 32 +++++++++++++++++++++++++------- tools/DHCP_Auto.sh | 0 tools/FindSMB2UPTime.py | 2 +- 3 files changed, 26 insertions(+), 8 deletions(-) mode change 100644 => 100755 tools/DHCP_Auto.sh diff --git a/servers/LDAP.py b/servers/LDAP.py index d25d88f..6c6e612 100644 --- a/servers/LDAP.py +++ b/servers/LDAP.py @@ -102,19 +102,37 @@ def ParseLDAPPacket(data, client, Challenge): elif Operation == "\x63": Buffer = ParseSearch(data) return Buffer + elif settings.Config.Verbose: print text('[LDAP] Operation not supported') + if data[5:6] == '\x60': + UserLen = struct.unpack("