Skip to content

Nmap protocol detection plugin port sanitization  #33

@acarnage

Description

@acarnage

Hello,

I noticed a problem in the Nmap plugin. The parsed port may contains spaces that could result in formating problems in other plugins.

The parsed value has to be cleaned, the following code makes the work for me :

parsedPort := strings.TrimSpace(portInfoSplit[0])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions