RE: About uncrypting logs (i've got password!)
I had the same problem and after going through the whole batch found the following:
Line 42 "SET LOGVIEWER=%LOGVIEWER:~18%" defines the variable %LOGVIEWER% after extracting the Path for Log Viewer.exe from the registry. This value comes in the form "AppDir REG_SZ C:\Program Files\Messenger Plus! Live\"
When it runs "SET LOGVIEWER=%LOGVIEWER:~18%" it is truncating the first 18 characters of the string, leaving it as "SZ C:\Program Files\Messenger Plus! Live\" when it should be leaving it as "C:\Program Files\Messenger Plus! Live\".
How to solve this?
Since I don't exactly by how many characters it will differ on each case, here is a generic procedure:
- Open 2 shell windows (Start>Run and type cmd) (do this twice)
- Go to the directory where you will be running the batch from
- Type "edit Decryptall.bat"
- Find these two lines:
"CALL TEMP.BAT
DEL TEMP.BAT 2>NUL"
-Insert a PAUSE in between this two lines, it should look like this:
"CALL TEMP.BAT
PAUSE
DEL TEMP.BAT 2>NUL"
- Now save the script and run it
- You will get an message asking you to press a key ton continue (means you just hit the pause)
- On you second shell window (and being in the same directory where your batch is) type the following command "TYPE TEMP.NAT" (no, is not a typo or a mistake, I repeat, the command is "TYPE TEMP.BAT")
-This will show you exactly what is being executed to decrypt each file. The first line should say "@Echo Off". The second line, in order for the decrypter to work, MUST SAY "C:\Program Files\Messenger Plus! Live\Log Viewer.exe" and a buch of other stuff. But we care about the beginning of the line. This line must begin with a " and then the path for thelog viewer....whatever space or other characters must go!
-Now, count how many characters (including spaces) are in excess right after the quotation marks (the marks must stay).
- You must edit again your Decryptall.bat. in the following way:
Let's say you counted an extra 6 characters, then add that number to 18 (remember the weird command atthe beginning?) and substitute the 18 for that number. In this case, you would change 18 for 24.
- Run your batch again. If you get the same error it means you miscounted the characters. You may have still some extra characters or you might have truncated more thant you should.
In any case, repeat until you get the line to look like this:
"C:\Program Files\Messenger Plus! Live\Log Viewer.exe"
NOTE: I am assuming you used the default instaltion path for Messenger Plus. If you change that, you need to match this path with the Key on the registry under HKLM\SOFTWARE\Patchou\Messenger Plus! Live
Hope this is more helpful than confusing!
|