A former prime minister has launched a blistering attack on Anthony Albanese over his response to the Bondi Beach terror attack.