Skip to content

Commit 2124866

Browse files
committed
Fix python escaping Syntax warning
1 parent e2c1e82 commit 2124866

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ def output(sessions):
12121212
self.logger.debug(f"Exception connecting to RPC on {self.hostname}: {e}")
12131213

12141214
# Enumerate HKU subkeys and recover SIDs
1215-
sid_filter = "^S-1-.*\d$"
1215+
sid_filter = "^S-1-.*\\d$"
12161216
exclude_sid = ["S-1-5-18", "S-1-5-19", "S-1-5-20"]
12171217

12181218
key_handle = resp["phKey"]

0 commit comments

Comments
 (0)