Teaching students to hack offers valuable hands-on experience, cybersecurity benefits