sysutils/shc - The NetBSD Packages Collection

Shell script to C compiler

shc creates a stripped binary executable version of a shell script.

shc itself is not a compiler such as cc, but rather it encodes and
encrypts a shell script and generates C source code with the added
expiration capability. It then uses the system compiler to compile a
stripped binary which behaves exactly like the original script. Upon
execution, the compiled binary will decrypt and execute the code with
the shell -c option.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64shc-3.8.9.tgz
NetBSD 10.0aarch64shc-3.8.9.tgz
NetBSD 10.0aarch64ebshc-3.8.9.tgz
NetBSD 10.0aarch64ebshc-3.8.9.tgz
NetBSD 10.0alphashc-3.8.9.tgz
NetBSD 10.0alphashc-3.8.9.tgz
NetBSD 10.0earmv4shc-3.8.9.tgz
NetBSD 10.0earmv4shc-3.8.9.tgz
NetBSD 10.0earmv6hfshc-3.8.9.tgz
NetBSD 10.0earmv6hfshc-3.8.9.tgz
NetBSD 10.0earmv6hfshc-3.8.9.tgz
NetBSD 10.0earmv7hfshc-3.8.9.tgz
NetBSD 10.0earmv7hfshc-3.8.9.tgz
NetBSD 10.0earmv7hfshc-3.8.9.tgz
NetBSD 10.0i386shc-3.8.9.tgz
NetBSD 10.0i386shc-3.8.9.tgz
NetBSD 10.0m68kshc-3.8.9.tgz
NetBSD 10.0powerpcshc-3.8.9.tgz
NetBSD 10.0powerpcshc-3.8.9.tgz
NetBSD 10.0powerpcshc-3.8.9.tgz
NetBSD 10.0sh3elshc-3.8.9.tgz
NetBSD 10.0sparc64shc-3.8.9.tgz
NetBSD 10.0sparc64shc-3.8.9.tgz
NetBSD 10.0sparcshc-3.8.9.tgz
NetBSD 10.0sparcshc-3.8.9.tgz
NetBSD 10.0vaxshc-3.8.9.tgz
NetBSD 10.0vaxshc-3.8.9.tgz
NetBSD 10.0vaxshc-3.8.9.tgz
NetBSD 10.0x86_64shc-3.8.9.tgz
NetBSD 10.0x86_64shc-3.8.9.tgz
NetBSD 9.0aarch64shc-3.8.9.tgz
NetBSD 9.0aarch64shc-3.8.9.tgz
NetBSD 9.0alphashc-3.8.9.tgz
NetBSD 9.0alphashc-3.8.9.tgz
NetBSD 9.0earmv6hfshc-3.8.9.tgz
NetBSD 9.0earmv6hfshc-3.8.9.tgz
NetBSD 9.0earmv6hfshc-3.8.9.tgz
NetBSD 9.0earmv7hfshc-3.8.9.tgz
NetBSD 9.0earmv7hfshc-3.8.9.tgz
NetBSD 9.0earmv7hfshc-3.8.9.tgz
NetBSD 9.0i386shc-3.8.9.tgz
NetBSD 9.0i386shc-3.8.9.tgz
NetBSD 9.0powerpcshc-3.8.9.tgz
NetBSD 9.0powerpcshc-3.8.9.tgz
NetBSD 9.0powerpcshc-3.8.9.tgz
NetBSD 9.0sparc64shc-3.8.9.tgz
NetBSD 9.0sparc64shc-3.8.9.tgz
NetBSD 9.0x86_64shc-3.8.9.tgz
NetBSD 9.0x86_64shc-3.8.9.tgz
NetBSD 9.3x86_64shc-3.8.9.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.