Results 1 to 4 of 4

Thread: Binary Conversion Of Shell Script (shell script compiler)

  1. #1
    Member
    Join Date
    Feb 2008
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Binary Conversion Of Shell Script (shell script compiler)

    Hi, Can anybody tell me how to convert shell script into binary?Thanks

  2. #2
    Contributors amitabh's Avatar
    Join Date
    Jul 2008
    Location
    New Delhi
    Posts
    123
    Thanks
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    9

    Default

    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.

  3. #3
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,512
    Thanks
    17
    Thanked 799 Times in 511 Posts
    Rep Power
    10

    Default

    You can use shell script compiler called shc:
    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.
    Download shc below:
    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]


  4. #4
    Member
    Join Date
    Feb 2008
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Many Many Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to initialize HDD using Shell script?
    By meimei in forum Shell scripting
    Replies: 1
    Last Post: 13th May 2008, 05:21 PM
  2. Run mv command from ftp shell script
    By subin in forum Shell scripting
    Replies: 6
    Last Post: 2nd May 2008, 09:44 AM
  3. writing a shell script to find out my shell name
    By jaymob123 in forum Shell scripting
    Replies: 1
    Last Post: 8th October 2007, 12:36 AM
  4. Replies: 2
    Last Post: 8th February 2007, 03:45 PM
  5. require shell script
    By puppen in forum Shell scripting
    Replies: 4
    Last Post: 12th April 2006, 09:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •