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

Sweep: DB backup command fails if special characters in password #2689

Open
thurti opened this issue Sep 21, 2024 · 0 comments
Open

Sweep: DB backup command fails if special characters in password #2689

thurti opened this issue Sep 21, 2024 · 0 comments

Comments

@thurti
Copy link

thurti commented Sep 21, 2024

Details

The database backup command fails if the password contains special characters like <, quotes or whitespace.

The bug might be in

"mysqldump --column-statistics=0 --user=%s --password=%s --host=%s %s --port=%s --result-file=%s 2>&1",

Fix: The password (and propably all other inputs) should be escaped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants