Understanding the behaviour of hackers while performing attack tasks in a professional setting and in a public challenge