07.01.2016, 14:02
(
Last edited by Igorek; 04/12/2017 at 02:18 PM.
)
TOTP plugin v1.0.1
This plugin allows you to generate one-time passwords based on time (and computing on algorithm based TOTP RFC 6238 ) are also used by Gооgle in the Gооgle Authenticator.
With this plugin, you can protect your server accounts of subsidiary protection, providing the One-time Password on the user side using Gооgle Authenticator and comparing it to the server using this plugin.
The secret key for the user, you can generate and set, for example, in the UCP your WebSite.
Natives
The parameters:
Downloads
GitHub repository:
https://github.com/GamesDV/TOTP
Pre-built binaries for Linux and Windows (releases page):
https://github.com/GamesDV/TOTP/releases
This plugin allows you to generate one-time passwords based on time (and computing on algorithm based TOTP RFC 6238 ) are also used by Gооgle in the Gооgle Authenticator.
With this plugin, you can protect your server accounts of subsidiary protection, providing the One-time Password on the user side using Gооgle Authenticator and comparing it to the server using this plugin.
The secret key for the user, you can generate and set, for example, in the UCP your WebSite.
Natives
Code:
native Goo gleAuthenticatorCode(key[], tm); //anti-advertising removes the word Gооgle. Remove the space
- key[] - secret key
- tm - UNIXTIME
Code:
#include <a_samp> #include <TOTP> main() { new code = Goo gleAuthenticatorCode("3ADXVY3HXVYX6XWZ", gettime()); //anti-advertising removes the word Gооgle. Remove the space printf("CODE: %06d", code); }
GitHub repository:
https://github.com/GamesDV/TOTP
Pre-built binaries for Linux and Windows (releases page):
https://github.com/GamesDV/TOTP/releases