Fixed nmap interp
This commit is contained in:
parent
050588cb73
commit
8034aec25a
1 changed files with 2 additions and 1 deletions
|
@ -733,7 +733,8 @@ def lParseNapOutput(sFile):
|
||||||
lRet = []
|
lRet = []
|
||||||
for sLine in open(sFile, 'rt').readlines():
|
for sLine in open(sFile, 'rt').readlines():
|
||||||
if sLine.startswith('Failed to resolve ') or \
|
if sLine.startswith('Failed to resolve ') or \
|
||||||
'Temporary failure in name resolution' in sLine:
|
'Temporary failure in name resolution' in sLine or \
|
||||||
|
'/udp closed' in sLine '/tcp closed' in sLine:
|
||||||
lRet += [sLine]
|
lRet += [sLine]
|
||||||
return lRet
|
return lRet
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue