Skip to content

Commit 1a4ea1e

Browse files
committed
fix poetry checks
Signed-off-by: Sebastian Pauli <sebastian.pauli@protonmail.com>
1 parent 39e8e6e commit 1a4ea1e

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

nxc/modules/get-info-users.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from impacket.ldap import ldap as ldap_impacket
2-
import re
32
from nxc.logger import nxc_logger
43
from 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"]

tests/e2e_commands.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -L
197197
netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M adcs
198198
netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M daclread -o TARGET=LOGIN_USERNAME ACTION=read
199199
netexec 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
200201
netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M get-network
201202
netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M groupmembership -o USER=LOGIN_USERNAME
202203
netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M laps

0 commit comments

Comments
 (0)