Skip to content

[BUG] IPv6 handling issues #6960

@matejsmycka

Description

@matejsmycka

Is there an existing issue for this?

  • I have searched the existing issues.

Current Behavior

Nuclei does not handle IPv6 correctly.

nuclei -id mattermost-panel -u ::1:8065

Scans following target: [::1]:8065.

While command:

nuclei -id mattermost-panel -u [::1]:8065

also scans same target: [::1]:8065.

Image

Expected Behavior

However, the first case should not scan port 8065, because 0000:0000:0000:0000:0000:0000:0001:8065 is a valid address, not port 8065.

Steps To Reproduce

nuclei -id mattermost-panel -u ::1:8065
nuclei -id mattermost-panel -u [::1]:8065

Relevant log output

Environment

- OS: 
- Nuclei: 
- Go:

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions