PHOENIX — Corbin Carroll and Ildemaro Vargas each hit a three-run homer, Eduardo Rodriguez threw six quality innings and the Arizona Diamondbacks beat the Boston Red Sox 10-5 on Friday night.

The surging D-backs have won seven of their last nine games, including three straight, to stay on the fringe of the National League wild-card race. Arizona improved to 71-71 for the season, climbing back to .500 for the first time since July 20.

Boston has lost two straight and is a half-game behind the New York Yankees for second place in the AL East.

Arizona scored four runs in the eighth off reliever Justin Slaten, turning a tight game into a comfortable win. With two outs, Geraldo Perdomo’s RBI single made it 7-5 and Carroll’s three-run shot to right field made it 10-5.

It was Carroll’s 30th h

See Full Page