Skip to content

Vulnx update failing because pointing to vulnx repo when only cvemap repo exists #426

@oscarintherocks

Description

@oscarintherocks

vulnx version:

v1.0.0

Current Behavior:

vulnx update (or --update) commands are not working because github vulnx repo doesn't exist (still appearing cvemap instead of vulnx)

vulnx update


\ \ / /_ _ | | _ _ \ / /
\ V /| || || || ' \ > <
_/ _,|||||||/_/_\

the swiss army knife for vulnerability intelligence

[INF] Current vulnx version v1.0.0 (latest)
[INF] Checking for vulnx updates...
[updater] failed to download latest release got [:RUNTIME] repo projectdiscovery/vulnx not found got %!v(MISSING) <- GET https://api.github.com/repos/projectdiscovery/vulnx/releases/latest: 404 Not Found []

Expected Behavior:

Application is checking if new version is available and autoupdates when a new version is available without any error.

Steps To Reproduce:

  1. Run vulnx update
  2. See error: [updater] failed to download latest release got [:RUNTIME] repo projectdiscovery/vulnx not found got %!v(MISSING) <- GET https://api.github.com/repos/projectdiscovery/vulnx/releases/latest: 404 Not Found []

Anything else:

Problem seems to be related to name change in all the application but new github repo name doesn't exist. So, rename repo or create a fallback to update from cvemap repo if vulnx is not reachable (404 error)

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions