Skip to content

Katana does not respect the scope #1341

Answered by jjhwan-h
4FunAndProfit asked this question in Q&A
Discussion options

You must be logged in to vote

hello, I think it seems that the behavior is not a bug but rather related to the scope filtering settings.

To restrict the scope more strictly, one of the following flags should be used:
-fs fqdn → Only allow exact FQDN match (php.testsparker.com)
-fs dn → Allow only that specific domain, not its siblings

Example:

katana -hl -u http://php.testsparker.com -fs fqdn
   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/                                                   

                projectdiscovery.io

[INF] Current katana version v1.2.1 (latest)
[INF] Started headless crawling for => http://php.testsparker.com
http…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ehsandeep
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
2 participants
Converted from issue

This discussion was converted from issue #1325 on July 24, 2025 20:38.