Skip to content

Commit

Permalink
Add authentication method to information extracted in order to know h…
Browse files Browse the repository at this point in the history
…ow credentials must be used
  • Loading branch information
drighetto committed Jul 24, 2016
1 parent 35b98a1 commit 37c2382
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self):
options = {'command': '-t', 'action': 'store_true', 'dest': 'apachedirectorystudio', 'help': 'Apache Directory Studio'}
ModuleInfo.__init__(self, 'apachedirectorystudio', 'sysadmin', options)
# Interesting XML attributes in ADS connection configuration
self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword"]
self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword", "authMethod"]


def extract_connections_credentials(self):
Expand Down Expand Up @@ -59,6 +59,7 @@ def run(self):
values["Port"] = creds["port"]
values["BindPrincipal"] = creds["bindPrincipal"]
values["BindPassword"] = creds["bindPassword"]
values["AuthenticationMethod"] = creds["authMethod"]
pwd_found.append(values)

# Print the results
Expand Down

0 comments on commit 37c2382

Please sign in to comment.