Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: index out of range [0] with length 0 #979

Open
DuyVuong opened this issue Oct 19, 2023 · 0 comments
Open

panic: runtime error: index out of range [0] with length 0 #979

DuyVuong opened this issue Oct 19, 2023 · 0 comments

Comments

@DuyVuong
Copy link

im getting this error when executing this basic command

(root㉿kali)-[~]
└─# amass enum -d example.com
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/owasp-amass/resolve.(*Resolvers).ClientSubnetCheck(0xc0003b0000)
/build/amass-OqngEC/amass-4.2.0/build/pkg/mod/github.com/owasp-amass/resolve@v0.6.21/ecs.go:38 +0x466
github.com/owasp-amass/amass/v4/systems.untrustedResolvers(0xc000454000)
/build/amass-OqngEC/amass-4.2.0/systems/local.go:337 +0x1c5
github.com/owasp-amass/amass/v4/systems.NewLocalSystem(0xc000454000)
/build/amass-OqngEC/amass-4.2.0/systems/local.go:51 +0x65
main.runEnumCommand({0xc0000400a0?, 0xc000040090?, 0xc0003ba3c0?})
/build/amass-OqngEC/amass-4.2.0/cmd/amass/enum.go:167 +0x348
main.main()
/build/amass-OqngEC/amass-4.2.0/cmd/amass/main.go:110 +0x2f2

┌──(root㉿kali)-[~]
└─# amass -version
v4.2.0

how can i fix this? Thanks

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

No branches or pull requests

1 participant