Agent: Correctly set propagation/exploitation status in Zerologon

This commit is contained in:
Mike Salvatore 2022-03-08 11:10:52 -05:00
parent 0d5fcf7fbf
commit 8bc6086e1a
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ class ZerologonExploiter(HostExploiter):
# Restore DC's original password.
if _exploited:
self.exploit_result.propagation_success = True
self.exploit_result.propagation_success = False
self.exploit_result.exploitation_success = _exploited
if self.restore_password():
self.exploit_info["password_restored"] = True
self.store_extracted_creds_for_exploitation()