g0ldencybersec / EasyEASM

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

Path in the EASM executable file not accessing the Git repository #13

Open Merrci opened 8 months ago

Merrci commented 8 months ago

Hi,

I have a slight issue when running the EasyEASM tool.

When I run the command .\easyeasm I get the error below: Screenshot 2024-01-30 105519

Panic: exit status 2 goroutine 20 [running]: github.com/g0ldencybersec/EasyEASM/pkg/passive/amass.RunAmass({0xc0000a8a28, 0x6}, 0x0?, 0x0?) /home/mercy/go/pkg/mod/github.com/g0ldencybersec/!easy!e!a!s!m@v1.0.6/pkg/passive/amass/amass.go:26 +0x411 created by github.com/g0ldencybersec/EasyEASM/pkg/passive.(*PassiveRunner).RunPassiveEnum in goroutine 1 /home/mercy/go/pkg/mod/github.com/g0ldencybersec/!easy!e!a!s!m@v1.0.6/pkg/passive/passive.go:27 +0xcc

if you put "github.com/g0ldencybersec/EasyEASM/pkg/passive/amass" in the browser, the path returns 404

But

this is the link you get when you go through the github "github.com/g0ldencybersec/EasyEASM/tree/main/pkg/passive/amass"

It seems the link in the executable file needs to include "tree/main" before the "pkg".

Thank you and I look forward to your response.

d4rk30 commented 5 months ago

Check to see if the bin directory in your go env environment contains the oam_subs tool

d4rk30 commented 5 months ago

I have just submitted a new fix that should resolve such dependency issues and await merging