HavocFramework / Havoc

The Havoc Framework.
GNU General Public License v3.0
6.3k stars 905 forks source link

Issue with setting up Havoc #472

Open spartanq2 opened 2 months ago

spartanq2 commented 2 months ago

image

Using x11 and awesomewm and having an issue with xdg_runtime_dir being invalid or not set in the environment

I am 100% a script kiddie so apologies for any lack of information

spartanq2 commented 2 months ago

Also using arch, I was getting the same error using the makefile as I am using the Pacman repo

ramsy0dev commented 1 month ago

@spartanq2 This error is not related to Havoc but instead related to the variable XDG_RUNTIME_DIR not being carry on because when running a software as another user (in this case root) you're in fact starting a new minimal isolated environment that doesn't carry on some "excessive" variables (among others variables responsible for injecting libraries or setting privileges). To overcome this you will need to set the variable XDR_RUNTIME_DIR to the value that your user have:

sudo XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR havoc

ressources: