Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rjbrown57/binextractor
extract binaries from container images
https://github.com/rjbrown57/binextractor
Last synced: 8 days ago
JSON representation
extract binaries from container images
- Host: GitHub
- URL: https://github.com/rjbrown57/binextractor
- Owner: rjbrown57
- License: apache-2.0
- Created: 2021-11-07T15:35:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T17:17:47.000Z (over 2 years ago)
- Last Synced: 2024-08-01T13:29:35.468Z (3 months ago)
- Language: Go
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# BinExtractor
Extract a binary from a container image. For example `binextractor -i "bitnami/kubectl:1.20.12" -s "opt/bitnami/kubectl/bin/kubectl" -d "kubectl"`
utilizes https://github.com/google/go-containerregistry
## Flags
* -i --image, Image name
* -s --sourcepath, path within image to extract
* -d --destpath, destination path of image## Fixes
* handle multiplatform images
* Verify + sanitize output destination pre image pull
* Wildcards for the search binary
* Optional configureable perms