pwnwriter / kanha

🦚 A web-app pentesting suite written in rust .
https://crates.io/crates/kanha
MIT License
263 stars 16 forks source link

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

Closed Azathothas closed 11 months ago

Azathothas commented 1 year ago

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

Azathothas commented 11 months ago

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