narkisr / nmap4j

A Java Nmap wrapper
Other
80 stars 59 forks source link

Adding support for multiple hostname per host #12

Closed narkisr closed 4 years ago

narkisr commented 4 years ago

This PR has a similar purpose to https://github.com/narkisr/nmap4j/pull/11 it uses the same approach as ports tag https://github.com/narkisr/nmap4j/blob/master/src/main/java/org/nmap4j/parser/NMapXmlHandler.java#L206 this keep all the tests green (ill probably add a test with a multiple hosts input file).

TheDropZone commented 4 years ago

@narkisr This works perfectly!

narkisr commented 4 years ago

Glad that it worked, cheers