UnSHc
UnSHc is a shell script tool designed to decrypt files encrypted with SHc (SHell compiler). SHc encrypts shell scripts using ARC4 encryption and produces binary files with the .sh.x extension as a way to protect script source code from being viewed. UnSHc reverses this process by extracting the original shell script content from the encrypted binary through analysis of object dump and string dump files generated with objdump. The tool supports command line options for specifying the ARC4 offset manually, providing pre-generated dump and string files, and setting a custom output filename. UnSHc works with SHc versions prior to 4.0.3, which introduced new kernel-level security mechanisms that make decryption significantly harder and generally infeasible with this tool alone. The original concept was created by Luiz Octavio Duarte and was later updated and modernized by Yann CAM. UnSHc is useful for system administrators, security researchers, and developers who need to recover, audit, or analyze shell scripts t