Hereford extended their unbeaten run to five games with a battling win in their last Nationwide Conference match of the season on Saturday.
Leading scorer Ian Wright's ninth goal of the season clinched the victory.
But, for a change, Hereford's top defender and player of the year had a chance to show his skills as a striker when youngster Gavin Williams cried off with a calf injury.
Wright showed plenty of energy against a tall Woking defence and took his goal well when goalkeeper Darryl Flahavan flapped a Mark Taylor corner out to him five yards from goal.
Woking had lost just one of their previous 12 home games.
But they were pushed on to the back foot within the first minute when a strong run and cross by Paul Parry caused problems before Eddie Saunders cleared at the expense of a corner.
Tony James headed Taylor's flag-kick just over and, as Hereford continued to have the better of the opening play, Robbie Dennison forced Flahavan into a save from a long range effort before Wright's goal came on 14 minutes.
On-loan striker Steve Cowe, whose lively running caused plenty of problems for the home defence, forced Flahavan into a couple of saves before the break.
But Hereford did not have things all their own way and keeper Andy Quy got down well to field a shot from Danny Bolt.
At the start of the second period, there was no-one lurking to profit when Wright headed a Taylor corner across the face of the goal but the former Bristol Rovers player was within inches of a spectacular second himself when he threw himself at another Taylor corner.
Woking introduced two of their substitutes at the start of the second period before the arrival of the third, Scott Steele, after 56 minutes began to turn play in the home side's favour.
He forced Quy into a fine diving save after 81 minutes and then Dennison did well to get back to clear a dangerous cross after Steele had combined well with Steve West.
Steele curled another shot just wide two minutes from the end, but Hereford's defence held firm to come away with the three points.
Hereford: Quy, James, Rodgerson, Evans, Wright, Snape, Lane, Taylor, Cowe, Dennison, Parry. Subs not used: Cross, Jones, Dyer.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article