digital4rensics / Malformity

Malformity is a Maltego project based on the Canari framework for malicious binary and infrastructure research.
116 stars 35 forks source link

time_first error in pDNS transform #6

Closed krmaxwell closed 11 years ago

krmaxwell commented 11 years ago

Occasionally get the following error.

<MaltegoMessage><MaltegoTransformExceptionMessage><Exceptions><Exception>Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/canari-0.5-py2.7.egg/canari/commands/run_transform.py", line 102, in run
    MaltegoTransformResponseMessage()
  File "/usr/local/lib/python2.7/dist-packages/Malformity-1.0-py2.7.egg/Malformity/transforms/pDNS_IP2Domain.py", line 40, in dotransform
    first = data['time_first']
KeyError: 'time_first'
</Exception></Exceptions></MaltegoTransformExceptionMessage></MaltegoMessage>
digital4rensics commented 11 years ago

Fixed with latest commit. Thanks!