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

run go-exploitdb.exe fetch githubrepos error #159

Closed
topsekadmin opened this issue Sep 7, 2023 · 1 comment
Closed

run go-exploitdb.exe fetch githubrepos error #159

topsekadmin opened this issue Sep 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@topsekadmin
Copy link

topsekadmin commented Sep 7, 2023

.\go-exploitdb.exe fetch githubrepos
INFO[09-07|17:27:46] Fetching GitHub Repos Exploit
Failed to fetch GitHubRepo Exploit. err: error in pocsrc clone or pull: Failed to pull repository: Failed to open repository: repository does not exist

.\go-exploitdb.exe fetch inthewild
INFO[09-07|18:03:42] Fetching inTheWild Poc Exploit
Failed to fetch InTheWild Exploit. err: Failed to fetch inTheWild DB. err: HTTP error. url: https://github.com/gmatuz/inthewilddb/blob/master/inthewild.db?raw=true, err: []

image

@topsekadmin topsekadmin added the bug Something isn't working label Sep 7, 2023
@MaineK00n
Copy link
Collaborator

@topsekadmin

Sorry for the late reply.

What version of go-exploitdb.exe are you using?
Judging from the fetch destination of inthewild, there is a high possibility that you are using an old one.
Even with the latest version, check if fetch fails in the same way.

Fetch using the latest CI at the time of comment was successful for both githubrepos and inthewild.
https://github.com/vulsio/go-exploitdb/actions/runs/6306470358

I am also successful in fetching in my environment.

$ go-exploitdb version
go-exploitdb v0.4.5 9898d2c

$ go-exploitdb fetch githubrepos
INFO[09-26|18:23:19] Fetching GitHub Repos Exploit 
INFO[09-26|18:23:38] GitHub Repos Exploit                     count=4208
INFO[09-26|18:23:38] Insert Exploit into go-exploitdb.        db=sqlite3
INFO[09-26|18:23:38] Inserting 4208 Exploits 
INFO[09-26|18:23:38] Inserting new Exploits 
4208 / 4208 [----------------------------------------------------] 100.00% ? p/s
INFO[09-26|18:23:38] No CveID Exploit Count                   count=0
INFO[09-26|18:23:38] CveID Exploit Count                      count=4208

$ go-exploitdb fetch inthewild 
INFO[09-26|18:23:53] Fetching inTheWild Poc Exploit 
INFO[09-26|18:24:02] inTheWild Poc Exploit                    count=93265
INFO[09-26|18:24:02] Insert Exploit into go-exploitdb.        db=sqlite3
INFO[09-26|18:24:02] Inserting 93265 Exploits 
INFO[09-26|18:24:02] Inserting new Exploits 
93265 / 93265 [----------------------------------------------] 100.00% 52682 p/s
INFO[09-26|18:24:04] No CveID Exploit Count                   count=0
INFO[09-26|18:24:04] CveID Exploit Count                      count=93265

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants