Skip to content

feature proposal - implement line-filter callbacks in parse_indented_config #3

Description

@p-sherratt

In the main loop in parse_indented_config, allow for a filter callback argument to influence the text processing.

The callback should return the new config 'line', or None. If None, the processing loop would re-continue.

We can then implement a separate filter_ios for example to:

  • Process multi-line banners
  • Decrypt type-7 passwords
  • Strip comments

..and wrap this up as parse_ios_config or similar for other vendors where we can implement some filtering niceties.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions