Skip to content

Commit 0261652

Browse files
committed
Rename module
1 parent 7e1537b commit 0261652

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Enables UAC (prevent non RID500 account to get high priv token remotely)
66
# Disables UAC (allow non RID500 account to get high priv token remotely)
77
class NXCModule:
8-
name = "remoteuac"
8+
name = "remote-uac"
99
description = "Enable or disable remote UAC"
1010
supported_protocols = ["smb"]
1111
opsec_safe = True
@@ -39,7 +39,7 @@ def on_admin_login(self, context, connection):
3939
remoteOps._RemoteOperations__rrp,
4040
regHandle,
4141
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System"
42-
)['phkResult']
42+
)["phkResult"]
4343

4444
# Checks if the key already exists or not
4545
try:

0 commit comments

Comments
 (0)