SharpGPOAbuse icon indicating copy to clipboard operation
SharpGPOAbuse copied to clipboard

Add XmlEncode in NewImmediateTask function

Open Dliv3 opened this issue 5 years ago • 0 comments

There is a bug in NewImmediateTask function

If the user set Command and Arguments as shown below, the character > will cause the ScheduledTasks.xml to not be parsed correctly

--Command "cmd.exe" --Arguments "/c echo 1234 > %tmp%\1111.txt" 

This PR fixed this bug.

Dliv3 avatar May 28 '20 06:05 Dliv3