Skip to content

Commit 3bc5371

Browse files
committed
Reset tab counter for each user
1 parent 609b0ee commit 3bc5371

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/modules/notepad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ def read_and_decode_file(self, connection, context, file_path, user):
9797
if self.is_meaningful_content(string)]
9898

9999
def on_admin_login(self, context, connection):
100-
found = 0
101100
context.log.display("Searching for Notepad cache...")
102101
for directory in connection.conn.listPath("C$", "Users\\*"):
102+
found = 0
103103
if directory.get_longname() in self.false_positive or not directory.is_directory():
104104
continue
105105

0 commit comments

Comments
 (0)