<s>
shc	B-Device
is	O
a	O
shell	B-Language
script	I-Language
compiler	B-Language
for	O
Unix-like	O
operating	O
systems	O
written	O
in	O
the	O
C	B-Language
programming	I-Language
language	I-Language
.	O
</s>
<s>
The	O
Shell	B-Language
Script	I-Language
Compiler	B-Language
(	O
SHC	B-Device
)	O
encodes	O
and	O
encrypts	O
shell	B-Language
scripts	I-Language
into	O
executable	B-Application
binaries	I-Application
.	O
</s>
<s>
Compiling	B-Language
shell	B-Language
scripts	I-Language
into	O
binaries	O
provides	O
protection	O
against	O
accidental	O
changes	O
and	O
source	O
code	O
modification	O
,	O
and	O
is	O
a	O
way	O
of	O
hiding	O
shell	B-Language
script	I-Language
source	O
code	O
.	O
</s>
<s>
shc	B-Device
takes	O
a	O
shell	B-Language
script	I-Language
which	O
is	O
specified	O
on	O
the	O
command	B-Application
line	I-Application
by	O
the	O
-f	O
option	O
and	O
produces	O
a	O
C	B-Language
source	I-Language
code	I-Language
of	O
the	O
script	B-Language
with	O
added	O
encryption	O
.	O
</s>
<s>
The	O
generated	O
source	O
code	O
is	O
then	O
compiled	B-Language
and	O
linked	O
to	O
produce	O
a	O
binary	B-Application
executable	I-Application
.	O
</s>
<s>
It	O
is	O
a	O
two	O
step	O
process	O
where	O
,	O
first	O
,	O
it	O
creates	O
a	O
filename.x.c	O
file	O
of	O
the	O
shell	B-Language
script	I-Language
file	O
filename	O
.	O
</s>
<s>
Then	O
it	O
is	O
compiled	B-Language
with	O
cc	O
-	O
$CFLAGS	O
filename.x.c	O
to	O
create	O
the	O
binary	O
from	O
the	O
C	B-Language
source	I-Language
code	I-Language
with	O
the	O
default	O
C	B-Language
compiler	B-Language
.	O
</s>
<s>
The	O
compiled	B-Language
binary	O
will	O
still	O
be	O
dependent	O
on	O
the	O
shell	B-Application
specified	O
in	O
the	O
shebang	B-Operating_System
(	O
eg	O
.	O
</s>
<s>
#	O
!	O
/bin/sh	O
)	O
,	O
thus	O
shc	B-Device
does	O
not	O
create	O
completely	O
independent	O
binaries	O
.	O
</s>
<s>
shc	B-Device
itself	O
is	O
not	O
a	O
compiler	B-Language
such	O
as	O
the	O
C	B-Language
compiler	B-Language
,	O
it	O
rather	O
encodes	O
and	O
encrypts	O
a	O
shell	B-Language
script	I-Language
and	O
generates	O
C	B-Language
source	I-Language
code	I-Language
with	O
the	O
added	O
expiration	O
capability	O
.	O
</s>
<s>
It	O
then	O
uses	O
the	O
system	O
C	B-Language
compiler	B-Language
to	O
compile	B-Language
the	O
source	O
shell	B-Language
script	I-Language
and	O
build	O
a	O
stripped	O
binary	O
which	O
behaves	O
exactly	O
like	O
the	O
original	O
script	B-Language
.	O
</s>
<s>
Upon	O
execution	O
,	O
the	O
compiled	B-Language
binary	O
will	O
decrypt	O
and	O
execute	O
the	O
code	O
with	O
the	O
shells'-c	O
option	O
.	O
</s>
<s>
+Available	O
Versions	O
VersionRelease	O
DateChangesshc-3.9.330-Jul-2016zsh	O
support	O
and	O
fix	O
for	O
ksh	O
shellshc-3.9.221-Aug-2015Added	O
Busybox	B-Application
support	O
(	O
-B	O
flag	O
to	O
compile	B-Language
for	O
Busybox	B-Application
)	O
.shc-3.9.103-Apr-2015Set	O
-T	O
option	O
as	O
default	O
,	O
and	O
renaming	O
it	O
to	O
-U	O
to	O
its	O
counter	O
logicshc-3.9.001-Apr-2015Adding	O
output	O
file	O
option	O
with	O
[	O
-o	O
filename ]	O
and	O
bug	O
fixesshc-3.8.904-Dec-2013Fixing	O
a	O
long-standing	O
bug	O
making	O
the	O
source	O
not	O
hiddenshc-3.8.710-Feb-2010Bug	O
on	O
64bit	O
systems	O
with	O
expiration	O
datesshc-3.8.510-Feb-2010shc-3.8.310-Jul-2006Fixed	O
untraceable( )	O
problems	O
on	O
FreeBSDshc-3.8.206-Jul-2006Read	O
permission	O
of	O
the	O
script.x	O
exposes	O
it	O
to	O
disassembling	O
.	O
</s>
<s>
Group	O
and	O
others	O
read	O
permission	O
is	O
now	O
removed	O
by	O
default.shc-3.728-Jun-2005Removed	O
all	O
strings	O
in	O
the	O
compiled	B-Language
script	B-Language
.	O
</s>
<s>
Updated	O
manpage	O
shc.1shc-3.616-Jun-2005Two	O
new	O
options	O
:	O
</s>
<s>
-T	O
switch	O
off	O
unTraceable.shc-3.419-Jun-2003Remove	O
"	O
bad	O
alignment	O
"	O
problem	O
on	O
AIX	O
and	O
other	O
systems	O
.	O
</s>
