Shocking footage has captured the moment a war veteran killed a shirtless gunman after murdering an innocent woman.