Comments (4)
error in parsing? nmap dtd defines scaninfo.type as required: see http://nmap.org/book/nmap-dtd.html
from python-libnmap.
when I read nm.stdout
The attribute scaninfo is missing:
But actually I found the problem:
http://seclists.org/nmap-dev/2005/q1/77
Beggining:
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="file:///usr/bin/../share/nmap/nmap.xsl" type="text/xsl"?>
3 <!-- Nmap 6.40 scan initiated Wed Apr 22 09:19:18 2015 as: /usr/bin/nmap -oX - -vvv --stats-every 1s -e wlan0 -n -PR -sP 192.168.30.0/24 -->
4 <nmaprun scanner="nmap" args="/usr/bin/nmap -oX - -vvv --stats-every 1s -e wlan0 -n -PR -sP 192.168.30.0/24" start="1429687158" startstr="Wed Apr 22 09:19:18 2015" version="6.40" xmloutputversion="1.04">
5 <verbose level="3"/>
6 <debugging level="0"/>
7 <taskbegin task="ARP Ping Scan" time="1429687158"/>
8 <taskprogress task="ARP Ping Scan" time="1429687159" percent="21.09" remaining="4" etc="1429687163"/>
9 <taskprogress task="ARP Ping Scan" time="1429687160" percent="38.48" remaining="4" etc="1429687163"/>
10 <taskprogress task="ARP Ping Scan" time="1429687161" percent="58.01" remaining="3" etc="1429687163"/>
11 <taskprogress task="ARP Ping Scan" time="1429687162" percent="88.09" remaining="1" etc="1429687163"/>
12 <taskend task="ARP Ping Scan" time="1429687163" extrainfo="256 total hosts"/>
13 <host><status state="down" reason="no-response" reason_ttl="0"/>
14 <address addr="192.168.30.0" addrtype="ipv4"/>
15 </host>
from python-libnmap.
Are you going to consider it as a bug? Because when the scaninfo is missing it's impossible to make a diff between two reports :)
from python-libnmap.
yep! needs to be corrected.
from python-libnmap.
Related Issues (20)
- Issue parsing NSE output from xml HOT 3
- parsing hostnames should return the type of the hostname detected i.e user or PTR HOT 2
- Project still alive? Wrong XML structure: cannot parse data HOT 7
- CC-BY Licence is not recommended for code - should move to an equivalent OSS licence HOT 2
- parser detect if xml is incomplete
- Install fails on windows 10 due to characer encoding issue in README.rst HOT 1
- Script results may contain "None" dict keys HOT 2
- handle the <hosthint> xml tag
- Running with sudo without passwordless setup hangs
- Release of 0.7.3 HOT 4
- Any plan to fix CVE-2022-30284 [Critical] - python-libnmap 0.7.2 ? HOT 3
- Does python-libnmap library require "nmap" binary to be installed? HOT 2
- Syntax for printing the vulnerblities
- Python 2 compatibility
- Future maintenance of this project
- XML Injection DoS attack HOT 5
- Multiprocess nmap problem. HOT 2
- Basic indentation/syntax errors in 3.6? HOT 4
- Require overriding of nmap arguments
- process.py returns 'Object has no attribute Format' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-libnmap.