SolvedVeil import error when running veil after fresh install (and workaround)

Veil version


OS Used - all info (architecture, linux flavor, etc)

Kali (kali-rolling)

How did you install Veil? (Apt, Clone from Github, etc.)


Did you run the setup script?


Pastebin link to error you are encountering (include console actions you took prior to error)

Traceback (most recent call last):
File "./", line 95, in
the_conductor = orchestra.Conductor(args)
File "/usr/share/veil/lib/common/", line 23, in init
File "/usr/share/veil/lib/common/", line 65, in load_tools
name.replace("/", ".").rstrip('.py'), name)
File "/usr/lib/python3.5/", line 172, in load_source
module = _load(spec)
File "", line 693, in _load
File "", line 673, in _load_unlocked
File "", line 697, in exec_module
File "", line 222, in _call_with_frames_removed
File "Tools/Evasion/", line 16, in
from Tools.Evasion.evasion_common import shellcode_help
File "/usr/share/veil/Tools/Evasion/evasion_common/", line 30, in
import Tools.Ordnance.Tool as Ordnance_Import
AttributeError: module 'Tools.Ordnance' has no attribute 'Tool'

Expected behavior

veil starts

Any additional info you want to tell me

Not sure if I just installed it badly? Everything seemed fine during the install though...
Commenting out line 30 in lets it run, and i've since successfully generated a file using the evasion module, so that seems to be a working fix for anyone who runs into the same issue.

16 Answers

✔️Accepted Answer

File "/usr/share/veil/Tools/Evasion/evasion_common/", line 30
import Tools.Ordnance.Tool as Ordnance_Import
Edit it to
from Tools.Ordnance import Tool as Ordnance_Import
It worked for me.
p/s: I am using Parrot Sec OS 3.10, I installed veil from apt

Related Issues:

Veil Can't find the WINE profile for AuotIT v3
Confirmed on Ubuntu 16.04.5 To give an easy copy-pastable fix for others I try to install Veil and a...
Veil import error when running veil after fresh install (and workaround)
File /usr/share/veil/Tools/Evasion/evasion_common/ Veil version 3.1.1 OS Used - all...
Veil Veil Installation error Failed to run (wine) Python pip pefile... Exit code: 1
Seems to do the trick for python 3.4 As per @ashr comment changing the installed pefile version fixe...
docker mailserver Impossible to relay to port 465
I've been learning about SMTP lately and trying to get my head around the ports security and general...
docker mailserver -
@wernerfred If -c is not used the container name is auto detected No description provided. ...