def __init__(self): AuthPlugin.__init__(self) self.username = '' self.password = '' self.username_field = '' self.password_field = '' self.auth_url = 'http://host.tld/' self.check_url = 'http://host.tld/' self.check_string = '' self._login_error = True
def __init__(self): AuthPlugin.__init__(self) # User configured settings self.username = '' self.password = '' self.login_form_url = URL('http://host.tld/login') self.check_url = URL('http://host.tld/check') self.check_string = '' # Internal attributes self._attempt_login = True
def __init__(self): AuthPlugin.__init__(self) self.username = '' self.password = '' self.username_field = '' self.password_field = '' self.method = 'POST' self.data_format = '%u=%U&%p=%P' self.auth_url = 'http://host.tld/' self.check_url = 'http://host.tld/' self.check_string = '' self._login_error = True
def __init__(self): AuthPlugin.__init__(self) # User configuration self.username = '' self.password = '' self.username_field = '' self.password_field = '' self.auth_url = 'http://host.tld/' self.check_url = 'http://host.tld/' self.check_string = '' # Internal attributes self._attempt_login = True
def __init__(self): AuthPlugin.__init__(self) self.username = '' self.password = '' self.username_field = '' self.password_field = '' self.method = 'POST' self.data_format = '%u=%U&%p=%P' self.auth_url = 'http://host.tld/' self.check_url = 'http://host.tld/' self.check_string = '' self._login_error = True self.follow_redirects = False self.url_encode_params = True
def __init__(self): AuthPlugin.__init__(self) # User configuration self.username = '' self.password = '' self.username_field = '' self.password_field = '' self.method = 'POST' self.data_format = '%u=%U&%p=%P' self.auth_url = 'http://host.tld/' self.check_url = 'http://host.tld/' self.check_string = '' self.follow_redirects = False self.url_encode_params = True # Internal attributes self._show_login_error = True self._attempt_login = True