Login Register






Obfuscation. filter_list
Author
Message
Obfuscation. #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
is transformed into this
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
is transformed into this
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! Biggrin
[Image: nNICR.jpg]
Creds to bluedog

For a list of my contributions (includes tutorials). Click here.

If you'd like to apply for Heat, please click here.

Reply

RE: Obfuscation. #2
(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.
[Image: nNICR.jpg]
Creds to bluedog

For a list of my contributions (includes tutorials). Click here.

If you'd like to apply for Heat, please click here.

Reply