If you are using the attackers mindset as a teacher, you've lost the plot.
Leave room for your students to surprise you, even of they are hacking you.