Hi, Can anybody tell me how to convert shell script into binary?Thanks
Hi, Can anybody tell me how to convert shell script into binary?Thanks
Not sure if there is a readymade tool to do that. Most probably you will have to rewrite the code in some language to generate a binary.
You can use shell script compiler called shc:
Download shc below: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 executable.
Francisco Rosales, home page
You can also use commercial tool called ccsh - a bourne shell to C cross-compiler.:
CCsh, The Bourne Shell Compiler
Keep it mind this is security though obscurity.
HTH
All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]
Many Many Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)