This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Development > shc (4.0.3)

shc - Shell script compiler

SHC is a generic shell script compiler. It takes a script, which is specified on
the command line and produces C source code. The generated source code is then
compiled and linked to produce a stripped binary.

The compiled binary will still be dependent on the shell specified in the first
line of the shell code (i.e shebang: #!/bin/sh or such), thus shc does not
create completely independent binaries.

shc itself is not a compiler such as cc, it rather encodes and encrypts a shell
script and generates C source code with the added expiration capability. It then
uses the system compiler to compile a stripped binary which behaves exactly like
the original script. Upon execution, the compiled binary will decrypt and
execute the code with the shells' -c option.

Maintained by: Giuseppe Di Terlizzi
Keywords: shc,generic shell script compiler,shell,script,sh,shell script compiler
ChangeLog: shc

Homepage:
http://neurobin.github.io/shc

Source Downloads:
shc-4.0.3.tar.gz (c3f7aef42f12bccd0a54db92e3946f4e)

Download SlackBuild:
shc.tar.gz
shc.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
shc.SlackBuild
shc.info
slack-desc

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds