Nmap Development mailing list archives
Ndiff Bug found and fixed
From: dlucci () purdue edu
Date: Thu, 21 Jan 2010 17:59:59 -0500
Hi,
My name is Derril Lucci. I am a Senior in Computer Science at Purdue
University. I found a bug in ndiff. The bug is that it crashes if a file does
not exist. It occurs at in the Scan.load_from_file method. I have included the
corrected code.
def load_fro_file(self, filename):
""Load a scan from the Nmap XML file with the given filename.""
try:
f = open(filename, "r")
self.load(f)
f.close()
except IOError:
print u'Could not open', filename, u'.'
sys.exit(1)
Thank you,
Derril Lucci
C: (617)688-6188
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
Current thread:
- Ndiff Bug found and fixed dlucci (Jan 21)
- Re: Ndiff Bug found and fixed David Fifield (Jan 25)
