Fixed nmap interp

This commit is contained in:
emdee 2022-10-28 01:30:57 +00:00
parent 050588cb73
commit 8034aec25a

View file

@ -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