mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
21 lines
595 B
Python
21 lines
595 B
Python
|
|
from nxc.helpers.misc import CATEGORY
|
|
|
|
|
|
class NXCModule:
|
|
"""
|
|
Extract all Trust Relationships, Trusting Direction, and Trust Transitivity
|
|
Module by Brandon Fisher @shad0wcntr0ller
|
|
"""
|
|
|
|
name = "enum_trusts"
|
|
description = "[REMOVED] Extract all Trust Relationships, Trusting Direction, and Trust Transitivity"
|
|
supported_protocols = ["ldap"]
|
|
category = CATEGORY.ENUMERATION
|
|
|
|
def options(self, context, module_options):
|
|
pass
|
|
|
|
def on_login(self, context, connection):
|
|
context.log.fail("[REMOVED] This module moved to the --dc-list LDAP flag.")
|