GithubHelp home page GithubHelp logo

watcher's People

Contributors

catalyst256 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

watcher's Issues

create-profile fails

Complains of "dist must be a Distribution instance"

Installing in Kali.

root@kali:~/Watcher/src# canari create-profile Watcher -w /root/Watcher/src/
Looking for transforms in Watcher.transforms...
Package loaded.
Creating profile /root/Watcher/src/Watcher.mtz...
Installing transform Watcher.v2.delete_db from Watcher.transforms.deletedb...
Traceback (most recent call last):
File "/usr/local/bin/canari", line 5, in
pkg_resources.run_script('canari==1.1', 'canari')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/EGG-INFO/scripts/canari", line 20, in
canari_main()
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/commands/framework.py", line 33, in func
return func(self.parser.parse_args(args
, namespace))
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/commands/common.py", line 67, in canari_main
opts.command_function(opts)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/commands/create_profile.py", line 54, in create_profile
transform_package.create_profile(opts.working_dir, current_dir)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/transform.py", line 316, in create_profile
self.install(install_prefix, mtz, configure)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/transform.py", line 241, in install
self._install_transforms(install_prefix, distribution)
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/transform.py", line 250, in _install_transforms
distribution.add_transform(prefix, 'Local', transform, server='Local')
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/pkgutils/maltego.py", line 326, in add_transform
os.path.join(get_bin_dir(),
File "/usr/local/lib/python2.7/dist-packages/canari-1.1-py2.7.egg/canari/commands/common.py", line 74, in get_bin_dir
d = install(Distribution())
File "/usr/lib/python2.7/distutils/cmd.py", line 59, in init
raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance
Writing transform set Watcher to /root/Watcher/src/Watcher.mtz...
Writing server Local to /root/Watcher/src/Watcher.mtz

Does Not appear to be a valid canari package

Hi Following you install instructions i receive this error:

Looking for transforms in Watcher...
Traceback (most recent call last):
File "/usr/local/bin/canari", line 4, in
import('pkg_resources').run_script('canari==3.0', 'canari')
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 744, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1499, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/canari-3.0-py2.7.egg/EGG-INFO/scripts/canari", line 22, in
canari_main()
File "/usr/local/lib/python2.7/dist-packages/canari-3.0-py2.7.egg/canari/commands/framework.py", line 33, in func
return func(self.parser.parse_args(args
, namespace))
File "/usr/local/lib/python2.7/dist-packages/canari-3.0-py2.7.egg/canari/commands/common.py", line 61, in canari_main
opts.command_function(opts)
File "/usr/local/lib/python2.7/dist-packages/canari-3.0-py2.7.egg/canari/commands/create_profile.py", line 57, in create_profile
transform_package = TransformDistribution(opts.package)
File "/usr/local/lib/python2.7/dist-packages/canari-3.0-py2.7.egg/canari/pkgutils/transform.py", line 68, in init
(self.name, self.name, e))
ImportError: Does not appear to be a valid canari package. Couldn't import the 'Watcher.transforms' package in 'Watcher'. Error message: cannot import name configure

You help would be gratefully received.

Failing to create db

When I try and create the db to interact with its failing.

Ive had a dig into the code, watcher.db obviously doesnt exist. I thought it maybe a permission error, but I have chmod 777 -R'ed the watcher file... still nothing. The transform interacts with the interface since it will switch monitor mode off, but it wont connect to the db.

Fails here:

con = lite.connect(watcher_db)

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.