windbg - Trying to quit the debugger automatically within powershell -
i trying implement following code snippet in powershell
$fname_final = $fn + $i $fname_final = $fname_final.replace(" ","_") echo $fname_final $logname = $fname_final + ".log" echo $logname $args = " -g -g -x -logo "+ $fname_final +" -p " + $i +" -c `"r;uf @eip;kv;.shell -x cmd /k \`"tail -n 400 c:\fuzzers\modules\ie.log > c:\fuzzers\modules\scripts\ie\$fname_final \`";q`"" $cdb = "cdb.exe" #start-process $cdb $args cdb.exe $args $already_attached += $i but thing not quitting debugger on crash stop there. q command never gets executed , problem is, .shell taking ;q in string, too.
can suggest hack ;q executed , want .shell command?
Comments
Post a Comment