A 20-year-old hacker’s sweeping campaign exposed hundreds of thousands of records before a dramatic police raid brought his alleged spree to an abrupt halt.