Actually doxing isn’t illegal surprisingly. This depends on where you live and if the information is in public domain. Just sharing an address or the person’s real name is not illegal since that is public domain. This is fine as long as that information was obtained legally. The problem is threatening people with it, that’s the illegal part.