Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue on -passive feature #892

Open
zy9ard3 opened this issue May 16, 2024 · 1 comment
Open

issue on -passive feature #892

zy9ard3 opened this issue May 16, 2024 · 1 comment
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@zy9ard3
Copy link
Contributor

zy9ard3 commented May 16, 2024

Hey @projectdiscovery team,

There seems to be an issue with the -passive flag, which doesn't seem to be working as expected. When we use the -passive flag with Katana, the crawler is supposed to perform standard crawling along with additional passive endpoints. However, what is happening now is that the crawler only looks for passive endpoints and exits if no passive endpoints are found

Katana version : latest

Current Behavior :

When we use the -passive flag with Katana, the crawler only looks for passive endpoints and exits if none are found, without performing standard crawling on the given domain

Expected Behavior :

The crawler should always perform standard crawling regardless of the flag. If the -passive flag is given, the crawler should include additionally fetched endpoints from passive sources and perform crawling on those along with the standard crawling

Steps To Reproduce :

Take any random live host that does not have any passive URLs data in archives and execute the following two commands. You will notice the issue :

  • katana -u https://xyz.com -passive

  • katana -u https://xyz.com

Reference from my Side :

katana issue

Kindly please rectify this issue for more efficient crawling

Have a Great Day : )

Thanks & Regards,
@zy9ard3

@zy9ard3 zy9ard3 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 16, 2024
@dogancanbakir dogancanbakir self-assigned this May 17, 2024
@ehsandeep
Copy link
Member

@zy9ard3 this is intended bheavior, passive + active crawling not meant to used togather, otherwise katana will spend hours to just resolve / filter thousand of dead urls from passive source.

katana -passive -headless -u example.com

   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/							 

		projectdiscovery.io

[FTL] could not create runner: [:RUNTIME] could not validate options <- [:RUNTIME] headless mode (-headless) and passive mode (-passive) cannot be used together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

3 participants