Files
Marshall Hallenbeck 2245f3ca01 feat(modules): add GPO enumeration module
Add gpos module for enumerating Group Policy Objects via LDAP + SMB.
Extracts helpers for LDAP queries, SMB security descriptors, DACL
parsing, and path sanitization into reusable nxc/helpers/ modules.
Adds well-known SID constants shared with samrfunc, and path traversal
defense in download_folder.
2026-04-06 14:53:57 -04:00
..
2024-06-05 12:18:04 -04:00
2025-10-23 05:14:21 -04:00
2024-05-26 18:24:36 +02:00

nxc Tests

Running Tests

Unit Tests

  • Install nxc (either in venv or via Poetry)
  • Run pytest (or poetry run pytest)

End to End Tests

  • Install nxc (either in venv or via Poetry): poetry install --with dev
  • Run python tests/e2e_tests.py -t $IP -u $USER -p $PASS, with optional -k parameter
    • Poetry: poetry run python tests/e2e_tests.py -t $IP -u $USER -p $PASS
  • For testing standalone binaries (e.g. windows) run: python tests/e2e_tests.py --executable dist/nxc.exe -t $IP -u $USER -p $PASS
  • To see full errors (that might show real errors not caught by checking the exit code), run with the --errors flag