File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from impacket .ldap import ldap as ldap_impacket
2- import re
32from nxc .logger import nxc_logger
43from nxc .parsers .ldap_results import parse_result_attributes
54
@@ -17,9 +16,7 @@ class NXCModule:
1716 multiple_hosts = True
1817
1918 def options (self , context , module_options ):
20- """
21- FILTER Apply the FILTER (grep-like) (default: '')
22- """
19+ """FILTER Apply the FILTER (grep-like) (default: '')"""
2320 self .FILTER = ""
2421 if "FILTER" in module_options :
2522 self .FILTER = module_options ["FILTER" ]
Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -L
197197netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M adcs
198198netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M daclread -o TARGET=LOGIN_USERNAME ACTION=read
199199netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M get-desc-users
200+ netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M get-info-users
200201netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M get-network
201202netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M groupmembership -o USER=LOGIN_USERNAME
202203netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M laps
You can’t perform that action at this time.
0 commit comments