Craig Reid's second-half penalty helped Aldershot defeat 10-man Barnet in a battle of the League Two strugglers.
Barnet, without player-manager Edgar Davids because of injury, should have been ahead at half-time but Barry Fuller's close-range effort flew wide.
But within four minutes of the restart they were one down - and a man short.
Reid netted from the spot after Sonny Bradley's shot was handled before Jon Nurse was dismissed for a dangerous tackle on Dani Lopez.
An offside flag denied Jake Hyde an equaliser, leaving Barnet third from bottom, just a point above the drop zone.
The Shots' first victory in three matches moves them up to 20th.
VIEW FROM THE DRESSING ROOM
Aldershot Town manager Dean Holdsworth told BBC Surrey:
"A massive three points for us and a real confidence booster. We need another 21 of those.
"We knew they would have spells in the game and we weathered that.
"We want to play as much as we can but the conditions don't always allow that. We had to be patient and got our goal and we deserved it."
Sorry, we were unable to load match stats, please try again.
Live Text Commentary
Full Time The match has reached full-time.90:00 +4:27
Inswinging corner taken by Mark Byrne, David Stephens takes a shot. Save by Jamie Young.90:00 +4:13
Mark Byrne takes a shot. Save made by Jamie Young.90:00 +2:47
Peter Vincenti restarts play with the free kick.90:00 +2:47 Booking
Booking David Stephens booked for unsporting behaviour.90:00 +2:30
Free kick awarded for a foul by David Stephens on Danny Rose.90:00 +1:15
Corner taken by Mark Byrne from the right by-line played to the near post, Close range effort by Jake Hyde goes wide of the right-hand upright.89:36
Shot by Danny Hylton from inside the box hits the post.88:46
Free kick awarded for an unfair challenge on Danny Hylton by Curtis Weston. Danny Hylton takes the free kick.87:49
Inswinging corner taken by Mark Byrne from the left by-line, clearance by Troy Brown.86:33
Short corner worked by Adam Mekki.85:51
Short corner worked by Adam Mekki.85:05
Mark Byrne concedes a free kick for a foul on Danny Rose. Free kick taken by Jamie Young.82:45
Andrew Yiadom has an effort at goal from the edge of the area that misses to the right of the target.81:31 Substitution
Substitution Danny Hylton joins the action as a substitute, replacing Craig Reid.80:59
Michael Hector gives away a free kick for an unfair challenge on Ricky Holmes. Free kick taken by Graham Stack.80:13 Substitution
Substitution Robert Sinclair replaces Kieron Cadogan.78:55
The offside flag is raised against Kieron Cadogan. Free kick taken by Graham Stack.76:27
Jamie Young takes the free kick.76:27 Substitution
Substitution Taiwo Atieno comes on in place of Andy Iro.
Sonny Bradley fouled by Jake Hyde, the ref awards a free kick.75:01 Substitution
Substitution (Barnet) makes a substitution, with Mark Byrne coming on for John Oster.72:19
Peter Vincenti gives away a free kick for an unfair challenge on Andrew Yiadom. Direct free kick taken by Graham Stack.70:55
A cross is delivered by Aaron Morris, David Stephens makes a clearance.69:46
The referee penalises Andrew Yiadom for handball. Jamie Young takes the free kick.69:11
John Oster restarts play with the free kick.69:11 Booking
Booking Peter Vincenti receives a yellow card for unsporting behaviour.69:05
Peter Vincenti challenges Andrew Yiadom unfairly and gives away a free kick.66:50
Corner taken by John Oster, save by Jamie Young.66:22
Free kick crossed right-footed by John Oster.66:22 Booking
Booking Michael Hector booked.66:15
Foul by Michael Hector on Ricky Holmes, free kick awarded.65:32
Jake Hyde takes a shot.64:50
Jake Hyde is caught offside. Jamie Young restarts play with the free kick.61:53
Ricky Holmes challenges Troy Brown unfairly and gives away a free kick. Free kick taken by Jamie Young.59:54 Substitution
Substitution (Aldershot) makes a substitution, with Adam Mekki coming on for Daniel Lopez.58:30
Ricky Holmes takes a shot. Save made by Jamie Young.58:14
Craig Reid takes a shot. Save by Graham Stack.55:42
Andrew Yiadom takes a shot. Jamie Young makes a save.55:09
Outswinging corner taken right-footed by John Oster from the right by-line.54:13
Effort from the edge of the penalty box by Craig Reid goes wide of the right-hand upright.53:17
Corner taken by Kieron Cadogan, Andrew Yiadom makes a clearance.53:00
Kieron Cadogan takes a shot. Save by Graham Stack.51:35
The official flags Jake Hyde offside. Indirect free kick taken by Jamie Young.49:16
The free kick is delivered right-footed by Sonny Bradley from left channel, David Stephens makes a clearance.49:16 Dismissal
Dismissal Jonathan Nurse is shown a red card for serious foul play.48:29
Jonathan Nurse concedes a free kick for a foul on Daniel Lopez.47:29 Goal scored
Goal! - Craig Reid - Barnet 0 - 1 Aldershot Craig Reid scores a placed penalty. Barnet 0-1 Aldershot.46:41
Andy Iro handles the ball and concedes a .46:19
Danny Rose takes a inswinging corner from the right by-line played to the near post.45:01
The referee starts the second half.45:00 +1:03 Half time
Half Time The referee blows for half time.44:17
Craig Reid takes a shot. Save by Graham Stack.44:03
Craig Reid takes a shot. Save made by Graham Stack.42:19
Corner taken by John Oster from the left by-line to the near post.40:07
Michael Hector challenges John Oster unfairly and gives away a free kick. Direct effort from the free kick comes in from John Oster.39:26
Andrew Yiadom fouled by Peter Vincenti, the ref awards a free kick. Free kick taken by David Stephens.39:15
The ball is swung over by Kieron Cadogan, clearance made by David Stephens.38:49
The ball is swung over by Daniel Lopez, David Stephens manages to make a clearance.37:11
Outswinging corner taken by John Oster.36:55
Ricky Holmes takes a shot. Blocked by Anthony Tonkin.36:06
The ball is delivered by Andrew Yiadom, clearance made by Sonny Bradley.35:23
Jordan Brown delivers the ball, Troy Brown manages to make a clearance.32:14
Foul by Jake Hyde on Troy Brown, free kick awarded. Direct free kick taken by Jamie Young.31:20
Free kick awarded for a foul by Peter Vincenti on Andrew Yiadom. Direct free kick taken by Jordan Brown.30:09
Effort from deep inside the area by Barry Fuller misses to the right of the goal.29:53
Jonathan Nurse takes a shot. Save made by Jamie Young.26:08
Jake Hyde takes a shot. Troy Brown gets a block in.22:32
Michael Hector has an effort at goal from outside the box which goes wide left of the goal.21:06
The assistant referee signals for offside against Daniel Lopez. Graham Stack takes the free kick.16:57
John Oster takes a inswinging corner.16:42
Ricky Holmes takes a shot. Jamie Young makes a save.12:52
Michael Hector concedes a free kick for a foul on Barry Fuller. Free kick crossed right-footed by Barry Fuller from right wing, save by Jamie Young.11:07
Michael Hector takes a shot. Andy Iro gets a block in.10:33
The ball is delivered by Craig Reid, clearance made by Andrew Yiadom.9:44
Daniel Lopez is flagged offside by the assistant referee. Indirect free kick taken by Andy Iro.9:07
The ball is crossed by Ricky Holmes, clearance made by Michael Hector.5:08
Free kick awarded for a foul by Danny Rose on Andrew Yiadom. David Stephens takes the free kick.3:30
The referee gives a free kick against Daniel Lopez for handball. Free kick taken by Graham Stack.1:42
Unfair challenge on Anthony Tonkin by Andrew Yiadom results in a free kick. A cross is delivered by Peter Vincenti, Craig Reid takes a shot. Save made by Graham Stack.1:00
Curtis Weston concedes a free kick for a foul on Danny Rose. Troy Brown crosses the ball in from the free kick, Andy Iro manages to make a clearance.0:44
The ball is delivered by Daniel Lopez, David Stephens manages to make a clearance.0:00
The game begins.
Live data and text provided by our data suppliers