hahwul / dalfox

🌙🦊 Dalfox is a powerful open-source XSS scanner and utility focused on automation.
https://dalfox.hahwul.com
MIT License
3.79k stars 425 forks source link

X11 connection rejected because of wrong authentication. #300

Open SharafEldein opened 3 years ago

SharafEldein commented 3 years ago

Describe the bug

I got this error whenever I run the program with any url

I have all tools and scanners running without this strange problem, and I have x11 SSHD Forwarding is enabled on my vps, and X11 client forwarding is also enabled. It keeps on generating those lines until the scan finish or me hitting ctrl+c for for maybe 30 times.

Thank you for your time.

Environment

github-actions[bot] commented 3 years ago

Thank you for your first issue report :D

hahwul commented 3 years ago

Hi @SH4R4F Thank you for submit issue! It's not accurate, but my guess is that it seems to be a message caused by a built-in headless browser (chromedp).

Will it happen the same way if I use the command below?

$ xauth merge /home/<user-id>/.Xauthority

I thought the solution to this problem was X11Forwarding=yes. My head is in a whirl because it's already set up 😱

In the worst case scenario, there might be a way not to use headless with --skip-headless. (However, the detection rate is low)