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

ZoomEye - If added togheter with other engines, sometimes fail with the same error #219

Closed
AeonDave opened this issue May 18, 2023 · 6 comments · Fixed by #228
Closed

ZoomEye - If added togheter with other engines, sometimes fail with the same error #219

AeonDave opened this issue May 18, 2023 · 6 comments · Fixed by #228
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@AeonDave
Copy link

AeonDave commented May 18, 2023

When performing multiple searches using the -e zoomeye command along with other search engines, an error occasionally occurs with the following panic message:

panic: interface conversion: interface {} is string, not float64
goroutine 58 [running]:
github.com/projectdiscovery/uncover/uncover/agent/zoomeye.(*Agent).query(0x0?, {0x1286f8b?, 0x0?}, 0x0?, 0x0?, 0x0?)
	/home/runner/work/uncover/uncover/uncover/agent/zoomeye/zoomeye.go:94 +0x4e5
github.com/projectdiscovery/uncover/uncover/agent/zoomeye.(*Agent).Query.func1()
	/home/runner/work/uncover/uncover/uncover/agent/zoomeye/zoomeye.go:42 +0x10b
created by github.com/projectdiscovery/uncover/uncover/agent/zoomeye.(*Agent).Query
	/home/runner/work/uncover/uncover/uncover/agent/zoomeye/zoomeye.go:31 +0xcc

uncover version:

1.0.3

Steps To Reproduce:

-r -silent -e shodan,censys,zoomeye -q "apache"

Note that this issue occurs intermittently, not consistently with every search.

@AeonDave AeonDave added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 18, 2023
@bongobongoland
Copy link

have you tried 1.0.4?

@Paradigm00
Copy link

with 1.0.4 -r and -j are broken so i cannot replicate the same behaviour.
response with -r -silent -e shodan,zoomeye -q "apache" is a blank line

@notwhy
Copy link

notwhy commented May 24, 2023

I also found some wired question when use zoomeye on the new verison1.0.4 . that would cause Inconsistent results.
for example:
uncover -shodan "ssl:aaa.com" -zoomeye "ssl:aaa.com +ssl.cert.availability:1"
it will ignore the +ssl.cert.availability:1 options and will found more garbage data.

but if i run -zoomeye "ssl:aaa.com +ssl.cert.availability:1" alone.
it would be right.

@dogancanbakir
Copy link
Member

dogancanbakir commented May 31, 2023

@AeonDave @Paradigm00 Fortunately, I could reproduce the issue, and I'm hopeful #228 will resolve it.

@ehsandeep ehsandeep linked a pull request May 31, 2023 that will close this issue
@ehsandeep ehsandeep added the Status: In Progress This issue is being worked on, and has someone assigned. label May 31, 2023
@dogancanbakir
Copy link
Member

@notwhy

uncover -shodan "ssl:aaa.com" -zoomeye "ssl:aaa.com +ssl.cert.availability:1"
it will ignore the +ssl.cert.availability:1 options and will found more garbage data.

It looks like you're using the Multiple query against multiple search engine feature, which can run multiple queries against various providers. In your example, it's searching for the queries "ssl:aaa.com" and "ssl:aaa.com +ssl.cert.availability:1" on both shodan and zoomeye.

@ehsandeep ehsandeep added Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Status: In Progress This issue is being worked on, and has someone assigned. labels May 31, 2023
@ehsandeep
Copy link
Member

Fixed in latest release - https://github.com/projectdiscovery/uncover/releases/tag/v1.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants