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

mySQL target is not working with error Access denied (using password: NO) #951

Open
pgrucov opened this issue Feb 21, 2024 · 0 comments
Open

Comments

@pgrucov
Copy link

pgrucov commented Feb 21, 2024

Hello and thank you for the great project!

I am however facing an issue setting a mySQL target.

Here is my target settings
image

And here is the log i got when i`m trying to login:

2/21/2024, 5:08:53 PM | Target connection failed client_ip: xxx.xxx.xxx.xxx error: protocol error: handshake failed: ErrPacket { error_code: 1045, sql_state: Some("28000"), error_message: "Access denied for user 'xx'@'xxx.xxx.xxx.xxx' (using password: NO)" } 2/21/2024, 5:08:53 PM | Target handshake capabilities: FOUND_ROWS \| LONG_FLAG \| PROTOCOL_41 \| INTERACTIVE \| TRANSACTIONS \| SECURE_CONNECTION \| PLUGIN_AUTH \| PLUGIN_AUTH_LENENC_DATA \| DEPRECATE_EOFclient_ip: xxx.xxx.xxx.xxx 2/21/2024, 5:08:53 PM | Authenticated client_ip: xxx.xxx.xxx.xxx credentials: passwordusername: admin 2/21/2024, 5:08:53 PM | User handshake capabilities: FOUND_ROWS \| LONG_FLAG \| PROTOCOL_41 \| INTERACTIVE \| SSL \| TRANSACTIONS \| SECURE_CONNECTION \| PLUGIN_AUTH \| PLUGIN_AUTH_LENENC_DATA \| DEPRECATE_EOFclient_ip: xxx.xxx.xxx.xxx username: admin:xx 2/21/2024, 5:08:53 PM | User handshake capabilities: FOUND_ROWS \| LONG_FLAG \| CONNECT_WITH_DB \| NO_SCHEMA \| IGNORE_SPACE \| PROTOCOL_41 \| INTERACTIVE \| SSL \| TRANSACTIONS \| SECURE_CONNECTION \| PLUGIN_AUTH \| PLUGIN_AUTH_LENENC_DATA \| SESSION_TRACK \| DEPRECATE_EOFclient_ip: xxx.xxx.xxx.xxx username:   | End of the log

Seems like the warpgate is not passing the password to the target. I am facing the issue from 0.8.0 (the first one i tested) but it is still reproducible in the latest version and i am not sure what it is that i am doing wrong. Any help is appreciated!

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

No branches or pull requests

2 participants