Doxxing campaigns have been used to "name and shame" people who have expressed opinions about the Israel-Hamas war.