Merge branch 'hash'

main
mpgn 2022-07-19 06:46:53 -04:00
commit d3ca3ea773
1 changed files with 3 additions and 2 deletions

View File

@ -193,10 +193,11 @@ class CMEModule:
try:
self.run_lsassy(context, connection)
cursor.execute("UPDATE pc_and_admins SET dumped = 'TRUE' WHERE pc_name LIKE '" + pc[0] + "%'")
process_creds(context, connection, credentials_data, dbconnection, cursor, driver)
self.spider_pcs(context, connection, cursor, dbconnection, driver)
except Exception:
context.log.error(f"Failed to dump lsassy on {pc[0]}")
process_creds(context, connection, credentials_data, dbconnection, cursor, driver)
self.spider_pcs(context, connection, cursor, dbconnection, driver)
if len(admin_access) > 0:
context.log.error("No more local admin access known. Please try re-running Bloodhound with newly found accounts.")
exit()