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 XML output has deviated from the DTD. #2494

Closed
ekelly-rapid7 opened this issue Jun 21, 2022 · 1 comment
Closed

Nmap XML output has deviated from the DTD. #2494

ekelly-rapid7 opened this issue Jun 21, 2022 · 1 comment
Labels

Comments

@ekelly-rapid7
Copy link

ekelly-rapid7 commented Jun 21, 2022

Describe the bug
Nmap XML output has deviated from the DTD.
Since dc238cf Nmap can sometimes print taskprogress without a remaining or etc attribute.
This deviates from the DTD here which describes these as required fields.

To Reproduce
Run a reasonable large or slow scan that outputs task progress before 1% completion.
Use XML output.

Expected behavior
The XML output should match the DTD.

Version info (please complete the following information):
Seen in 7.92, looks to have been introduced earlier.

Additional context
This breaks our XML parser, we've fixed by making these values optional on our end.
Perhaps the simpler change here is to change the DTD.

@fyodor
Copy link
Member

fyodor commented Jun 23, 2022

Thanks @ekelly-rapid7 . I'm adding this to the list of issues we hope to resolve for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants