mlsecproject / combine

Tool to gather Threat Intelligence indicators from publicly available sources
https://www.mlsecproject.org/
GNU General Public License v3.0
655 stars 171 forks source link

SANS produces padded data #43

Closed krmaxwell closed 10 years ago

krmaxwell commented 10 years ago

Which leads to things like:

Enriching 150.164.082.010
Traceback (most recent call last):
  File "combine.py", line 38, in <module>
    winnow('crop.json', 'crop.json', 'enrich.json')
  File "/home/kmaxwell/src/combine/winnower.py", line 122, in winnow
    ipaddr = IPAddress(addr)
  File "/home/kmaxwell/src/combine/venv/local/lib/python2.7/site-packages/netaddr/ip/__init__.py", line 307, in __init__
    'address from %r' % addr)
netaddr.core.AddrFormatError: failed to detect a valid IP address from u'150.164.082.010'