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

Fixes issue #4 (Nmap XML format changed) #5

Merged
merged 1 commit into from Jan 25, 2013

Conversation

bonsaiviking
Copy link
Contributor

From the Nmap changelog:

o In XML output, "osclass" elements are now child elements of the
  "osmatch" they belong to. Old output was thus (we're using square
  brackets instead of angle brackets in this CHANGELOG entry to avoid
  html escaping problems:
    [os][osclass/][osclass/]...[osmatch/][osmatch/]...[/os]
  New output is:
    [os][osmatch][osclass/][osclass/]...[/osmatch]...[/os]
  The option --deprecated-xml-osclass restores the old output, in case
  you use an Nmap XML parser that doesn't understand the new
  structure. The xmloutputversion has been increased to 1.04.

This commit can handle both new and old formats, and does not change the Nmap-Parser API at all.

@apersaud apersaud merged commit 57a6c16 into modernistik:master Jan 25, 2013
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

2 participants