Silence generate script
|1 year ago|
|.gitignore||2 years ago|
|README.md||2 years ago|
|duo_activate.py||1 year ago|
|duo_export.py||2 years ago|
|duo_gen.py||1 year ago|
|requirements.txt||1 year ago|
This is a little script I put together after I reverse engineered the Duo 2FA Mobile App and figured out how their auth flow works. This can be ported into probably a useful desktop app or chrome extention and can probably be used to write bots for MIT Services that require auth.
pip install -r requirements.txt
Just grab the QR Code URL and copy the string after value
If everything worked you can then generate a code by running:
Warning: These are HOTP tokens and generate codes increments a counter. If you get too far out of sync with the server it will stop accepting your codes.
Export the duo hotp secret as a QR code for inclusion in third-party hotp apps like freeotp.