Giter Club home page Giter Club logo

Comments (4)

savon-noir avatar savon-noir commented on June 22, 2024

error in parsing? nmap dtd defines scaninfo.type as required: see http://nmap.org/book/nmap-dtd.html

from python-libnmap.

Starow avatar Starow commented on June 22, 2024

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 -&#45;stats-every 1s -e wlan0 -n -PR -sP 192.168.30.0/24 -->
  4 <nmaprun scanner="nmap" args="/usr/bin/nmap -oX - -vvv -&#45;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.

Starow avatar Starow commented on June 22, 2024

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.

savon-noir avatar savon-noir commented on June 22, 2024

yep! needs to be corrected.

from python-libnmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.