Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

cant start Veil #195

Closed
slavadba opened this issue Apr 16, 2018 · 17 comments
Closed

cant start Veil #195

slavadba opened this issue Apr 16, 2018 · 17 comments

Comments

@slavadba
Copy link

Veil version

dont now because cant start veil - see error below, but I think it should be latest - I tried install Veil yesterday.

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

Linux kali 4.14.0-kali3-amd64 #1 SMP Debian 4.14.12-2kali1 (2018-01-08) x86_64 GNU/Linux

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

apt -y install veil
veil --setup

Did you run the setup script?

yes.

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

root@kali:/usr/share/veil# ./Veil.py
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.6/imp.py", line 172, in load_source
module = _load(spec)
File "", line 684, in _load
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, 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'
root@kali:/usr/share/veil#

Expected behavior

start veil

Any additional info you want to tell me

@g0tmi1k
Copy link
Contributor

g0tmi1k commented Apr 18, 2018

Once #189 is merged, I suggest re-trying.

@slavadba
Copy link
Author

"I suggest re-trying" - its means - remove Veil dir and make the installation from the very beginning?
Or I can instrall only changes by running several commands ( and if yes could you suggest these commands please )?

@g0tmi1k
Copy link
Contributor

g0tmi1k commented Apr 19, 2018

You said:

How did you install Veil? (Apt, Clone from Github, etc.)
apt -y install veil
veil --setup

So re-trying for you would be:

apt --purge remove -y veil
apt install -y veil
veil

@n1ghty93
Copy link

Same Problem here.
Git and APT everything is throwing the same errors. Any workarounds?
Kali everything updated and installed

@g0tmi1k
Copy link
Contributor

g0tmi1k commented Apr 19, 2018

@n1ghty93 Until #189 is merged in, either:

@n1ghty93
Copy link

So ill need to purge veil, clone the git? or isnt it in there, too?

@g0tmi1k
Copy link
Contributor

g0tmi1k commented Apr 19, 2018

Best just to wait.

@n1ghty93
Copy link

I would but i cant i need it for work :D

@slavadba
Copy link
Author

I reinstall Veil using this commands
apt --purge remove -y veil
apt install -y veil
veil

but the error the same:
.
.
.
[*] Settings already detected... Skipping...

[I] If you have any errors running Veil-Evasion, delete the Veil Wine profile ('rm -rf /root/.config/wine/veil') and re-run: '/usr/share/veil/setup/setup.sh -c'

[I] Done!

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.6/imp.py", line 172, in load_source
module = _load(spec)
File "", line 684, in _load
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, 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'
root@kali:~#

@g0tmi1k
Copy link
Contributor

g0tmi1k commented Apr 23, 2018

Merged!
Could you update Veil and re-test with v3.1.6?

@slavadba
Copy link
Author

I made

apt --purge remove -y veil
apt install -y veil
veil

and got the same mistakes.

questions: on which OS version 3.1.6 solved the problems described in this topic?
why you can not download Kali, reproduce the problem - and repair it?

@g0tmi1k
Copy link
Contributor

g0tmi1k commented Apr 29, 2018

The package in Kali is v3.1.1
So until the package is updated, installing via apt-get will always give the same error. The Kali package should hopefully be updated in the next week or so.
The Kali package is out of @ChrisTruncer 's hand. Which is why he can't just repair it.
And why there isn't an OS you can download with it all setup.

You need to use git clone to install the latest (at this time of writing, v3.1.6). See the README for how.

Options are:

@slavadba
Copy link
Author

slavadba commented May 2, 2018

I install using git clone - and its fix the issue, thank you very much!

@slavadba slavadba closed this as completed May 2, 2018
@dela-dee
Copy link

i am getting this error whenever i run veil can someone assist me.

Traceback (most recent call last):
File "./Veil.py", line 16, in
from lib.common import helpers
File "/usr/share/veil/lib/common/helpers.py", line 22, in
if not os.path.exists( settings.GOLANG_PATH ):
AttributeError: module 'settings' has no attribute 'GOLANG_PATH'

@g0tmi1k
Copy link
Contributor

g0tmi1k commented Aug 22, 2018

And thats off-topic @dela-dee . Need todo a new issue

@jaaabir
Copy link

jaaabir commented Jul 10, 2020

i am getting this error whenever i run veil can someone assist me.

Traceback (most recent call last):
File "./Veil.py", line 16, in
from lib.common import helpers
File "/usr/share/veil/lib/common/helpers.py", line 22, in
if not os.path.exists( settings.GOLANG_PATH ):
AttributeError: module 'settings' has no attribute 'GOLANG_PATH'


for those of you who have that above error for veil then the solution is to manually install go by following the steps from https://tzusec.com/how-to-install-golang-in-kali-linux/ .

Then after successfully installing it,locate where the veil.py , helpers.py and settings.py
(i guess they all will be in veil dir itself) .

next go to settings.py dir and nano settings.py and then enter

GOLANG_PATH = "path to the go lang"

finally save all those 3 py files.

maybe once again when you run veil it may show error and if it did enter the command

/usr/share/veil/config/setup.sh --force --silent

and after this setup it'll work once you run veil again.

@AdityaRed
Copy link

Traceback (most recent call last):
File "/opt/Veil/./Veil.py", line 10, in
from lib.common import orchestra
File "/opt/Veil/lib/common/orchestra.py", line 7, in
import readline
ModuleNotFoundError: No module named 'readline'

I am getting this error whenever I try to run veil

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

No branches or pull requests

7 participants
@g0tmi1k @n1ghty93 @slavadba @dela-dee @jaaabir @AdityaRed and others