options:
|
-c <n>, insert deceiving comments for every n line
-d <n>, insert deceiving code for every n line
-e <n1>-<n2>, prepend each line with a random number of spaces ranging
from n1 to n2
-f <file>, file to obfuscate
-g <n1>-<n2>+<n3>-<n4>, insert gibberish header and footer of n2 lines
long with each line n1 signs long, n3-n4 being range of characters
to generate from. See the manual for more details.
-h, usage and options (this help)
-i, remove blank lines, comments, leading and trailing spaces and tabs
-j <n1>-<n2>, insert n1 empty lines for every n2 line
-m, manual
-l, see this script"
|
manual:
|
DESCRIPTION
obfsh is quite flexible and can obfuscate any type of shell script. The
obfuscated script version is printed to stdo. The original script is not
modified.
Using obfsh options cleverly, one may fool more then just a casual intruder
or snooper, and certainly make understanding of the obfuscated script harder
and more time consuming.
OPTIONS
-c <n>, insert deceiving comment for every n line. In the User Defined
Variables section, you can add deceiving comments that will
be added to the obfuscated script to further the obfuscation.
-d <n>, insert deceiving code for every n line. In the User Defined
Variables section, you can write deceiving code that will
be added to the obfuscated script to further the obfuscation.
Make sure that the deceiving code does not interfere with the
real code. This option should be used with caution.
-e <n1>-<n2> prepend each line with a random number of spaces ranging from
n1 to n2. Basically specify a range from which random number of spaces
will be generated.
-f <file>, script to obfuscate
-g <n1>-<n2>+<n3>-<n4>, insert gibberish header and footer of n1 lines long
with each line n2 signs long. The n3-n4 refer to a range of signs from
which to generate the random gibberish. The minimum n3 is 100 and the
maximum n4 is 309. See string_randomSigns() for all elements of range.
-h, usage and options (help)
-i, remove blank lines, comments, leading and trailing spaces and tabs.
As for comments, all lines starting with a #, or white space following
a # are removed.
-j <n1>-<n2>, insert n1 empty lines for every n2 line.
|