simple exploit template (inspired by tomcr00se at livectf)