katana icon indicating copy to clipboard operation
katana copied to clipboard

Logging improvement to include requested host/URI

Open ehsandeep opened this issue 3 years ago • 0 comments

katana version:

latest

Current Behavior:

[WRN] Could not request seed URL: remote error: tls: user canceled
[WRN] Could not request seed URL: remote error: tls: user canceled
[WRN] Could not request seed URL: remote error: tls: user canceled
[WRN] Could not request seed URL: remote error: tls: user canceled

Expected Behavior:

[WRN] Could not request seed URL https://xxxxxx.com/xx: remote error: tls: user canceled
[WRN] Could not request seed URL https://xxxxxx.com/yy: remote error: tls: user canceled
[WRN] Could not request seed URL https://xxxxxx.com: remote error: tls: user canceled
[WRN] Could not request seed URL https://xxxxxx.com:443: remote error: tls: user canceled

Steps To Reproduce:

katana -u https://feedly.com -d 5 -jc -proxy http://127.0.0.1:8080 -v

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

		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.
[WRN] Could not request seed URL: remote error: tls: user canceled

Anything else?

Context - https://github.com/projectdiscovery/katana/discussions/165

ehsandeep avatar Nov 11 '22 11:11 ehsandeep

The issue is due to burp upgrading requests to HTTP/2 by default if the server supports it, Disabling the Default to HTTP/2 in Project Options -> HTTP will fix this.

Screenshot 2022-11-11 at 7 00 20 PM

But i think this still needs some investigation, To support HTTP/2 in katana or maybe this is caused due to some other bug.

parthmalhotra avatar Nov 11 '22 13:11 parthmalhotra