Skip to content

Commit e6fe634

Browse files
authored
Merge pull request Pennyw0rth#691 from crosscutsaw/ntdsutil-new
update ntdsutil.py to behave like --ntds
2 parents 1319fb4 + 073abc9 commit e6fe634

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

nxc/modules/ntdsutil.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ def add_ntds_hash(ntds_hash, host_id):
142142
add_ntds_hash.ntds_hashes = 0
143143
add_ntds_hash.added_to_db = 0
144144

145+
connection.output_filename = connection.output_file_template.format(output_folder="ntds")
146+
145147
NTDS = NTDSHashes(
146148
f"{self.dir_result}/Active Directory/ntds.dit",
147149
boot_key,

0 commit comments

Comments
 (0)