Police gun found in farm attacker’s possession