Several beaches in Sydney's eastern suburbs have been targeted overnight by a vandal spraying "Hamas" on shelters and other structures.