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

vbdec patch to fix broken download #632

Merged
merged 7 commits into from
Sep 5, 2023

Conversation

tylerwhardy
Copy link
Contributor

Resolves #618 by updating download path to newly provided URL.

Update VBDEC to preferred version 2.22.2023
Update version information
Retriggering CI/CD because it used old URLs, not sure why.
@tylerwhardy
Copy link
Contributor Author

I have no idea how this is pulling the old github path in CI testing.

@mr-tz
Copy link
Contributor

mr-tz commented Aug 14, 2023

That is weird indeed. @Ana06, any idea what's going on here?

Trigger CI/CD again to see if earlier issue was cache related.
@mr-tz
Copy link
Contributor

mr-tz commented Aug 17, 2023

Somehow this still tries to install the old version: vbdec.vm v12.7.22

https://github.com/mandiant/VM-Packages/actions/runs/5885235123/job/15961387073?pr=632#step:4:35

<authors>vbGamer45, David Zimmer</authors>
<description>VBDec is a VB6 disassembler and PCode debugger</description>
<description>VBDec works as a VB6 disassembler and PCode debugger.</description>
Copy link

@dzzie dzzie Aug 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also a structure viewer for all vb6 executables and can generate IDA scripts to integrate structures and named function offsets (native and pcode)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the input @dzzie, but as mentioned in our documentation, we want to keep the description as short as possible and not to modify it with version updates:

The description should be short and not include version specific details or other information that is likely to change in a future version.

The description is a nuspec required field, that's why we include, but we are not really using it (as these packages are mostly installed by a installer and are not in the chocolatey community feed). So we would like to save maintaince work.

Update per author
Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @tylerwhardy!

@@ -2,9 +2,9 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>vbdec.vm</id>
<version>12.7.22</version>
<version>2.22.23</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous version is 12.7.22 (higher). When updating a package you should always increase the version, as when you install the package the highest available version is installed. That is why the tests are still testing the version before the fix.

I see that the version of this tool is VBDec v1.0.917 - compiled: 2.22.23:
Screenshot 2023-08-31 at 13 31 23

I suspect that the version we had before is also not the tool version, but the compilation date. We should use the tool version:

Suggested change
<version>2.22.23</version>
<version>1.0.917</version>

But this version would be also lower than the current one. As the current package is broken, I propose we delete it manually from myget. @mr-tz is that fine for you?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, great catch! Yes, that's fine by me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tylerwhardy can you update the version to 1.0.917?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ana06 Updated

Copy link
Member

@Ana06 Ana06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have deleted the package in myget and re-trigger the CI and tests are working now. 😄 thanks @tylerwhardy!

I am going to merge the PR with squash and merge in order to keep a clean commit history.

@Ana06 Ana06 merged commit 0c609a8 into mandiant:main Sep 5, 2023
4 checks passed
@tylerwhardy tylerwhardy deleted the tylerwhardy-vbdec-patch-1 branch September 5, 2023 11:47
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

Successfully merging this pull request may close these issues.

vbdec.vm repo is no longer available with no public replacement candidate
4 participants