Page MenuHomeDevCentral

Add known hexadecimal words
ClosedPublic

Authored by dereckson on Feb 18 2018, 15:06.
Tags
None
Referenced Files
F3806495: D1335.id3425.diff
Sat, Nov 30, 07:44
F3806464: D1335.id3424.diff
Sat, Nov 30, 07:33
F3806144: D1335.diff
Sat, Nov 30, 05:49
Unknown Object (File)
Thu, Nov 28, 06:53
Unknown Object (File)
Thu, Nov 28, 03:13
Unknown Object (File)
Wed, Nov 27, 14:37
Unknown Object (File)
Tue, Nov 19, 13:11
Unknown Object (File)
Tue, Nov 19, 05:36
Subscribers
None

Details

Summary

The log is parsed to find hexadecimal hashes.

Some English words can be false positives, and such false positives are
ignored through an hexadecimal known words list.

Currently, the list only contains words used in the log, 'added' and 'ed25519'.

This changes adds some more, from a ^[a-f]+$ search in /usr/share/dict/words,
so the log should be safe in the future.

Test Plan

Ensure words aren't parse as SHA hashes.

Diff Detail

Repository
rSERVERSLOGDESIGN Servers logs website (design)
Lint
Lint Passed
Unit
No Test Coverage
Branch
known-hexadecimal-words (branched from master)
Build Status
Buildable 2109
Build 2357: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Feb 18 2018, 15:56
This revision was automatically updated to reflect the committed changes.