示例#1
0
def test_otp_token_close():
    """Strong OTP token?."""
    assert not string.is_otp_token_insecure(STRONG_OTP)
示例#2
0
#/usr/bin/python3
"""Test exploit."""

from fluidasserts.format import string

otp = '123456'
string.is_otp_token_insecure(otp)
示例#3
0
def test_otp_token_open():
    """Weak OTP token?."""
    assert string.is_otp_token_insecure(WEAK_OTP)