Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nxc/protocols/smb/dpapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ def collect_masterkeys_from_target(context, target, dploot_connection, user=True
nthashes = {username: nt.split(":")[1] if ":" in nt else nt for _, _, username, nt, _, _ in context.db.get_credentials(cred_type="hash")}
if context.password != "":
plaintexts[context.username] = context.password
plaintexts[context.username.lower()] = context.password # dploot matches user.lower()
if context.nthash != "":
nthashes[context.username] = context.nthash
nthashes[context.username.lower()] = context.nthash

# Collect User and Machine masterkeys
try:
Expand Down