Closed d-Rickyy-b closed 3 years ago
@d-Rickyy-b should the words param always be of type List (or None)? or is there a different "listify" function you have in mind?
Hi @colinlcrawford, you can use the listify util function in analyzers whenever it should be possible to handle multiple inputs. I think it would be cool to handle multiple inputs e.g. for the whole word analyzer or even others. Feel free to add this feature :)
Thanks in advance.
Hey @d-Rickyy-b , I did a scan of the analyzers and it looks like they've all been updated. The wordanalyzer ^ has been updated in dev and I made the update in my PR for the exactwordanalyzer as well
I found that certain analyzers are still using their own "listify" code.
e.g.
https://github.com/d-Rickyy-b/pastepwn/blob/9b2fee22857e54a5312fdb3d388b472a7d271c50/pastepwn/analyzers/wordanalyzer.py#L12-L17
This should not be the case.