The Virtual TOTP Token script is a tool designed to emulate Time-Based One-Time Passwords (TOTPs) for testing purposes. It allows users to generate TOTPs without the need to purchase physical tokens. This tool is particularly useful for customers testing procedures involving TOTP tokens with Azure Multi-Factor Authentication (MFA).
token2.csv in the same folder as the script.upnserial numbersecret keytimeintervalmanufacturermodel
upn,serial number,secret key,timeinterval,manufacturer,model
user@token2.com,2300000000000,JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP,30,Token2,miniOTP-1
JBSWY3DPEHPK3PXPJBSWY3DPEHPK3PXP)token2.csv file or the secret key in the CSV file, it uses a default key. Replace this default key with your actual default secret key.