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

fix: MySQL connection with special characters in password #5604

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

RamanaReddy0M
Copy link
Contributor

@RamanaReddy0M RamanaReddy0M commented Sep 5, 2024

Proposed changes

Test

local mysql setup
  version: '3.8'
  
  services:
    mysql:
      image: mysql:latest
      container_name: mysql_container
      environment:
        MYSQL_ROOT_PASSWORD: Hxxxd@9
      ports:
        - "3306:3306"
      networks:
        - mynetwork
  
  networks:
    mynetwork:
      driver: bridge
  • include root and Hxxxd@9 under usernames and passwords of mysql-default-login template.

cmd:

$ ./nuclei -id mysql-default-login -u 127.0.0.1

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@RamanaReddy0M RamanaReddy0M self-assigned this Sep 5, 2024
@ehsandeep ehsandeep merged commit f30d0b3 into dev Sep 6, 2024
12 checks passed
@ehsandeep ehsandeep deleted the issue-5205-bug-js-mysql-connect branch September 6, 2024 18:19
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

Successfully merging this pull request may close these issues.

Javascript mysql protocol - BuildDSN no need to EScape password
4 participants