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

Nmap protocol detection plugin port sanitization #33

Open
acarnage opened this issue Apr 30, 2019 · 0 comments
Open

Nmap protocol detection plugin port sanitization #33

acarnage opened this issue Apr 30, 2019 · 0 comments

Comments

@acarnage
Copy link

acarnage commented Apr 30, 2019

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])

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

No branches or pull requests

1 participant