Skip to content

Commit 2c421a7

Browse files
authored
Merge pull request Pennyw0rth#526 from lap1nou/fix-user-desc
2 parents 92dc819 + 14c4506 commit 2c421a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/modules/user-desc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def on_login(self, context, connection):
7171
Users can specify additional LDAP filters that are applied to the query.
7272
"""
7373
self.context = context
74-
self.create_log_file(connection.conn.getRemoteHost(), datetime.now().strftime("%Y%m%d_%H%M%S"))
74+
self.create_log_file(connection.target, datetime.now().strftime("%Y%m%d_%H%M%S"))
7575
context.log.info(f"Starting LDAP search with search filter '{self.search_filter}'")
7676

7777
try:

0 commit comments

Comments
 (0)