-
Notifications
You must be signed in to change notification settings - Fork 72
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
Update Resource Hacker #741
Conversation
It's failing on
Not sure how to handle cases like this since it is out of our control. @mandiant/flare-vm thoughts? |
@MalwareMechanic the issue is that GH is blocking this url, right? |
did reshack work? |
Previously the issue was that the URL was inaccessible from the GitHub's perspective (unauthorized or forbidden). In the most recent run, the hash has already changed. The issue now is we rely on a fixed version of the community package and the community package uses a URL that is NOT versioned (see: https://community.chocolatey.org/packages/reshack.portable#files). This results in multiple failure points when the hash changes:
Below is the most recent error:
Since the download for the tool isn't versioned: https://angusj.com/resourcehacker/#download, we'll continue to run into hash issues even if we try to maintain a custom package. Though if we maintained a custom package we may be able to bypass hash checks if we really needed to (though off hand I'm not familiar with how to do this). |
A stop gap we could do is not version the dependency in our metapacakge and hope that the community package is updated when the hash changes. |
So strange, now it's trying to use
Our metapackage |
Alright, so if I revert our metapackage version the modified I see the following solutions:
Thoughts @Ana06 ? |
We have decided not to do this for other packages because then we are "acepting" having broken packages. This is an issue when installing FLARE-VM as you don't know if some packages will install until you try. It also increases the number of bug reports we get from users. If we go this route, I wouldn't add this package to the default flare-vm configuration, which I think it is a pity because this is a great tool. So I would prefer to ask the tool author if he is willing to help us to be able to include his tool in the default flare-vm installation. @MalwareMechanic can you contact him? His contact details are in https://www.angusj.com/resourcehacker |
Also, if the download url is blocked by GH in Windows 11, the tool maintainer may also be able to help us fix it, either by providing another url or by requesting GH not to block this url (not sure if we could request it). |
@MalwareMechanic any updates? 😄 |
There seems to be a similar issue with peanatomist: #831 |
@Ana06 My previous attempt at contacting the author wasn't successful, but I'll reach out again and ping back if I hear anything |
@MalwareMechanic is the tool signed? If so, we could use @MalwareMechanic was reshack working (vs the portable version)? I think it would be ok to use that version if it works. |
Both version works but |
@naacbin I agree. Would you like to take over fixing resourcehacker? @MalwareMechanic is likely not going to have time soon. |
I will see to do it before end of week. |
cfc8c51
to
cd73fa6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the changes @naacbin!! I have tested locally and it works. Just some comments about the version/package name that we need to address before we can merge it.
cd73fa6
to
f475b32
Compare
Thanks for the changes @naacbin! I have removed the old package from MyGet and retriggered the test suite so that the new package is tested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @naacbin! It works perfectly. I think we should add this package to the default flare-vm configuration. 😄
Update Resource Hacker to use the latest chocolatey package 5.2.4 (https://community.chocolatey.org/packages/reshack.portable).
Closes #739