SecurityRiskAdvisors / VECTR

VECTR is a tool that facilitates tracking of your red and blue team testing activities to measure detection and prevention capabilities across different attack scenarios
1.35k stars 159 forks source link

Running VECTR on WSL2 web app not running #206

Closed sepehrn0107 closed 1 year ago

sepehrn0107 commented 1 year ago

hi. I've installed Vectr on WSL following the instructions and docker-compose up -d finished sccessfully, but when trying to open the web app, i get the following error: DNS_PROBE_FINISHED_NXDOMAIN I found an earlier issue where the problem was solved by adding "127.0.0.1 NAME_OF_HOST" to etc/host which i did with no success. Is it at all possible to run VECTR through WSL2 on windows 10? if so, what would cause this problem?

SRAPSpencer commented 1 year ago

VECTR isn't supported on WSL/2. Generally we intend for VECTR to be treated as a server application and shouldnt be run on a desktop. It may have worked in the past but I'm not sure how the networking works between the Linux layer and Windows.

sepehrn0107 commented 1 year ago

I got it to work by adding "127.0.0.1 APP_NAME" to hosts in windows "system/drivers/etc" to channel through Linux layer as well as doing the same in WSL. This works when running locally