|
|
|
|
|

월간 인기 게시물

게시물 57건
   
쉘스크립트 바이너리 파일로 변환
글쓴이 : 최고관리자 날짜 : 2010-09-10 (금) 14:56 조회 : 6802
글주소 :
                          

출처 : http://www.datsi.fi.upm.es/~frosal/

wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz
tar zxvf shc-3.8.7.tgz
cd shc-3.8.7
make
./shc -f script.sh



script.sh.x 라는 형태로 바이너리 파일이 생성된다.



shc Version 3.8.7, Generic script Compiler
shc Copyright (c) 1994-2009 Francisco Rosales <frosal@fi.upm.es>
shc Usage: shc [-e date] [-m addr] [-i iopt] [-x cmnd] [-l lopt] [-rvDTCAh] -f script

    -e %s  Expiration date in dd/mm/yyyy format [none]
    -m %s  Message to display upon expiration ["Please contact your provider"]
    -f %s  File name of the script to compile
    -i %s  Inline option for the shell interpreter i.e: -e
    -x %s  eXec command, as a printf format i.e: exec('%s',@ARGV);
    -l %s  Last shell option i.e: --
    -r     Relax security. Make a redistributable binary
    -v     Verbose compilation
    -D     Switch ON debug exec calls [OFF]
    -T     Allow binary to be traceable [no]
    -C     Display license and exit
    -A     Display abstract and exit
    -h     Display help and exit

    Environment variables used:
    Name    Default  Usage
    CC      cc       C compiler command
    CFLAGS  <none>   C compiler flags

    Please consult the shc(1) man page.



이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.