wemcdona / notepad-app

0 stars 0 forks source link

Limit your regex sizes #19

Closed CodyTVWeber closed 3 weeks ago

CodyTVWeber commented 3 weeks ago

An open ended regex can be used to attack a server by giving a regex an enormous complex string that can cause the regex checker to be overloaded. So the regexes used for the username, password, etc. should have a min and max size.

CodyTVWeber commented 3 weeks ago

This should be a super easy quick fix.