Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDG Support #1586

Open
MarcinWieczorek opened this issue Dec 30, 2020 · 0 comments · May be fixed by #1815
Open

XDG Support #1586

MarcinWieczorek opened this issue Dec 30, 2020 · 0 comments · May be fixed by #1815

Comments

@MarcinWieczorek
Copy link

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:

DB_DIR = Pathname.new(Dir.home).join('.wpscan', 'db')

Thanks!

alichtman added a commit to alichtman/wpscan that referenced this issue Apr 29, 2023
alichtman added a commit to alichtman/wpscan that referenced this issue Nov 12, 2023
@alichtman alichtman linked a pull request Nov 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants