Spanish authorities charged a team of young hackers with infiltrating more than 20,000 web pages, including one belonging to NASA.