Page 1 of 1

[Need Help] How to UnObfuscate this batch file?

Posted: 23 Dec 2018 01:26
by pearlyour
Done for all, mod please help me close topic. Thank all!

Re: [Need Help] How to UnObfuscate this batch file?

Posted: 23 Dec 2018 13:13
by dbenham
The simplest way to quickly see the underlying code is to modify the script as follows:

1) Add ECHO ON after the @ECHO OFF line.
2) On all of the subsequent lines, prefix each line with REM<space>. The <space> represents a single space character.

Now simply run the modified script, and all of the REM lines will be unobfuscated and printed to the screen. If you want, you can use redirection to capture the output in a text file and then use your favorite text editor to look at the code.


Dave Benham

Re: [Need Help] How to UnObfuscate this batch file?

Posted: 24 Dec 2018 01:28
by pearlyour
dbenham wrote:
23 Dec 2018 13:13
The simplest way to quickly see the underlying code is to modify the script as follows:

1) Add ECHO ON after the @ECHO OFF line.
2) On all of the subsequent lines, prefix each line with REM<space>. The <space> represents a single space character.

Now simply run the modified script, and all of the REM lines will be unobfuscated and printed to the screen. If you want, you can use redirection to capture the output in a text file and then use your favorite text editor to look at the code.


Dave Benham
Thank you very much, Dave. Merry Christmas