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

Do not clobber the "tcp" dialer for MySQL #5681

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Commits on Oct 1, 2024

  1. Do not clobber the "tcp" dialer for MySQL

    This introduces a "nucleitcp" protocol that Nuclei will use when
    making MySQL connections as part of its templates.
    
    Previously, this would register (and de-register!) a custom "tcp"
    dialer, and that applied globally, so any piece of software that
    used a MySQL database and included nuclei in SDK mode would have
    its database connections ripped out from under it due to the dialer
    hijacking.
    
    By using "nucleitcp" as the protocol, we are free to do whatever
    we want with the dialer and not impact any other packages.
    
    Within our `BuildDSN` function, we quietly replace the protocol to
    "nucleitcp" if it was "tcp", so nuclei developers don't have to do
    anything special to use this functionality; it will always do it.
    doug-threatmate committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    126b410 View commit details
    Browse the repository at this point in the history