def whitelist_file(self, new_value): """ Set the file path pointing to a file containing the network ranges to scan. :param new_value: The new value to set self._whitelist_file to. :return: None """ if new_value is not None: ValidationHelper.validate_file_exists(new_value) self._whitelist_file = new_value
def blacklist_file(self, new_value): """ Set the value of the file path to a file containing networks that should be excluded from the scan. :param new_value: The local file path to the blacklist file. :return: None """ if new_value is not None: ValidationHelper.validate_file_exists(new_value) self._blacklist_file = new_value