Chris Woakes knew he needed to attack Australia in the middle overs after claiming 3-32 to help his side secure a stunning victory by 24 runs in the 2nd ODI.