From ae20eb1dd4d492655301d49a276cf4779e156d8b Mon Sep 17 00:00:00 2001 From: Asim Aziz <41350723+45im@users.noreply.github.com> Date: Sun, 17 Apr 2022 21:04:08 +0100 Subject: [PATCH] Update ldap-search.py Removed extra quotes after in manual command --- autorecon/default-plugins/ldap-search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autorecon/default-plugins/ldap-search.py b/autorecon/default-plugins/ldap-search.py index c074d46..79d29c7 100644 --- a/autorecon/default-plugins/ldap-search.py +++ b/autorecon/default-plugins/ldap-search.py @@ -12,5 +12,5 @@ class LDAPSearch(ServiceScan): def manual(self, service, plugin_was_run): service.add_manual_command('ldapsearch command (modify before running):', [ - 'ldapsearch -x -D "" -w """ -p {port} -h {address} -b "dc=example,dc=com" -s sub "(objectclass=*)" 2>&1 | tee > "{scandir}/{protocol}_{port}_ldap_all-entries.txt"' + 'ldapsearch -x -D "" -w "" -p {port} -h {address} -b "dc=example,dc=com" -s sub "(objectclass=*)" 2>&1 | tee > "{scandir}/{protocol}_{port}_ldap_all-entries.txt"' ])