GhostManager / Ghostwriter

The SpecterOps project management and reporting engine
https://ghostwriter.wiki
BSD 3-Clause "New" or "Revised" License
1.23k stars 174 forks source link

Check evidence friendly names across all report evidences #447

Closed ColonelThirtyTwo closed 4 weeks ago

ColonelThirtyTwo commented 4 weeks ago

Without this patch, evidence friendly names conflict only with other evidences on the same finding, or with other report-level evidences.

This patch checks across all evidences in the report - both report-level evidences and finding evidences - for friendly name conflicts.

This is useful since evidences create bookmarks in DOCX reports globally, so if two evidences have the same name within the entire report, it will create conflicting bookmarks, which isn't good.