sensepost / snoopy-ng

Snoopy v2.0 - modular digital terrestrial tracking framework
Other
429 stars 127 forks source link

Maltego fetchDrones error #5

Closed maximcherny closed 10 years ago

maximcherny commented 10 years ago

On Kali 1.0.7 - pristine distro and fresh snoopy-ng install.

When performing:

  1. Open Maltego
  2. Select 'Import Configuration'
  3. Choose 'snoopy_entities.mtz' from the transforms folder
  4. Drag the 'Base of Operations' entity from the Snoopy tab in the Palette menu onto a blank graph
  5. Right click, select Transforms, Select 'fetchDrones'
Traceback (most recent call last):
  File "fetchDrones.py", line 13, in <module>
    from transformCommon import *
  File "/media/psf/Home/Dev/snoopy-ng/transforms/transformCommon.py", line 80, in <module>
    s = select([proxs], and_(*filters))
NameError: name 'proxs' is not defined
maximcherny commented 10 years ago

This can occur if not using the default sqlite data store (e.g. MySQL). As per README, the data source for Maltego must also be reflected in:

snoopy_ng/transforms/db_path.conf

Since the default sqlite store is also available at the same time (created by install.sh), the db connection error checking in transformCommon.py passes regardless.

glennzw commented 10 years ago

Good point. The sqlite check will pass regardless, as if it doesn't exist, it will be created. We have to check for the presence of certain tables. Upon modifying db_path.conf did it work?

maximcherny commented 10 years ago

Yep, sure did. Perhaps, when running the drone an info message / warning / reminder could be displayed to the user if a custom data store is supplied. A nice to have more than anything really.

maximcherny commented 10 years ago

Closed #5