intentionet / netconan

netconan - a Network Configuration Anonymizer
Apache License 2.0
145 stars 12 forks source link

Sensitive words overlapping with reserved words may be anonymized #103

Open sfraint opened 5 years ago

sfraint commented 5 years ago

Running netconan -p -w test -i input -o output (anonymize test, which is a reserved word) where input is a file containing:

password test
password "test"

produces the following output file:

password test
password "netconanRemoved0"

but instead, it should produce an output like:

password test
password "test"