Fixed nmap interp
This commit is contained in:
parent
050588cb73
commit
8034aec25a
@ -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 New Issue
Block a user