Nmap Development mailing list archives
Bug report | error in xml output file
From: I <youlostthegame () protonmail com>
Date: Tue, 17 May 2016 08:25:25 -0400
Hi! I run nmap 7.12 on ubuntu 12.04 (i686). Scan over 1.5k host and output to file. Example command `nmap -A -Pn -Sv -iL in.txt -oX nmap_output.xml`. If scan ok, i want to parse xml, but xml generate with error.
~/Desktop [ chidley -G nmap_output.xml ] 3:13 2016/05/17 15:13:39 extractor.go:56: XML syntax error on line 1000: unescaped < inside quoted string 2016/05/17 15:13:39 chidley.go:142: FATAL ERROR: XML syntax error on line 1000: unescaped < inside quoted string
Look up 1000 string
~/Desktop [ sed -n "1000p" gnmap_output.xml ] 3:13 <address addr="*.*.*.*" addrtype="ip<host starttime="1463472789" endtime="1463473357"><status state="up" reason="user-set"/>
I think `addrtype="ip` need close quote. Also, i not see this bug if scan small count hosts, ~ 200. Sorry for my bad english. Regards.
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Bug report | error in xml output file I (May 18)
- Re: Bug report | error in xml output file David Fifield (May 18)