wpscan icon indicating copy to clipboard operation
wpscan copied to clipboard

XDG Support

Open MarcinWieczorek opened this issue 3 years ago • 0 comments

Hello, Thank you for maintaining such a wonderful project. I noticed wpscan creates a directory in $HOME, which creates clutter. There is a standard for that: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html I think that XDG_DATA_HOME would be good as an alternative (in most cases that would be ~/.local/share/wpscan/db. Some migration and backward compatibility would be required, but I hope someone finds time for that.

The issue seems to be here: https://github.com/wpscanteam/wpscan/blob/f61c55b350a426dd336ae2cfc9607a0f9e76ecea/lib/wpscan.rb#L40

Thanks!

MarcinWieczorek avatar Dec 30 '20 11:12 MarcinWieczorek