Skip to content

Commit ecbbb9a

Browse files
add placeholder with [REMOVED] description
1 parent 2a5d0f0 commit ecbbb9a

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

nxc/modules/efsr_spray.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import ntpath
2+
from nxc.context import Context
3+
4+
class NXCModule:
5+
name = "efsr_spray"
6+
description = "[REMOVED] Tries to activate the EFSR service by creating a file with the encryption attribute on some available share."
7+
supported_protocols = ["smb"]
8+
excluded_shares = ["SYSVOL"]
9+
10+
def options(self, context: Context, module_options: dict[str, str]):
11+
"""
12+
FILE_NAME Name of the file which will be tried to create and afterwards delete
13+
SHARE_NAME If set, ONLY this share will be used
14+
EXCLUDED_SHARES List of share names which will not be used, seperated by comma
15+
"""
16+
pass
17+
18+
def on_login(self, context: Context, connection):
19+
context.log.fail('[REMOVED] This module has been made obsolete and EFS will be activated automatically by "coerce_plus"')

0 commit comments

Comments
 (0)