GerbenJavado / LinkFinder

A python script that finds endpoints in JavaScript files
https://gerbenjavado.com/discovering-hidden-content-using-linkfinder
MIT License
3.64k stars 588 forks source link

xdg-open: no method available for opening on WSL #71

Open Wayc0des-Land opened 4 years ago

Wayc0des-Land commented 4 years ago

Hi,

I got problem when use this tool, by the way i use WSL 2 for this tool

Couldn't get a file descriptor referring to the console                                                                 Warning: program returned non-zero exit code #1                                                                         Couldn't get a file descriptor referring to the console                                                                 Couldn't get a file descriptor referring to the console                                                                 
xdg-open: no method available for opening 'file:////home/wayc0de/tools/LinkFinder/output.html' 

Verify xdg-setting

wayc0de@DESKTOP-9C0TVKV:~/tools/LinkFinder$ xdg-settings get default-web-browser chromium-browser.desktop

when i tried direct xdg-open output.html the output.html successfully come to my chome.

SanchezrEdwin01 commented 2 years ago

How did you solve this?