

def auth_password(self, password):
    'Authentify Username & Password against configured (jasmin.cfg) credentials\n        '
    self.authentication['password'] = password.strip()
    self.authentication['printedPassword'] = ''
    for _ in password:
        self.authentication['printedPassword'] += '*'
    self.log.debug('[sref:%s] Received AUTH Password: %s', self.sessionRef, self.authentication['printedPassword'])
    if ((self.authentication['username'] == self.factory.config.admin_username) and (md5(self.authentication['password']).digest() == self.factory.config.admin_password)):
        self.authentication['auth'] = True
        password.prompt = self.oldPrompt
        self.drawMotd()
    else:
        self.prompt = 'Username: '
        self.authentication = {
            'username': None,
            'password': None,
            'printedPassword': None,
            'auth': False,
        }
        return self.sendData('Incorrect Username/Password.\n')
    return self.sendData()

dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/jcli.py JCliProtocol.auth_password/VarMisuse@128/194 `self`->`password`