test_telnet_default_creds.py 306 Bytes
from routersploit.modules.creds.cameras.sentry360.telnet_default_creds import Exploit


def test_check_success(generic_target):
    """ Test scenario - successful check """

    exploit = Exploit()
    exploit.target = generic_target.host
    exploit.port = generic_target.port

    assert exploit.check()