mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
development/shc: Fix README.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5a3e439f19
commit
1835f38271
1 changed files with 12 additions and 11 deletions
|
@ -1,15 +1,16 @@
|
|||
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.
|
||||
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.
|
||||
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.
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue