update ntdsutil db interactions

main
famos0 2023-03-23 10:24:57 +01:00 committed by Marshall Hallenbeck
parent f9f87b1cc4
commit b9f0b25938
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class CMEModule:
bootKey = localOperations.getBootKey()
noLMHash = localOperations.checkNoLMHashPolicy()
host_id = context.db.get_computers(filterTerm=connection.host)[0][0]
host_id = context.db.get_hosts(filter_term=connection.host)[0][0]
def add_ntds_hash(ntds_hash, host_id):
add_ntds_hash.ntds_hashes += 1