Four militants were shot dead and two Indian Air Force personnel were killed in a terror attack on the Pathankot Air Force base in Punjab on Saturday morning.