A surfer has been attacked by a shark in the fourth incident along the coast of New South Wales in 48 hours. Meanwhile, beaches have been closed across Sydney.