Tuesday, November 25, 2014

Compile a bash shell script with bashapp

Every now and then you want to obfuscate a shell script so that the user can't see the contents.  For example, if you're writing a script to check for security compliance.

Enter bashapp for Mac OS X!

 https://github.com/arbinger/bashapp


Bashapp will turn your bash script into Apple .app file. To use it just follow these easy steps.

First you'll need to download the source code.

Download bashapp source code from GitHub

Next, uncompress the source code into a directory of your choosing.



Next, compile the source code into an executable:


In order to execute bashapp, you'll need to move it into your user bin directory:


To use bashapp, just execute it this way:


Bashapp is located online at: https://github.com/arbinger/bashapp

No comments:

Post a Comment