I was handed a bat file with something like the below:
app -r "a://b.c" -f "WIN 11,265" -pp "/%nick%/" -C S:diboze -C S:%nick%^
-C S:2.625 -C S:pbkdf2_sha256^$10000^$RGarixCRleJl^$4s8d4fsd4^
/4Df4d/bEW9k= -T "m9z#$dO0qe@sMYxx34Rxe%"
I translated it into C# by replacing "
with ""
(using a @"
string) then replacing %nick%
with {0}
in a String.Format
. However the script does not work. What else do I need to escape? Is pbkdf2_sha256^$10000
actual code? I thought everything here should be raw text except for %nick%
but it appears that I'm wrong.