Substitute Jayden Luker’s goal proved the difference as Woking edged five points clear of the National League drop zone with a 3-2 win over Dagenham.
The hosts took a fifth-minute lead when Jermaine Anderson fired home after Luke Wilkinson had challenged goalkeeper Elliot Justham.
But they were ahead for just six minutes as Josh Rees flicked on a Justham free-kick and Ryan Hill levelled.
Daggers went close to a second when Inih Effiong headed over and keeper Will Jaaskelainen clawed away another attempt from Hill before Rees missed an open goal just before half-time.
Woking went ahead with five minutes remaining when Kevin Berkoe lifted the ball over Justham after being fed by Luker.
Luker made it 3-1 three minutes into stoppage time before Conor Lawless reduced the deficit but ultimately to no avail.