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

Increase service probes max line length #2803

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

Conversation

liquidpele
Copy link

@liquidpele liquidpele commented Mar 15, 2024

Increase the max line length in nmap-service-probes, add a more clear error when that limit is hit.

When adding a custom probe, we hit the max line length, but got a different error:

Parse error on line %d of nmap-service-probes -- no ending delimiter for probe string

This was confusing as we did format it correctly. This change increases the max line length allowed, and adds a specific error for the case where a line is longer than the allowed buffer.

edit: Note, this was not an issue for UDP open port detection in 7.93 as the nmap-payloads file did not have such a limitation, but having a custom probe added previously is currently not possible in 7.94 due to this.

Increase the max line length in nmap-service-probes, add a more clear error when that limit is hit.
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.

None yet

1 participant