Demonstrate ReDoS using:
- Person name check on profile page (use regex ^[a-zA-Z]+(([',. -][a-zA-Z ])?[a-zA-Z])$ to check first name last name on profile form submission)
- On signup page, add a validation to check if the username is part of the password. Construct Regex using user supplied input for username.
More details at https://groups.google.com/forum/#!topic/nodegoat/nkwQP1ONU-E