[Feature Request] Rewrite tomnomnom/inscope in blazingly fast rust
Azathothas opened this issue · 1 comments
Azathothas commented
Original: https://github.com/tomnomnom/hacks/tree/master/inscope
A fork with minor changes: https://github.com/Azathothas/Arsenal/tree/main/inscope
A slight (Chat GPT) rewrite in bash: https://github.com/Azathothas/Arsenal/tree/main/scopeview
Some misc ideas:
- Use
string_ends_wth
or something like ripgrep's -w/--word-regexp. Regexes are costly- If possible, integrate this: https://github.com/Azathothas/Arsenal/tree/main/scopegen (to generate .scope files) and https://github.com/Azathothas/Arsenal/tree/main/subxtract (to filter .tld without relying on hardcoded values)
- Data you may use to test performance:
Related Documentation or Links
No response
Azathothas commented
[+] Repurposed https://github.com/Azathothas/ctlwatcher , which works for my case (Directly parsing certstream output)
[+] I am now using ripgrep to filter the scope based on strings first and then using inscope on the results to filter it farther.
I no longer have need for this, but you may wish to create this anyway for other people.