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

Allow embedded config to come from an external file #2899

Merged
merged 3 commits into from
Aug 18, 2023

Conversation

scudette
Copy link
Contributor

On MacOS we can not modify the binary after build due to hashes and verifications. This PR allows the embedded config to be written to a stub file (shell script) which can be used later to bootstrap the offline collector.

This approach is a bit more complicated but will also be useful on Windows where the repack operation invalidates the signature. We can still use this same approach on Windows too without needing to resign the binary.

On MacOS we can not modify the binary after build due to hashes and
verifications. This PR allows the embedded config to be written to a
stub file (shell script) which can be used later to bootstrap the
offline collector.

This approach is a bit more complicated but will also be useful on
Windows where the repack operation invalidates the signature. We can
still use this same approach on Windows too without needing to resign
the binary.
@scudette scudette merged commit 94143bc into Velocidex:master Aug 18, 2023
1 check passed
scudette added a commit to scudette/velociraptor that referenced this pull request Aug 28, 2023
On MacOS we can not modify the binary after build due to hashes and
verifications. This PR allows the embedded config to be written to a
stub file (shell script) which can be used later to bootstrap the
offline collector.

This approach is a bit more complicated but will also be useful on
Windows where the repack operation invalidates the signature. We can
still use this same approach on Windows too without needing to resign
the binary.
scudette added a commit that referenced this pull request Aug 28, 2023
On MacOS we can not modify the binary after build due to hashes and
verifications. This PR allows the embedded config to be written to a
stub file (shell script) which can be used later to bootstrap the
offline collector.

This approach is a bit more complicated but will also be useful on
Windows where the repack operation invalidates the signature. We can
still use this same approach on Windows too without needing to resign
the binary.
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.

1 participant