allfro / sploitego

Maltego Penetration Testing Transforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Couldn't import the 'sploitego.transforms' package in 'sploitego'. Error message: No module named pcapy

freetest opened this issue · comments

Mac:pentest www$ canari install-package sploitego
Multiple versions of Maltego detected:
[0] Maltego v1.0.1CaseFileCE
[1] Maltego v3.4.0
[2] Maltego v3.4.0CE
Please select which version you wish to use [0]: 1
Looking for transforms in sploitego.transforms
Does not appear to be a valid canari package. Couldn't import the 'sploitego.transforms' package in 'sploitego'. Error message: No module named pcapy

i really installed pcapy.

Mac:~ www$ port installed | grep pcapy
py-pcapy @0.10.5_0 (active)
py24-pcapy @0.10.5_0 (active)
py26-pcapy @0.10.5_0 (active)
py27-pcapy @0.10.5_0 (active)

need your help.

Hi @freetest

Make sure you use pylibpcap as specified in the scapy documentation. You'll want to take a look at all the requirements for scapy from here: http://www.secdev.org/projects/scapy/doc/installation.html. Make sure you follow the instructions there and you should be good on the requirements front. Also, I noticed you're using homebrew or macports. You'll want to ensure that the python interpreter being launched by root is the same as the one being launched by the regular user. You can do this by doing which python and sudo which python. If you see a different output in the sudo'd version that means you are invoking a different python interpreter with a different path that doesn't have all the requirements installed in its site-path. A simple fix would be to reorder your PATH variable in root to have the PATH of the macports python interpreter come up first. Hope this helps!

Cheers,

Nadeem

Looks like you've misspelled sploitego. It says sploitgeo above.

@allfro sorry

i't can't work on tungsten ce 3.4.1?

i work is on 3.1.1 is ok.

qq20131213-2

qq20131213-1

qq20131213-3

Hi @freetest

You need to use the create-profile command for tungsten and manually import the generated .mtz file. Please ensure you have the latest version of Canari installed.

Cheers

Nadeem.

Use canari create-profile sploitego and then import the sploitego.mtz file in Tungsten.

That's a different command that does a completely different function. You want create-profile not create-package

@allfro
thanks very much, i got it .

@allfro

thanks, very much. i got it

Would you mind sending me the sploitego.mtz file? It seems that my canari doesn't have the create-profile command.