Pauline Hanson has taken aim at the Labor government and mass migration after the Bondi Beach shooting.