Skip to content

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

@p-sherratt

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.

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