File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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"' )
You can’t perform that action at this time.
0 commit comments