Skip to content

PowderLinux/PyOTP-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# PyOTP-Script


Python scripts to generate TOTP based codes


There are two scripts provided.. 
RUN.py will generate your TOTP code, and then prompt you to either run again or quit.
RUN-LOOP.py will continuously generate your TOTP code untill the terminal is closed. (Ctrl+C)


To run:

Open either script with any text editor and add your OTP's secret key to the following line:
totp = pyotp.TOTP("JBSWY3DPEHPK3PXP")
(Replace "JBSWY3DPEHPK3PXP" with your key)

Windows-
Right click RUN.py/RUN-LOOP.py and select "Open with" > "Python", or run in CMD.exe:
python RUN.py
python RUN-LOOP.py

Linux-
python3 RUN.py
python3 RUN-LOOP.py


Credits:

PyOTP-Script: (MIT License)
Scripts written by p0wder
Copyright (C) 2020 Powder Linux
https://www.github.com/PowderLinux

PyOTP: (MIT License)
Copyright (C) 2011-2017 Mark Percival <m@mdp.im>,
Nathan Reynolds <email@nreynolds.co.uk>, Andrey Kislyuk <kislyuk@gmail.com>,
and PyOTP contributors
https://github.com/pyauth/pyotp

Releases

No releases published

Packages

No packages published

Languages