catalyst256 / watcher Goto Github PK
View Code? Open in Web Editor NEWMaltego with a twist of wireless
Maltego with a twist of wireless
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
Couldn't find index page for 'sqlite3' (maybe misspelled?)
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.