katana icon indicating copy to clipboard operation
katana copied to clipboard

No input provided for crawling on silent flag

Open NitescuLucian opened this issue 2 years ago • 0 comments

katana version:

lucian@h:~$ katana --version

   __        __                
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/ v0.0.1						 

		projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions.
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[INF] Current version: v0.0.1
[FTL] could not create runner: %!s(<nil>)
lucian@h:~$ 

Current Behavior:

When katana is used with --silent flag, the following error message is shown, which is not consistent with other pd tools: image

Expected Behavior:

Here is an example for httpx on how error messages are shown: image

Steps To Reproduce:

lucian@h:~$ cat inexistent | katana --silent
cat: inexistent: No such file or directory
[FTL] could not execute crawling: no input provided for crawling

Anything else:

Should not suppress the errors on -silent flag?

NitescuLucian avatar Nov 08 '22 15:11 NitescuLucian