-
Notifications
You must be signed in to change notification settings - Fork 186
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
Agent register wizard doesn't handle properly special characters in password #5493
Closed
Tracked by
#4205
Labels
Comments
Merged
6 tasks
Merged
6 tasks
Testing enrollment commentscurl -so wazuh-agent.pkg https://packages.wazuh.com/4.x/macos/wazuh-agent-4.7.0-1.intel64.pkg && echo -e "WAZUH_MANAGER='192.168.0.19'\nWAZUH_AGENT_GROUP='default'\nWAZUH_AGENT_NAME='test-name'\nWAZUH_REGISTRATION_PASSWORD='password\"with\"doubleq\\'usds\\\"es'\n" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target /
Possible Solutionecho -e "WAZUH_MANAGER='192.168.0.19'\nWAZUH_AGENT_GROUP='default'\nWAZUH_AGENT_NAME='test-name'\nWAZUH_REGISTRATION_PASSWORD=$'password\"with\"doubleq\\'usds\\\"es'\n" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target /
And check the test E2E |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The password input in the Agent register wizard doesn't validate or handle special characters like single or double quotes for every operating system.
Preconditions
use_password
to true in the manager configurationScreenshots
Additional context
Add any other context about the problem here. Here you can paste log entries too or any other useful information that may help with the issue.
The text was updated successfully, but these errors were encountered: