Veil icon indicating copy to clipboard operation
Veil copied to clipboard

please help just installed Veil and tryring to run Veil.py each time this comesup "import tool as ordnance_import ModuleNotFoundError: No module named 'tool'"

Open molaxy opened this issue 4 years ago • 3 comments

Veil version

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

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)

Expected behavior

Any additional info you want to tell me

molaxy avatar Jun 29 '21 11:06 molaxy

Version Veil 3.1.X Os Win 10 How did you install Veil? (Apt, Clone from Github, etc.) Yes after runing config. then try to run Veil.py runing Veil.py saying :Traceback (most recent call last): File "/var/Veil/./Veil.py", line 98, in the_conductor = orchestra.Conductor(args) File "/var/Veil/lib/common/orchestra.py", line 29, in init self.load_tools(cli_stuff) File "/var/Veil/lib/common/orchestra.py", line 74, in load_tools module = helpers.load_module(name) File "/var/Veil/lib/common/helpers.py", line 172, in load_module spec.loader.exec_module(module) File "", line 790, in exec_module File "", line 228, in _call_with_frames_removed File "tools/evasion/tool.py", line 15, in from tools.evasion.evasion_common import shellcode_help File "/var/Veil/tools/evasion/evasion_common/shellcode_help.py", line 29, in import tool as ordnance_import ModuleNotFoundError: No module named 'tool'

Please help

molaxy avatar Jun 29 '21 16:06 molaxy

Bahasa Indonesia Please

Zero23092005 avatar Feb 07 '22 03:02 Zero23092005

I had this issue and I solved it by changing the following line 29 of the file shellcode_help.py and replacing it with full path of the directory: sys.path.insert(0, settings.VEIL_PATH +'/tools/ordnance') sys.path.insert(0, '/home/kali/Veil/tools/ordnance')

alwaysfailed avatar Mar 06 '22 17:03 alwaysfailed