From ac16397f68bed31fb72910b19f1e49e481d882c1 Mon Sep 17 00:00:00 2001 From: Asim Aziz <41350723+45im@users.noreply.github.com> Date: Sat, 23 Apr 2022 07:19:23 +0100 Subject: [PATCH] Update ldap-search.py (#155) 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"' ])