lefayjey / linWinPwn

linWinPwn is a bash script that streamlines the use of a number of Active Directory tools
MIT License
1.83k stars 266 forks source link

Please ensure netexec is installed and try again... #29

Closed KreativeNerd closed 1 month ago

KreativeNerd commented 2 months ago

I am getting "Please ensure netexec is installed and try again..." error. My netexec is running perfectly. I have check the paths and .zshrc file yet everything seems to be set correctly. All these are shown in the image below: ┌──(kali㉿Smart-Hacker)-[~] └─$ echo $PATH /home/kali/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/home/kali/go/bin:/home/kali/.local/bin

┌──(kali㉿Smart-Hacker)-[~] └─$ echo $SHELL
/usr/bin/zsh

┌──(kali㉿Smart-Hacker)-[~] └─$ nano .zshrc

Created by pipx on 2024-09-05 07:02:47. This is from .zshrc file

export PATH="$PATH:/home/kali/.local/bin"

┌──(kali㉿Smart-Hacker)-[~] └─$ nano .bashrc This is from .bashrc file. I added this one manually export PATH=$PATH:/home/kali/.local/bin

What could now be the issue? image

image

lefayjey commented 2 months ago

Hello

Can you try running linWinPwn without sudo? It's possible it's not finding netexec as it's installed under the context of the user Kali

Thanks