ronin-rb / ronin-wordlists

A library and tool for managing wordlists.
https://ronin-rb.dev
GNU Lesser General Public License v3.0
2 stars 2 forks source link

Add a `WordlistIndex` or `IndexFile` class to represent `data/wordlists.yml` #35

Closed postmodern closed 4 months ago

postmodern commented 4 months ago

It's kind of a code smell / anti-pattern to directly parse the data/wordlists.yml YAML file in the CLI commands. Instead, there should be a class (ideally part of the private API) which handles parsing and accessing it's contents.