Skip to content
Snippets Groups Projects
Commit 4a2a72fe authored by Bruno BEAUFILS's avatar Bruno BEAUFILS
Browse files

Cosmetic changes in README.

parent aa838300
No related branches found
No related tags found
No related merge requests found
...@@ -2,23 +2,30 @@ ...@@ -2,23 +2,30 @@
Goals Goals
===== =====
I give lectures and practical works on Unix and shell scripting to students as I give lectures and practical works on Unix and shell scripting to
part of my jobs. The way I do these practical works is that I give them some students as part of my jobs. The way I do these practical works is
kind of specifications and uses examples. Then I hope they will understand that I give them some kind of specifications and uses examples. Then I
what I want them to do and wait. They often do not get exactly what the script hope they will understand what I want them to do and wait. They often
have to do. do not get exactly what the script have to do.
What could be helpful is to enable them to have access to a working version of What could be helpful is to enable them to have access to a working
the script but without them to be able to have access to the source of it. It version of the script but without them to be able to have access to
is not possible to do that through simple Unix rights managements : in order the source of it. It is not possible to do that through simple Unix
to execute a shell script one has to be able to read it. rights managements: in order to execute a shell script one has to be
able to read it.
Having a binary version of a shell script is why I wrote hidesh. This program
takes a shell script and write a simple C file which once compiled runs the Having an *obfuscated* (e.g. a binary) version of a shell script is
script. I can then distribute the produced binary to my students who can then why I wrote hidesh.
test the script without knowing how it is written. With a little work they
could be able to find the source code in memory. If they are able to do that This program takes a shell script and will write an obfuscated version
it's fine for me because they do not need my lessons anyway :-) of the script (e.g. a simple C file which once compiled runs the
script). I can then distribute the produced obfuscated script (or
binary) to my students who can then test the script without knowing
how it is written.
With a little work they could be able to de-obfuscate it (e.g. find
the source code in memory). If they are able to do that it's fine for
me because they do not need my lessons anyway :-)
How it works How it works
============ ============
...@@ -27,8 +34,8 @@ How it works ...@@ -27,8 +34,8 @@ How it works
2- Obfuscate it a little bit (base64 for instance) 2- Obfuscate it a little bit (base64 for instance)
3- Write a C file which embed that obfuscated version in a constant string and 3- Write a C file which embed that obfuscated version in a constant
which : string and which :
1- deobfuscate the string 1- deobfuscate the string
2- create a named pipe 2- create a named pipe
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment