Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Message: cannot import name cookie #14

Open
Widdershinns opened this issue Dec 27, 2016 · 4 comments
Open

Error Message: cannot import name cookie #14

Widdershinns opened this issue Dec 27, 2016 · 4 comments

Comments

@Widdershinns
Copy link

Clarification of Issue*
OS = Kali rolling 2016.2

"with all pre-req's installed*"

pip install canari
pip install sploitego
canari create-profile sploitego

receives the following error;

Looking for transforms in sploitego...
Traceback (most recent call last):
File "/usr/local/bin/canari", line 22, in
canari_main()
File "/usr/local/lib/python2.7/dist-packages/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/commands/common.py", line 60, in canari_main
opts.command_function(opts)
File "/usr/local/lib/python2.7/dist-packages/canari/commands/create_profile.py", line 57, in create_profile
transform_package = TransformDistribution(opts.package)
File "/usr/local/lib/python2.7/dist-packages/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 'sploitego.transforms' package in 'sploitego'. Error message: cannot import name cookie

@n-collery
Copy link

Identical problem on Mac OS 10.12.5, python 2.7.13, latest canari 3.1.3 and sploitego install, both from pip and from git (clone).

$ canari create-profile sploitego
Looking for transforms in sploitego...
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/canari", line 4, in
import('pkg_resources').run_script('canari==3.1.3', 'canari')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 1500, in run_script
exec(code, namespace, namespace)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/canari-3.1.3-py2.7.egg/EGG-INFO/scripts/canari", line 22, in
canari_main()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/canari-3.1.3-py2.7.egg/canari/commands/framework.py", line 33, in func
return func(self.parser.parse_args(args
, namespace))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/canari-3.1.3-py2.7.egg/canari/commands/common.py", line 61, in canari_main
opts.command_function(opts)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/canari-3.1.3-py2.7.egg/canari/commands/create_profile.py", line 57, in create_profile
transform_package = TransformDistribution(opts.package)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/canari-3.1.3-py2.7.egg/canari/pkgutils/transform.py", line 69, in init
(self.name, self.name, e))
ImportError: Does not appear to be a valid canari package. Couldn't import the 'sploitego.transforms' package in 'sploitego'. Error message: cannot import name cookie

@captainhowdy1
Copy link

Was any workaround or solution found to this issue? I am still having the same issue.

@allfro
Copy link
Owner

allfro commented Jul 24, 2018 via email

@captainhowdy1
Copy link

captainhowdy1 commented Jul 25, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants