![]() |
|
Obfuscation. - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Coding (https://sinister.li/Forum-Coding--71) +--- Thread: Obfuscation. (/Thread-Obfuscation) |
Obfuscation. - Reverence - 06-24-2011 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 >NULCode: 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.
pauseCode: @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%
pauseNow, show me what you got!
RE: Obfuscation. - Reverence - 06-24-2011 (06-24-2011, 07:36 PM)The 7th Sage Wrote: So what does this obfuscate? Batch scripts? Sorry i don't know much of batch. This just shows how someone can go about obfuscating their batch scripts. It provides a little insight on the subject. It is not an obfuscator if that's what you were thinking. |