Crmgo Blog

Bash mit shc kompilieren

Bash mit shc kompilieren

Laden Sie das Programm von der Quelle herunter http://www.datsi.fi.upm.es/~frosal/ und entpacken Sie es. Führen Sie die folgenden Befehle aus: mw shc-3.x.x.c shc.c make make test OPTIONS

Bash mit shc kompilieren

Laden Sie das Programm von der Quelle herunter http://www.datsi.fi.upm.es/~frosal/

Entpacken Sie es

mw shc-3.x.x.c shc.c

make

make test

shc -v -r -T -f myscript

OPTIONEN

     The command line options are:

     -e date
          Expiration date in dd/mm/yyyy format [none]

     -m message
          message to display  upon  expiration  ["Please  contact
          your provider"]

     -f script_name
          File name of the script to compile

     -i inline_option
          Inline option for the shell interpreter i.e: -e

     -x comand
          eXec    command,    as    a    printf    format    i.e:
          exec(\\'%s\\',@ARGV);

     -l last_option
          Last shell option i.e: --

     -r   Relax security. Make  a  redistributable  binary  which
          executes  on different systems running the same operat-
          ing system.

     -v   Verbose compilation

     -D   Switch on debug exec calls

     -T   Allow binary to be  traceable  (using  strace,  ptrace,
          truss, etc.)

     -C   Display license and exit

     -A   Display abstract and exit

     -h   Display help and exit

Hinweis: Dieser Beitrag kann KI-unterstützt erstellt und anschließend redaktionell geprüft worden sein. Verantwortlich: Dmytro Lomaka, Kaltenkirchen.