This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Cleans PII from Fornite log files. | |
* Includes hardware specs, system info, attached device IDs/serials, etc. | |
* Makes no guarantee of fully anonymizing logs. | |
* | |
* Usage: deno run --allow-all fortnite-log-anonymizer.js [input file] | |
*/ | |
const regexes = { | |
os : /LogCsvProfiler: Display: Metadata set : os="(.*)"/, |