Shih-Min Lee's Personal website

dating, chating, food, games, search

Follow me on GitHub

πŸ˜€ Regular Expression Denial of Service

Apprently it’s very easy to get DDOSes with regex matching.

For example, the Regex ^(a+)+$ on aaaaaaaaaaaaaaaaaaaaaaaa would cause too many matching cases and cause the program to exit.

–

references:

27 Mar 2018