Domestic violence victims are being told to contact police if they believe they're in danger after a data breach involving NSW court records.