리눅스 쉘 스크립트 작성한걸
암호화해서 배포해야 할때가 있는데
shc를 흔히들 사용한다고 하더군여
그래서 암호화 시켜서 햇더니 잘됩니다.
그런데 사용자 클라이언트쪽에서 암호화된 파일을 실행하니
stopped로 떨어지네여;; 원래 클라이언트쪽에도 설치해야
이 암호화 파일이 실행되는건가여?
SHC is a great tool to use for this purpose. and based on the last post in this thread, it appears the OP has already tried it but, it didn't work on certain systems. If that's the case, heres's the reason why. The way SHC works is actually pretty straight-forward. When using it to obfuscate a script, you have to re-compile the script for whichever OS you intend to run it on. What that means is, you cannot run the SHC compiler on a ubuntu box and expect the produced script to work on a Red Hat/CentOS box. It appears the latest version of SHC can be accessed here.
찾아보니 아래와 같은 글이 있습니다.
찾아보니 아래와 같은 글이 있습니다.
http://stackoverflow.com/questions/9700893/how-to-obfuscate-a-shell-script
SHC is a great tool to use for this purpose. and based on the last post in this thread, it appears the OP has already tried it but, it didn't work on certain systems. If that's the case, heres's the reason why. The way SHC works is actually pretty straight-forward. When using it to obfuscate a script, you have to re-compile the script for whichever OS you intend to run it on. What that means is, you cannot run the SHC compiler on a ubuntu box and expect the produced script to work on a Red Hat/CentOS box. It appears the latest version of SHC can be accessed here.
[bookmark용 댓글입니다]
[bookmark용 댓글입니다]
댓글 달기