The Regular expression Denial of Service (ReDoS) attack exploits the implementation of a regular expression engine causing them to run in exponential time related to the input size. This tool allows you to test various regular expressions against different input inside your browser to measure the time it takes to test an input against a regular expression in order to illustrate this attack.
The application is available at https://philnash.github.io/regexp-timer.
Clone the repo from GitHub:
git clone https://github.com/philnash/regexp-timer.git
Install the dependencies:
npm install
Start the server:
npm start
You can now visit the application at http://localhost:3000.
MIT License Copyright (c) 2023 Phil Nash