Skip to content

Commit 14c4506

Browse files
authored
Update user-desc.py
Signed-off-by: lapinou <lapinousexy@gmail.com>
1 parent 92dc819 commit 14c4506

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)