gustavorv86 / embedshellscript

Skeleton to embed binary files in shell scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

skelbinembedshellscript

Skeleton to embed binary files in shell scripts.

Usage

Copy the skeleton to a new script:

shell $ cp skelembedshellscript.sh myinstaller.sh

Add payload binary file to the script:

shell $ base64 /path/to/file/originalfile.bin >> myinstaller.sh

Add execution permissions:

shell $ chmod a+x myinstaller.sh

Modify the EDIT SECTION script.

About

Skeleton to embed binary files in shell scripts

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%