Skip to content

Commit 62afd52

Browse files
committed
Add option text
1 parent 446bb30 commit 62afd52

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

nxc/modules/remote-uac.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
from impacket.dcerpc.v5 import rrp
22
from impacket.examples.secretsdump import RemoteOperations
33

4-
# Module by @Defte_
5-
# Enables UAC (prevent non RID500 account to get high priv token remotely)
6-
# Disables UAC (allow non RID500 account to get high priv token remotely)
7-
84

95
class NXCModule:
6+
"""Module by @Defte_"""
107
name = "remote-uac"
118
description = "Enable or disable remote UAC"
129
supported_protocols = ["smb"]
@@ -19,7 +16,12 @@ def __init__(self, context=None, module_options=None):
1916
self.action = None
2017

2118
def options(self, context, module_options):
19+
"""
20+
Enables UAC (prevent non RID500 account to get high priv token remotely)
21+
Disables UAC (allow non RID500 account to get high priv token remotely)
2222
23+
ACTION: "enable" or "disable" (required)
24+
"""
2325
if "ACTION" not in module_options:
2426
context.log.fail("ACTION option not specified!")
2527
return

0 commit comments

Comments
 (0)