Repository navigation
v1.0.3 - Alfred
This release is about what the model reads back. Same tool surface, better answers: fewer silent empties, fewer raw numbers to interpret, and no dead ends where nxc removed something.
Built and verified against nxc 1.5.1 "Yippie-Ki-Yay" build 677 (2bdc7e5e), up from build 595.
New nxc capabilities wrapped
ldap_ous— the new--ousflag. Without an argument it returns the OU inventory asous({ou, distinguished_name}); the DN is the useful half, since it is what you feed toldap_queryasbase_dnto scope a search. Withou="<name>"it returns the users under that OU's baseDN asusers.nfs_cat_file— the new--catflag: read a remote file straight tostdout, without writing anything to the nxc host. Loot-gated, likenfs_get_file.vnc_timeouton both VNC tools — the new--vnc-timeout. A host that completes the TCP connect and then stalls in the RFB handshake used to hang the scan; it is now bounded, and reported as a timeout rather than as a rejected password.- nxc's two new modules,
rclone(SMB, credential dumping) andresetnightmare(LDAP, CVE-2026-27912), need no wrapper:nxc_run_modulediscovers them from-Land gates them by their declared category.
Results a model can act on
unparsed_lineson every result. nxc prints headings through markers ([*]/[+]/[-]) but prints its findings untagged, sorecords/countscould read "nothing found" over astdoutfull of results. Every result now carries a count of the untagged non-empty lines: when it is greater than zero, the summary is incomplete and the payload is instdout. It is a pointer, not a second copy.- Retired nxc modules answer with the replacement.
nxc_list_modulesno longer offers modules nxc has removed as if they were runnable; they are served separately with the tool that does the job now (enum_trusts→ldap_dc_list,group-mem→ldap_groups, the coerce family →smb_coerce_plus,firefox→smb_dpapi, and the rest).nxc_run_modulerefuses them up front with that same pointer, instead of failing later as "offensive action, needs NXC_MODE=full", which invited a pointless request to raise the mode. - Domain trusts are routed, not guessed.
ldap_dc_listdocuments that its output already decodes each trust (north.example.local -> Bidirectional -> Within Forest), and says what to do when the trusted domain's DCs do not resolve over DNS: read the attributes directly withldap_queryon(objectClass=trustedDomain). - Raw AD numbers are decoded.
ldap_queryentries now carry adecodedfield foruserAccountControl,trustDirection,trustTypeandtrustAttributes, so a bitmask does not have to be interpreted from memory. ldap_querytakesattributesas a list. A comma-separated string used to be passed straight to nxc, which silently returned zero attributes with exit 0. Lists are now the documented form, and a string is normalised (commas, semicolons or spaces).smb_enum_hostsis explicit aboutis_dc. It isTrueorNone, neverFalse: nxc emits its(DC:...)tag only when it concluded the host is a domain controller, soNonemeans "not tagged", not "the parser missed it".- Module listings also surface nxc's
LOW/HIGH PRIVILEGE MODULESbanner.
Reliability
- Timeouts no longer orphan nxc or lose output. The command is started in its own process group and the whole group is killed on timeout:
argv[0]is usually a launcher (uv run …, poetry, pipx, docker), so killing the process alone left nxc running, reparented to init, still holding the pipes, and the recovery read then hung forever. The output drains also write into caller-owned buffers rather than going throughcommunicate(), which loses everything it has read when cancelled: 3.1 MB were measured lost on a command still writing when it expired. Partial output now comes back withtimed_out=True. - Launcher noise is filtered out of
stderr.uv's "Building/Installed" chatter no longer looks like an nxc error.
Discovery
nxc_find_toolmatches short domain abbreviations as whole words, so "which users are in this OU" reachesldap_ousinstead of the generic user tools. Substring matching cannot do this: "ou" also lives inside "group", "you" and "about".
Docs
The README's tool count is corrected to 128 (114 protocol tools + 9 discovery/meta-tools + 5 workspace-DB readers); the previous 131 counted the meta-tools twice.
Compatibility
No tool was renamed or removed and no parameter became required. unparsed_lines is additive, and ldap_query's attributes still accepts the string form.
Validation
425 unit tests, plus a live pass against a GOAD lab at build 677: both --ous shapes parsed, group members intact, is_dc correct on a DC and on a member server, and the parser audit re-run on two domain controllers with no drift. vnc_timeout was validated against a deliberately silent local listener. nfs_cat_file is source-verified and unit-tested only, for lack of an NFS server to point it at.
What's Changed
Full Changelog: v1.0.2...v1.0.3