Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can obfuscate shell scripts with <a href="http://comp.eonworks.com/scripts/obfuscate_shell_script-20011012.html" rel="nofollow">something like ofbsh</a>. You won't easily bundle other programs into a single executable for unix, though. Normally the approach for installation would be to buld a package for your platform's package manager (e.g. <a href="http://tldp.org/HOWTO/RPM-HOWTO/" rel="nofollow">rpm,</a> <a href="http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/" rel="nofollow">deb,</a> <a href="http://www.bolthole.com/solaris/makeapackage.html" rel="nofollow">pkg</a>) or to provide a tarball to unravel in the appropriate directory.</p> <p>If you need an executable file that unpacks the contents you might be able to use a shell archive. Take a look at the docs for <a href="http://www.gsp.com/cgi-bin/man.cgi?section=1&amp;topic=shar" rel="nofollow">shar(1)</a> and see if that will get what you want</p> <p>If you really need a scripting capability to glue multiple C programs together, take a look at the Tcl language. It has an API that is designed to trivially wrap C programs that expect to see <code>argv[]</code> style parameters. You can even embed the chunks of C code into a custom Tcl interpreter and glue it together with various Tcl scripts.</p> <p>If you really need to make it opaque, you could encrypt the tcl scripts and wrap the whole thing in something that unencrypts the tcl scripts to a buffer and then runs the Tcl interpreter on them. Tcl can accept scripts from a file or a <code>char*</code> buffer, so the unencrypted scripts never have to hit the file system.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload