Re:The “security.txt” proposal reached last step in the IETF...
by Beldin on Wednesday December 11, 2019 @05:56PM
(#21767674)
If you have the regex, you'd use it to generate candidate strings. Then, of course you don't have to check any more.
For a more complex regex, you could resort to a simplified version (eg, with larger search space). But the space of all random strings is way too huge to just generate random bitstrings and hope they match the regex.
Plus, there's always the fact that an adversary can just, you know, go find the password requirements on the website and generate a matching regex themselves.
Of course, if the regex is something like `^password$`...