Obfuscation. 06-24-2011, 07:33 PM
#1
What's obfuscation?
Obfuscation is to make the script look like gibberish, while still executing. The goal is to include as many lines as possible.
For example:
This code
Code:
@echo off
echo Hello World!
timeout 5 >NUL
Code:
SET "_Data=World!5OFF>echonul@timeoutHello!"
%_Data:~18,1%%_Data:~11,4% %_Data:~7,3%
%_Data:~11,4% %_Data:~26,6% %_Data:~0,6%
Or this code
Code:
@echo off
echo ECHO is off.
pause
Code:
@echo off
set ec=tr
set ho=yu
set llo=iu
set ld=yt
set pa=kl
for %%t in (use) do (
set %%t=bv
)
for %%a in (he) do (
set %%a=y
)
for %%b in (wor) do (
set %%u=lo
)
echo %y%%iu% %lo%%yt%
pause
Now, show me what you got!
