projectdiscovery / katana

A next-generation crawling and spidering framework.
MIT License
12.23k stars 632 forks source link

Hide out of scope items #1080

Open znadir opened 3 weeks ago

znadir commented 3 weeks ago

Please describe your feature request:

Instead of hiding external endpoint from scoped crawling by default, hide only out of scope endpoints.

Describe the use case of this feature:

Would be useful to hide out of scope items, not only external endpoints.

znadir commented 3 weeks ago

I dont know if I'm clear. let's say i use -cos option to add out of scope endpoints, it doesn't hide them from output

GeorginaReeder commented 3 weeks ago

Thanks for your feature request @znadir , we'll take a look into this!

dogancanbakir commented 3 days ago

@znadir Thanks for opening the issue. I couldn't repro the issue; I compared the following two CMDs, and I found that -cos is working as expected:

katana -u https://projectdiscovery.io -o output.txt

katana -u https://projectdiscovery.io -cos _next -o output1.txt

Also, make sure it's the latest version.