[Need Help] How to UnObfuscate this batch file?
Moderator: DosItHelp
[Need Help] How to UnObfuscate this batch file?
Done for all, mod please help me close topic. Thank all!
Last edited by pearlyour on 27 Dec 2018 05:13, edited 1 time in total.
Re: [Need Help] How to UnObfuscate this batch file?
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
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?
Thank you very much, Dave. Merry Christmasdbenham wrote: ↑23 Dec 2018 13:13The 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