g0ldencybersec / EasyEASM

Zero-dollar attack surface management tool
MIT License
249 stars 35 forks source link

i can´t run #8

Closed v4ld3r closed 10 months ago

v4ld3r commented 1 year ago

Can you help me with this error?

1

th3-beard commented 1 year ago

Receiving the same error. Running this in Ubuntu 20.04 with golang 1.20.7

All tools are installed, and I can run them by typing "amass" "subfinder" etc. I have all paths in my .profile file for AWS Lightsail Ubuntu

Screenshot 2023-09-05 at 11 40 46 AM
g0ldencybersec commented 1 year ago

So this is definitely an issue with the GOBIN not being in the path properly. For @th3-beard , I wonder if on LightSail there is a certain way to make sure your .profile is actually being loaded? Maybe it is not being loaded at runtime or something it is hard to say from my end. I would check where easyeasm downloaded the tools and make sure it aligns with your .profile file. Then double check it is actually being used. Otherwise hit me up and we can maybe walk through stuff together, because I would have to actually see it to help more I think.

For @v4ld3r, I am going to guess you just need to set up your GOBIN in your path. It looks like you are operating as root, and that is the user that you are using Go with too. So you would have to add "/root/go/bin" to your PATH just like when you added the GOPATH. :)

arnaudcharles commented 11 months ago

Hello, I had the same issue as @th3-beard. The error was : panic: exec: "subfinder": executable file not found in $PATH To solve it : 1) go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest 2) export PATH=$PATH:$GOBIN 3) run ./easyeasm without any issues

Thanks @g0ldencybersec for this tool !

g0ldencybersec commented 10 months ago

I am closing this, but BE ADVISED that if you use kali linux, some of these binaries come preinstalled with the wrong stuff. Either the old python version of certain tools among other things :) So I would clear those out. Then the tool will install the correct ones!