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 #61

Closed
knowthetech opened this issue Jan 17, 2022 · 10 comments
Closed

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

knowthetech opened this issue Jan 17, 2022 · 10 comments

Comments

@knowthetech
Copy link

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

goroutine 1 [running]:
github.com/lc/gau/providers.NewCommonProvider(0xc00008e360, 0x0, 0x0, 0x0, 0x0)
/root/go/pkg/mod/github.com/lc/gau@v1.2.0/providers/common.go:45 +0x2ac
main.run(0xc00008e360, 0xc000206000, 0x369, 0x400)
/root/go/pkg/mod/github.com/lc/gau@v1.2.0/main.go:35 +0x98f
main.main()
/root/go/pkg/mod/github.com/lc/gau@v1.2.0/main.go:166 +0x7e5

@rotemreiss
Copy link

Same here on multiple machines.

@h4x0r-dz
Copy link

The same Issue here

@edoardottt
Copy link
Contributor

Same issue, latest version.

The problem is here, the length of r should be checked before accessing the first element.

@GDATTACKER-RESEARCHER
Copy link

Same issue, latest version.

The problem is here, the length of r should be checked before accessing the first element.

Do you have fixed code?

@rabahnaceri2020
Copy link

The same Issue here

did you fixed ?

@Salah6rz
Copy link

Same here :(

@lc
Copy link
Owner

lc commented Jan 17, 2022

Gah commoncrawl must have changed something. I’ll look into this

@lc
Copy link
Owner

lc commented Jan 17, 2022

This issue’s now fixed, please install the latest version using go install! Thanks for bringing this to my attention

@lc lc closed this as completed Jan 17, 2022
@knowthetech
Copy link
Author

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

goroutine 1 [running]:
github.com/lc/gau/v2/pkg/providers/commoncrawl.New(0x91082d0, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...})
/Users/cdl/go/src/github.com/lc/gau/pkg/providers/commoncrawl/commoncrawl.go:42 +0x1d9
github.com/lc/gau/v2/runner.(*Runner).Init(0x906a750, 0x91082d0, 0x9055cd4)
/Users/cdl/go/src/github.com/lc/gau/runner/runner.go:41 +0x523
main.main()
/Users/cdl/go/src/github.com/lc/gau/cmd/gau/main.go:35 +0x2db
┌─[✗]─[gdattacker@gdattacker]─[~/Desktop]
└──╼ $./gau --version
gau version: 2.0.6

not seems fixed yet bro updated just now

@GDATTACKER-RESEARCHER
Copy link

This issue’s now fixed, please install the latest version using go install! Thanks for bringing this to my attention

Not fixed yet bro

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

8 participants