mandiant / VM-Packages

Chocolatey packages supporting the analysis environment projects FLARE-VM & Commando VM.
Apache License 2.0
122 stars 61 forks source link

Github version change on update_package.py #1067

Closed naacbin closed 3 weeks ago

naacbin commented 3 weeks ago

As commented in #1053: hayabusa as well as other packages such as upx have a problem when the version for example v2.15.0 is different of the version in the filename hayabusa-2.15.0-win-x64.zip because of the v. The update works only because it will fallback to update_version_url and the updated version is in one of the case of get_increased_version.

From my testing adding v? in the url of update_github_url will allow the update via github without breaking any other package auto update (but I think a deeper review is required).