본문 바로가기
컴퓨터

AutoIT Obfuscator

by 촐초리 2013. 3. 28.
반응형

오토잇에 코드 난독화 기능이 내장되어 있다 

지금까지 모르고 있었다

세팅은 심플하다


SciTEUser.properties 파일에

command.46.*.au3="$(SciteDefaultHome)\Obfuscator\Obfuscator.exe" "$(FilePath)"

command.name.46.*.au3=Obfuscator

command.save.before.46.*.au3=1

command.is.filter.46.*.au3=1

command.shortcut.46.*.au3=Ctrl+Shift+O

을 추가하고


autoit 코드 상단에

#AutoIt3Wrapper_Run_Obfuscator=y

#Obfuscator_Parameters= 

을 삽입한다

파라미터 뒤에 원하는 옵션을 넣는다

옵션은


/CV  or /Convert_Vars=0      ; No Variable encryption (Default = 1)

/CF  or /Convert_Funcs=0     ; No FuncName encryption (Default = 1)

/CS  or /Convert_Strings=0   ; No String encryption (Default = 1)

/CN  or /Convert_Numerics=0  ; No Numeric encryption (Default = 1 )

/SO  or /StripOnly           ; Set the options to: /SF /SV /CV=0 /CF=0 /CS=0 /CN=0

/SOI or /StripOnlyIncludes   ; Same as /SO but will leave masterscript untouched.

/OM  or /ObfuscateMinimum    ; Generates a much smaller obfuscated file.

/SF  or /StripUnusedFunc     ; Remove Func's that are not used by the MainScript. (Default = 0)

/SV  or /StripUnusedVars     ; Remove unused Gobal Variable declarations lines. (Default = 0)

/SCI or /showconsoleinfo 0   ; Default Minimal output to the console; warning and errors.

/SCI or /showconsoleinfo 1   ; Show more progress information.

/SCI or /showconsoleinfo 9   ; Show all debug lines as found in the Obfuscator.log

/Beta                        ; Use the AutoIt\Beta\Include files


이제는 코드 작성을 완료하고 
Ctrl+Shift+O 를 누른 다음 난독화 코드를 자동생성하고 F7을 눌러 Build를 하면 디컴파일을 해도 알아 보기 힘든 코드가 된다

반응형