import error when running veil after fresh install (and workaround) #135
Comments
I don't know if that is the latest version, it likely isn't. THe best way to install Veil is from cloning this git repo and installing. I would try that. TO be honest, I have no idea how it will work with the files also installed from apt on there. |
Sorry, kinda new to all this, not sure how to do this? Literally having the same error.. |
Python comments are any lines starting with a hash, so open the file ("/usr/share/veil/Tools/Evasion/evasion_common/shellcode_help.py"), go to line 30, put a # at the very start of the line, and save it. Does that help? |
I had the same problem using Kali.
Commented out line 30, and all works as expected. I don't know the cause, but thanks for the solution. |
Did all of you install Veil, at some point, via apt and not via cloning this repo? I can't seem to recreate this, but I also only installed via cloning this repo. |
Installed it via apt |
I'm going to close this for now since there seems to be a workaround. I think this issue might only exist when you install via apt (and might still persist even if then installed via git clone). But if others encounter this error, I'd like for them to see the workaround. |
@ChrisTruncer - commenting out line 30 as per above may be ok on the Evasion tools but it breaks the Ordnance leg...figures really as the code relates to Ordnance tools. Btw, I cannot get Veil to install successfully via git clone on Kali 2017.2 in a VirtualBox VM. It goes all the way to 'Done' but doesn't launch itself...and when I type veil into a terminal it tells me command not found. if I go the apt-get route I get a working veil (after commenting out line 30). It says it is version 3.1.1. |
ps. Got git clone working now...problem between chair and keyboard :-) |
|
Makes sense. Thanks. |
@dmknght Thank you it works |
Thank you, It works. |
I downloaded it using apt-get install veil and then type veil in terminal and the setup ran without any errors |
Traceback (most recent call last): |
Veil version
3.1.1
OS Used - all info (architecture, linux flavor, etc)
Kali (kali-rolling)
How did you install Veil? (Apt, Clone from Github, etc.)
apt-get
Did you run the setup script?
yes
Pastebin link to error you are encountering (include console actions you took prior to error)
#veil
Traceback (most recent call last):
File "./Veil.py", line 95, in
the_conductor = orchestra.Conductor(args)
File "/usr/share/veil/lib/common/orchestra.py", line 23, in init
self.load_tools(cli_stuff)
File "/usr/share/veil/lib/common/orchestra.py", line 65, in load_tools
name.replace("/", ".").rstrip('.py'), name)
File "/usr/lib/python3.5/imp.py", 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/Tool.py", line 16, in
from Tools.Evasion.evasion_common import shellcode_help
File "/usr/share/veil/Tools/Evasion/evasion_common/shellcode_help.py", 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 shellcode_help.py 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.
The text was updated successfully, but these errors were encountered: