Common: Add ntlm_hash_validator

This commit is contained in:
Mike Salvatore 2022-07-06 12:02:25 -04:00
parent 031fce9fd8
commit 68e52eb512
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import re
from marshmallow import validate
_ntlm_hash_regex = re.compile(r"^[a-fA-F0-9]{32}$")
ntlm_hash_validator = validate.Regexp(regex=_ntlm_hash_regex)