This Burp Suite extension turns Burp into a Google Authenticator client. The current Google Two-Factor Authentication (2FA) code is automatically computed from a given shared secret and applied to bespoke location(s) in relevant requests in real-time.
Instructions:
- Input the shared secret used by the Time-based One-Time Password (TOTP) algorithm into Google Authenticator.
- Input the (regular) expression to match and replace in issued request(s) into Google Authenticator. Use the regex (?<![\w\d])\d{6,8}(?![\w\d]) for optimal results as Google 2FA codes are made up of 6 to 8 digits according to the relevant RFCs.
- Configure a session handling rule that applies to relevant request(s) and invokes this extension.
For more detailed instructions on how to use/leverage Google Auhtenticator, consult the README available on the GitHub project page.