pwnwriter/kanha

[Feature Request] Rewrite tomnomnom/inscope in blazingly fast rust

Azathothas opened this issue · 1 comments

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:

  1. Use string_ends_wth or something like ripgrep's -w/--word-regexp. Regexes are costly
  2. 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)
  3. Data you may use to test performance:

Related Documentation or Links

No response

[+] 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.