An English coaching centre has landed in trouble for publishing an advertisement that allegedly inspired people to become hackers.